Also ich hab noch gar nich mit der TriBase gearbeitet, deswegen bin ich da noch n bisschen unsicher... ich hab ne MFC App erstellt, die mein MapEditor werden soll. Wenn ich jetzt die TriBase.h in der StdAfx.h einbinde, kommen direkt folgende Fehler:
c:\dxsdk\include\dsound.h(230) : error C2143: syntax error : missing ';' before '*'
c:\dxsdk\include\dsound.h(230) : error C2501: 'LPCWAVEFORMATEX' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(349) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\dxsdk\include\dsound.h(349) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(349) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(365) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\dxsdk\include\dsound.h(365) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(365) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(416) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\dxsdk\include\dsound.h(416) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(416) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(425) : error C2146: syntax error : missing ';' before identifier 'lpwfxFormat'
c:\dxsdk\include\dsound.h(425) : error C2501: 'LPWAVEFORMATEX' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(425) : error C2501: 'lpwfxFormat' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(686) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
c:\dxsdk\include\dsound.h(696) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
c:\dxsdk\include\dsound.h(770) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
c:\dxsdk\include\dsound.h(780) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
c:\dxsdk\include\dsound.h(1041) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
c:\dxsdk\include\dsound.h(1099) : error C2061: syntax error : identifier 'LPWAVEFORMATEX'
e:\umgebungen\microsoft visual studio\vc98\include\mmsystem.h(72
: error C2373: 'WAVEFORMATEX' : redefinition; different type modifiers
c:\dxsdk\include\dsound.h(230) : see declaration of 'WAVEFORMATEX'
e:\umgebungen\microsoft visual studio\vc98\include\mmsystem.h(729) : error C2378: 'LPCWAVEFORMATEX' : redefinition; symbol cannot be overloaded with a typedef
c:\dxsdk\include\dsound.h(230) : see declaration of 'LPCWAVEFORMATEX'
e:\umgebungen\microsoft visual studio\vc98\include\mmsystem.h(774) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
e:\umgebungen\microsoft visual studio\vc98\include\mmsystem.h(830) : error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
Error executing cl.exe.
Wenn ich Tribase.h in der Mainfrm.cpp einbinde, von der aus tbInit aufgerufen werden soll kommen diese Fehler nicht, aber dann wird KOMISCHER WEISE die tbInit nicht erkannt...
Hilfe bitte :crying: