C/Visual C - ALGUIEN ME AYUDAN CON ESTE CODIGO?

 
Vista:

ALGUIEN ME AYUDAN CON ESTE CODIGO?

Publicado por mauricio_e (1 intervención) el 18/09/2001 09:15:22
HOLA, NO SE CASI NADA DE C++, SOLO SE QUE BAJE ESTE CODIGO FUENTE DE LA PAGINA DE WINAMP.COM Y AL MOMENTO DE GENERAR EL .DLL ME MARCA UN ERROR DE VOID, Y REITERO NO SE NADA DE VISUAL C++, ESPERO ME PUEDAN AYUDAR, AQUI ESTA EL CODIGO

#include <windows.h>

#include <vis.h>

char szAppName[] = "SimpleVis"; // Our window class, etc

// configuration declarations
int config_x=50, config_y=50; // screen X position and Y position, repsectively
void config_read(struct winampVisModule *this_mod); // reads the configuration
void config_write(struct winampVisModule *this_mod); // writes the configuration
void config_getinifn(struct winampVisModule *this_mod, char *ini_file); // makes the .ini file filename

// returns a winampVisModule when requested. Used in hdr, below
winampVisModule *getModule(int which);

// "member" functions
void config(struct winampVisModule *this_mod); // configuration dialog
int init(struct winampVisModule *this_mod); // initialization for module
int render1(struct winampVisModule *this_mod); // rendering for module 1
int render2(struct winampVisModule *this_mod); // rendering for module 2
int render3(struct winampVisModule *this_mod); // rendering for module 3
void quit(struct winampVisModule *this_mod); // deinitialization for module

// our window procedure
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
HWND hMainWnd; // main window handle

// Double buffering data
HDC memDC; // memory device context %
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder