I have been following a tutorial but the problem is the tutorial is for c++.net
They say I have to edit the ddraw.def file and add
How would I do it in msvc++?Code:LIBRARY "ddraw"
EXPORTS
DirectDrawCreateEx = NewDirectDrawCreateEx
Printable View
I have been following a tutorial but the problem is the tutorial is for c++.net
They say I have to edit the ddraw.def file and add
How would I do it in msvc++?Code:LIBRARY "ddraw"
EXPORTS
DirectDrawCreateEx = NewDirectDrawCreateEx
Moved to Windows Programming.
The above is valid for Microsoft's C++ compiler and linker, not specific to C++/CLI. In fact, I don't think it would work in /CLI.
You don't have to do that.
Just forget about doing that and import and call NewDirectDrawCreateEx() rather than DirectDrawCreateEx().