Can I use a Visual C++ DLL in Basic4ppc?

cyclotis04

New Member
I have a .dll written in Visual C++, which I need to use in my application. I do not have access to the source code. When I try to import the .dll into Basic4ppc, however, I get an error stating "Unable to load one or more of the requested types."

Is there anyway to import the library successfully? I have access to Visual Studio 2003 Standard and Visual Studio 2010 Professional. Thank you.
 

Cableguy

Expert
Licensed User
Longtime User
NO, You can however ceate a c# dll tha uses the import statement in order to tap into the c++ dll...
 

cyclotis04

New Member
This would require Visual Studio 2003, 2005, or 2008 professional, correct? If so, I might as well use that for development, instead of Basic4ppc...
 

agraham

Expert
Licensed User
Longtime User
I don't think VS 2003 Standard supports mobile devices but the Professional version should be able to compile a wrapper library for your C++ dll but it will be a .Net 1.0 or 1.1 assembly (not sure which as I never used VS 2003) but will be usable by Basic4ppc.

Either VS 2005 Standard Edition or VS 2008 Professional Edition will compile for devices and both produce .Net 2.0 assemblies.

None of the VS 2010 editions will compile for Windows Mobile devices but you can produce desktop only libraries that will work with Basic4ppc.
 
Top