[.NET] SMILE.NET compatible with .net compact framework?

The engine.
Post Reply
klkim
Posts: 6
Joined: Fri May 02, 2008 3:28 pm

[.NET] SMILE.NET compatible with .net compact framework?

Post by klkim »

SMILE.NET is a wrapper class used in .net framework, I think. Is it possible to use SMILE.NET in ".net compact framework"?

I have tested smilenet.dll in Windows Mobile 6 Professional Emulator via VS2005, and there was a "MissingMethodException". How can I use the library in .net compact framwork (that is Windows Mobile 5.0 or 6 in managed fashion just like using C#)? Re-compile and re-build from the scratch is necessary? Is this job a harder one than using native C++, pocketSMILE headerfiles and smile.lib?

Thanks in advance.
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: [.NET] SMILE.NET compatible with .net compact framework?

Post by shooltz[BayesFusion] »

klkim wrote:SMILE.NET is a wrapper class used in .net framework, I think. Is it possible to use SMILE.NET in ".net compact framework"?/quote]

No, because SMILE.NET contains native x86 code calling directly into Win32 API.
How can I use the library in .net compact framwork (that is Windows Mobile 5.0 or 6 in managed fashion just like using C#)? Re-compile and re-build from the scratch is necessary?
I don't think you can just rebuild Smile.NET for the compact framework. I guess your best shot is to build native DLL with PocketSMILE exposing
high level functionality specific to your project, then use P/Invoke.
Post Reply