0
0

Hi everybody!!!

I’ve developed a free music player based on the fmod libs, available here:
http://www.mataderu.com/xphere/info/pomod.htm

The app, has been done using VS2003 and .NET framework 1.0… now I want to develop the v.2.0 of the program (pomod 2.0), and I’ll be using the new Visual Studio (VS2005) and the Compact Framework 2.0… but, nothing seems to work :(

Everytime I make a DLLImport call, the debugger alerts me, saying that fmodce.dll could not be found on my device, but I’m sure that it is in the right place, because I’ve included fmodce.dll in the project, and I’ve programmed that the app checks first if the dll is in the right place.

I’ve searched on this forum, and followed exactly the same steps than:
http://52.88.2.202/forum/viewtopic.php?p=23196&
But with not good results: every call to DLLImport throws me an exception, saying that fmodce.dll could not be found.

I’m stucked on this for about 3 days, without finding a solution.

The most strange of all is that old version of my program (using VS2003 and .NET1.0) works fine, the problem seems to appear with VS2005 and .NET2.0.

any help please??? ๐Ÿ˜€

  • You must to post comments
0
0

In the link I posted before, ‘nibbana’ says:

[quote:2r0sncv3]However do not use the pocketpc emulator that comes with vs2005,
because it won’t allow you to place fmodce.dll into emulatoren when compilling/debugging. Hence the app. won’t be able to find the fmodce.dll.
So use a real pocketpc to try this out. The next thing is important; the choice of fmodce.dll. There are plenty of them in the sdk 3.75, please choose the corresponding one. I personally used the one found in: \api\wce4\armv4 and I got a HP hx4700. [/quote:2r0sncv3]

but anyone could check that?? it’s hard to believe that one thing that worked fine in VS2003 with .NET1.0, simply stops working on VS2005 with .NET2.0!!

  • You must to post comments
0
0

After searching a lot, seems that there is no way to do it… I’ve tried things like this:

[code:3kahfxir]
[DllImport("coredll.dll")]
public static extern IntPtr LoadLibrary(string fileName);

    [DllImport("coredll.dll")]
    public static extern IntPtr GetModuleHandle(string ModuleName); 

[/code:3kahfxir]

[code:3kahfxir]
//Check whether the lib is loaded
IntPtr hModule = GetModuleHandle(path + "\fmodce.dll");

        if (hModule == IntPtr.Zero)
        {
            //load this DLL
            hModule = LoadLibrary(path + "\\fmodce.dll");
            if (hModule == IntPtr.Zero)
            {
                //Write to log
            }
        }

[/code:3kahfxir]

with no results…. :(

seem that fmodce support ends at Visual Studio 2k3 and .Net1.0 :(

:””””'(

  • You must to post comments
0
0

OH MY GOD!!!

I FEEL REALLY STUPID!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

SOLUTION: Not to use x86emu_fmodce.dll, instead of that, you MUST use arm_fmodce.dll !!!!!!!!!!!!!!!!!!!!!!!!

If you use arm version of fmodce.dll all seems to work!!!! I’ve not played anyhing, but at least does not crash with an exception!!!

newbie newbie newbie!!! I feel really newbie!!! :)

…. but at least I don’t neet to get back to VS2k3! ๐Ÿ˜€

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.