Windows Mobile dll for a standard .NET projects -


Quick question (I hope), how do I include the window 6 class library DLL in a standard Net project? I just have to add a reference through VS in earlier versions of Windows Mobile projects, but not with version 6. What should I read from this, it should be possible unless CE specific libraries have been used.

Any help appreciated

Thanks, Chris

EDIT:

I did not find what I did the following:

1) Create new Windows Mobile 6 Class Library (CF .NET DLL)

2) Create a new standard class library (Standard .NET DLL)

3) Try to include mobile 6 GB in standard 6

Here I am getting:

"No reference can be added for this."

If it is a CF.NET DLL you can add it as a reference (any Version is not). If this is a basic code library, then you can not do this You need to create a NAT cover around this DLL (using P / invoke) and add this dll to your project. You need to be careful that the native DLL is present on the runtime.


Comments