Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

PInvoke DLL in WinCE cannot find FmodCE.dll

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-05-2010, 09:57 AM
Senior Member
 
Join Date: Dec 2009
Posts: 139
Default PInvoke DLL in WinCE cannot find FmodCE.dll

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.
Reply With Quote
  #2 (permalink)  
Old 01-05-2010, 10:41 AM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by tsdt View Post
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.basic4ppc.com/forum/share...html#post30578)

Mike.
Reply With Quote
  #3 (permalink)  
Old 01-05-2010, 10:45 AM
Senior Member
 
Join Date: Dec 2009
Posts: 139
Default

Quote:
Originally Posted by mjcoon View Post
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.basic4ppc.com/forum/share...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.
Reply With Quote
  #4 (permalink)  
Old 01-05-2010, 10:52 AM
Senior Member
 
Join Date: Dec 2009
Posts: 139
Default

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.
Reply With Quote
  #5 (permalink)  
Old 01-05-2010, 11:36 AM
Senior Member
 
Join Date: Dec 2009
Posts: 139
Default

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......
Reply With Quote
  #6 (permalink)  
Old 01-05-2010, 06:45 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

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/releas...odapi375ce.zip and copy it to the same folder.

The program displays the DLL version which should be 1.51 or 1.5.
Attached Files
File Type: zip FMOD.zip (18.2 KB, 39 views)
Reply With Quote
  #7 (permalink)  
Old 01-05-2010, 11:57 PM
Senior Member
 
Join Date: Dec 2009
Posts: 139
Default

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??
Reply With Quote
  #8 (permalink)  
Old 01-06-2010, 12:35 AM
Senior Member
 
Join Date: Dec 2009
Posts: 139
Default

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.
Reply With Quote
  #9 (permalink)  
Old 01-06-2010, 01:16 AM
Senior Member
 
Join Date: Dec 2009
Posts: 139
Default

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.
Reply With Quote
  #10 (permalink)  
Old 01-06-2010, 02:24 AM
Senior Member
 
Join Date: Dec 2009
Posts: 139
Default

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

Thanks.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PInvoke with fmode for device bluedude Questions (Windows Mobile) 7 01-06-2010 02:22 AM
Calling WinCE cpl or dll tsdt Questions (Windows Mobile) 1 12-24-2009 08:57 AM
B4PPC for WinCE? tksaha Questions (Windows Mobile) 8 05-07-2009 11:47 AM
Error Message for fmodce.dll twfx Questions (Windows Mobile) 6 03-24-2009 09:11 PM
Generate exe for WinCE.Net 4.2 and 5 gs4322 Questions (Windows Mobile) 5 12-13-2007 01:33 PM


All times are GMT. The time now is 10:41 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0