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
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.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
You don't have to do that.
Just forget about doing that and import and call NewDirectDrawCreateEx() rather than DirectDrawCreateEx().