Regarding, Using Com DLL in WindowsCE Device Applications

K

Kiran

hi,
I am new to mobile applications(windowsCE Device Application C#). I added a
com dll as reference.when i run the application it gives an error message
like ...
"COM object with CLSID '{21723099-8833-4F74-94F4-BEC4B158CFBB}' cannot be
created due to the following error: Class not registered ."

But the same Com DLL is working fine in .net windows application.The only
problem with WindowsCE Device application.
Is my approach is correct to use COM DLL in WindowsCE Applications?. Or Is
there another way to register com DLL to use in windowsCE device application.
Please help me .

Regards
Kiran
 
P

Peter Foot

You can't use desktop COM components in device projects - COM dlls for
Windows CE must be built for Windows CE and the specific processor
architecture of your device.

Peter
 
K

Kiran

thank you for your quick reply.

we don`t have the source code for the DLL.So do you know any other way to
resolve the problem.
Is there any 3rd party tool available to convert the dll to work with
windows CE

Thanks & Regards
kiran
 
C

Chris Tacke, eMVP

It's impossible to do. The DLL was compiled for a different OS and
processor. Without source code there's no way to make it useful in CE.
Even with source it could take a lot of work to port it.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
E

Eric Chan

I have the same problem as Kiren, the exception still here after i
resigstered the Com dll in the windows mobile emulator. Can you give me some
help

Thank you in advance


Eric Chan
 
C

Chris Tacke, eMVP

So you've registered the control, but you're getting a class not registered
exception? One of those two is either not true or you've registered it with
a GUID other than what you're attempting to create it with.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top