Du bist nicht angemeldet.

Stilllegung des Forums
Das Forum wurde am 05.06.2023 nach über 20 Jahren stillgelegt (weitere Informationen und ein kleiner Rückblick).
Registrierungen, Anmeldungen und Postings sind nicht mehr möglich. Öffentliche Inhalte sind weiterhin zugänglich.
Das Team von spieleprogrammierer.de bedankt sich bei der Community für die vielen schönen Jahre.
Wenn du eine deutschsprachige Spieleentwickler-Community suchst, schau doch mal im Discord und auf ZFX vorbei!

Werbeanzeige

Anonymous

unregistriert

1

24.05.2004, 00:25

TriBase in MFC Applikation einbinden?¿

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(728) : 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:

Anonymous

unregistriert

2

24.05.2004, 09:11

Re: TriBase in MFC Applikation einbinden?¿