You're right; DLL you're using in CF needs to be compiled for CF. You can't
use desktop libraries with CF.
No workarounds unless you have the source code to recompile against CF
By the way, are you aware of Microsoft's own Mobile CRM application which
works with MS CRM?
http://www.microsoft.com/downloads/d...396-39C4-40BE-
8AFD-34C939CA607B&displaylang=en
Perhaps, you don't need to develop anything...
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
> Thread-Topic: CRM Web Service on Pocket PC???
> thread-index: AcTnnNQrflXXyeVJSPuxgNISCY2DVA==
> X-WBNR-Posting-Host: 216.185.33.22
> From: "=?Utf-8?B?VEo=?=" <(E-Mail Removed)>
> Subject: CRM Web Service on Pocket PC???
> Date: Tue, 21 Dec 2004 12:37:03 -0800
> Lines: 59
> Message-ID: <F83B5C13-7B7C-4053-9ACB-(E-Mail Removed)>
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="Utf-8"
> Content-Transfer-Encoding: 7bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Content-Class: urn:content-classes:message
> Importance: normal
> Priority: normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> Newsgroups: microsoft.public.dotnet.framework.compactframework
> NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
> Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.compactframework:67360
> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
>
> Hi,
>
> I am trying to develop a cutomized application for Pocket PC.
> I would like to use web service of MS CRM in the application.
>
> Here is what I did.
>
> In Visual Studio .NET,
>
> 1. Create Smart Device Application Project.
>
> To use web service,
> 2. I added Microsoft.Crm.Platform.Proxy and
> Microsoft.Crm.Platform.Types in the References folders.
>
> 3. added 'using Microsoft.Crm.Platform.Proxy' in the source code;
>
> 4.
>
> void GetCRM(String urlCRM) {
> BizUser objBizUser = new BizUser();
> objBizUser.Credentials = new
NetworkCredential("ID","PASSWORD","MYDOMAIN");
> objBizUser.Url = urlCRM + "BizUser.srf";
>
> CRMContact contact = new CRMContact();
> contact.Credentials = objBizUser.Credentials;
> contact.Url = urlCRM + "CRMContact.srf";
>
>
> CUserAuth userAuth = objBizUser.WhoAmI();
> ...
> ...
> }
>
> When I tested this application on the POCKET PC 2003 emulator,
> it copied two dll files to emulator
> (
> .....
> Copying Microsoft.Crm.Platform.Types.dll
> Copying Microsoft.Crm.Platform.Proxy.dll
> .....
> )
> , however, error message
> was generated , "A managed TypeLoadException Occured at my GetCRM
function....
>
> How do I solve this issue?
> I guess two dlls(Microsoft.Crm.Platform.Types.dll and
> Microsoft.Crm.Platform.Proxy.dll)
> are only supported by PC development environmen, NOT Pocket PC
envrionmnet....
> Is there any such dll binary files for Pocket PC out there so that I can
use
> in Pocket
> PC customized application development environment?...
> Since I don't have any source file for the dll, how do I recomplie them
for
> Pocket PC platform?
> Any workaround for this issue?
>
> Thank you very much in advance...
>
> ................................................TJ
>