views:

234

answers:

4

Hi,

i have small query, is there any modification is required in usage of Desktop c# application DLL in windows mobile?. i am getting problem like File or assembly name 'Interop.CDO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null', or one of its dependencies, was not found.. i have source code of desktop DLL, i don't no what assembly modification i need to do in order to work with mobile.please let me solution..

Thanks in advance Grabit

A: 

The error message you're getting suggests the DLL isnt present.

If you get past that hurdle, you're still not liley to be home and hosed - CDO is a related to Outlook/Exchange, so isnt very likely to just transparently work.

Ruben Bartelink
+1  A: 

Compile the source code as a mobile dll file.

You can use mobile dll files on the desktop, when it has the compact framework installed. (see comment from ctacke for why)

EKS
The desktop doesn't need the CF installed to consume a CF assembly. CF assemblies are retargetable and run under the full framework.
ctacke
Thank you ctacke.
EKS
A: 

Can you verify that Interop.CDO is available on your mobile platform? Or that it is compatible with the mobile environment

Ngu Soon Hui
i searched but i am not having hopes that Interop.CDO is supported for windows mobile.. is there any alternatives for this namespace?
Shadow
If it's not supported, then you should rewrite your code so that it doesn't depends on this piece of functionalities.
Ngu Soon Hui
A: 

You can't use CDO on a mobile device. The "goo" underneath just isn't there so even if you somehow got that recompiled for the device (which I doubt you can do anyway) it still would do you no good. How about telling us what problem you're trying to solve rather than how you've already decided (erroneously) to solve it.

ctacke
Hey, the problem is... i have to download the entire web-page(Images,style sheets,scripts) in windows mobile..But i know one technique that is get the HTML and parse and download each link.its time consuming and implementation is complicated..instead i am searching for some libraries or interfaces which helps in download the entire page as archive.. so it will be easy i feel so. CDO one i saw,using this entire webapeg can be archived in .Mht format.But in mobile its not supported :-(...
Shadow