Visual C++ Code:
  1. HMODULE hModule = LoadLibrary("fmod.dll");
  2.  
  3. typedef struct FSOUND_STREAM    FSOUND_STREAM;
  4.  
  5. typedef FSOUND_STREAM (__stdcall *FSOUND_Stream_OpenA)(const char *name_or_data,unsigned int mode,int offset,int length);
  6. static FSOUND_Stream_OpenA Call_FSOUND_Stream_Open;
  7.  
  8. Call_FSOUND_Stream_Open = (FSOUND_Stream_OpenA)(GetProcAddress(hModule, "_FSOUND_Stream_Open@16"));
  9. Call_FSOUND_Stream_Open(NULL, mode, offset,length);

lỗi :

Visual C++ Code:
  1. error C2027: use of undefined type 'FSOUND_STREAM'

Các anh giúp em lỗi này >.<