PInvoke DLL in WinCE cannot find FmodCE.dll

tsdt

Active Member
Licensed User
Hello,

I have encountered this kind of problem in WinCE device. I have created an executable with my program and attached the FmodCE.dll with the executable. However, when I run the application in WinCE, it gives an error can't find PInvoke DLL "fmodce.dll".

I am desperate for help. Thanks

Another question, I noticed that fmodce.dll is for WinCE. Can I use this in
Win Mobile too??

Please help.. This is critical.

Thanks. :sign0085: :sign0085:
 

mjcoon

Well-Known Member
Licensed User
I have created an executable with my program and attached the FmodCE.dll with the executable. However, when I run the application in WinCE, it gives an error can't find PInvoke DLL "fmodce.dll".

Another question, I noticed that fmodce.dll is for WinCE. Can I use this in
Win Mobile too??

Have you put FModDevice.dll on the device too? Note that the "Components" are different in this case for device and desktop.

Second question: I can only report that I am using FMOD with WM5.0 (see http://www.b4x.com/forum/share-your-creations/5221-music-player-play-list.html#post30578)

Mike.
 

tsdt

Active Member
Licensed User
Have you put FModDevice.dll on the device too? Note that the "Components" are different in this case for device and desktop.

Second question: I can only report that I am using FMOD with WM5.0 (see http://www.b4x.com/forum/share-your-creations/5221-music-player-play-list.html#post30578)

Mike.

Thanks for your prompt reply Mike,

Yes.. I have included the FModDevice.dll on the device too. But, still cannot work.

Is it FMOD.dll or FModce.dll for WM5.0??? I got an error while running it on WM.

When I was running on the desktop, everything is fine. :BangHead:
 

tsdt

Active Member
Licensed User
Hi Mike,

I have included the Fmodce.dll, FmodDevice.dll, and my executable file in the distribution package. However, when I was running in WinCE or WinMobile, I got error. Strange things is that the error messages are different for both.

When you mention you are using Fmod in WM, do you mean the Fmod.dll instead of Fmodce.dll?? If so, does it mean that I need to include both Fmod.dll and Fmodce.dll in my package for delivery too?? Please advise..

Thanks.
 

tsdt

Active Member
Licensed User
Hi Mike or Agraham or Erel,

I am a bit confused now. The FModDevice.dll that is in the library now, is it the latest version or should I replace it with the one that Erel was suggesting??

How do I confirm what the version of the fmod library is??

Please advise.

If you dont know what I was talking about, please refer to the same question posted by bluedude. However, the forum didnt end with any solution. However, when I was tracing to what Erel was suggesting of updating the library, I was a bit hesitant about whether the current fmodDesktop.dll is the latest or should I replace with the one Erel was suggesting.

My desktop is working but not on the device, how can this affect the device?

Please support......:sign0085: :sign0085:
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
You should the libraries that came with Basic4ppc as these are newer.
I've created a small example program that let you choose a MP3 file to play.

Please copy all files to your device. Also download fmodce.dll from this link:
http://www.fmod.org/index.php/release/version/fmodapi375ce.zip and copy it to the same folder.

The program displays the DLL version which should be 1.51 or 1.5.
 

Attachments

  • FMOD.zip
    18.2 KB · Views: 300

tsdt

Active Member
Licensed User
Erel,

do you mean I should replace it with the one you posted back in 2008, or the basic4ppc lastest fmod library has already included your changes back in 2008??
 

tsdt

Active Member
Licensed User
Thank Erel,

To answer to my own question, I will check using your program first the version.. Should it is higher or same, then, I dont need to replace it. Or else, I will replace it.

Thanks.
 

tsdt

Active Member
Licensed User
Hi Erel,

The DLL version on the Desktop is 1.51 and the DLL version on the Device is 1.5. That means I dont need to replace the library with yours version you proposed back in 2008 forum right?

Regards.
 

tsdt

Active Member
Licensed User
I have replaced the fmodce.dll with the one Erel is proposing. Please refer to the other similar thread for solutions.

Thanks.
 
Top