Re: Regarding, Using Com DLL in WindowsCE Device Applications



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

"Eric Chan" <Eric Chan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E53EB886-8AD4-4292-919A-6C6B29E1F0E9@xxxxxxxxxxxxxxxx
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

"Chris Tacke, eMVP" wrote:

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

"Kiran" <Kiran@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1E3A23A3-4EF6-4A1F-9D80-CBDAD681CD99@xxxxxxxxxxxxxxxx
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


"Peter Foot" wrote:

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

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"Kiran" <Kiran@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:10362DEF-B97A-44DB-9427-41315F34092F@xxxxxxxxxxxxxxxx
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






.



Relevant Pages

  • Re: ASP.Net newbie
    ... This was precisely the direction I needed to get off the ground Chris. ... The dll was NOT registered. ... > You will need to register the aspnet_isapi dll in IIS before you can ... >>some more use out of the tools besides just developing Windows Forms ...
    (microsoft.public.dotnet.framework.aspnet)
  • Cannot open user file but can in safe mode
    ... I am running windows xp home edition sp2 along with IE 7 and have downloaded ... dll would not register and that dll was mshtml.dll. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: admin rights to specific files
    ... You use the Regsvr32 tool to register and unregister object ... ..dll files as command components in the registry. ... Get IT Done Reregister DLLs in the Windows Registry with Regsvr32 ...
    (microsoft.public.windowsxp.general)
  • Re: Script Error 1184
    ... Try rebooting and then logging on as Admin and see if you can register the dll then. ... which means access is denied Will it work when i switch users to administrator? ... network (Windows 2000 domain - Windows XP Clients) has started coming up ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: C++ ATL COM DLL used in CF C#
    ... Chris Tacke, Embedded MVP ... register the ATL dll during installation from a cab file?. ...
    (microsoft.public.pocketpc.developer)