ONE DLL for both CompactFramework & FullFramework

S

Sal

Is it possible to create one DLL that will work for both a Pocket PC
App and a regular Windows App? How would I go about doing this?

I wish to create the DLL in either Visual C++ 6.0 or Embedded Visual
C++ 4.0 and use the same DLL in two Visual Studio 2003 Apps (one for
Windows and one for Pocket PC).

Thanks,

Sal
 
I

Ilya Tumanov [MS]

Yes, it is possible. This DLL needs to be managed and created in either C#
or VB.Net with VS 2003 or VS 2005.

If you'd like to use native DLL (which are created with VS 6/eVC 4), you
would need two different DLLs, one for device, one for desktop.

You might be able to share sources for both to some degree.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
S

Sal

Thanks,

I actually found an article that explains source code sharing.

http://www.danielmoth.com/Blog/2004/09/share-code-if-fullframe_17.html

As long as I can edit one set of source file(s) for both then I'm
happy, which it looks like source code sharing will allow for... at
least I have a solution for now. I'm using native Windows API
functions so I'd prefer make the DLL in VS6/eVC for now, so I don't
have to bother with messy P/Invokes.

Thanks,

Sal
 

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