I am developing like all the others out there an engine. I have switched form lib to a dll and now i cant get Fmod to run.
I want, that Fmod is included in the Dll or that vc++ compiles the lib file in my dll so i dont need to use fmoddny!
Is there a way to do this?
- Austrian Coder asked 14 years ago
What he means is that he’s making a game engine that uses FMOD… say his engine is called engine.dll and it internally uses FMOD. The engine.dll project would be linked with fmodvc.lib, but his app project wouldn’t, since engine.dll accesses FMOD by itself.
Link your engine to fmodvc.lib, and your app to engine.lib. Your app only needs to access the engine’s functions, since the engine already knows how to use FMOD.
So.. i have tryed to link fmodvc.lib against engine.dll and link example.exe against engine.lib, but i get unresolved errors
So i have wirtten a very bad and easy sounddll to demonstrate my problem.
You can download the source here:
[url=http://www.visual-page.de/SoundDll.zip:10ltq1bo]My example dll[/url:10ltq1bo]
It would be very cool, if someone can find my (logical) error and can show me the correct way.
Greets and thanks,
Please login first to submit.