0
0

Hi!

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

  • You must to post comments
0
0

If you mean static-linking FMOD into your DLL project so you don’t need to distribute fmod.dll, you’ll have to buy a license. The freeware license doesn’t allow static-linking.

  • You must to post comments
0
0

Then i need to compile a demo/game/… with my dll also the fmodvc.lib which must be linked against the exe?

Because i cant get it running. Maybe i will upload a test source, only if somebody will check where my error is.

  • You must to post comments
0
0

[b:2g4h2256]@Brett[/b:2g4h2256]
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.

[b:2g4h2256]@Austrian Coder[/b:2g4h2256]
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.

  • You must to post comments
0
0

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,
Austrian Coder

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.