N
Norbert Unterberg
I have successfully created a native PocketPC C++ DLL and a C# wrapper class to
use the DLL from managed .NET code. It all works fine now.
Now I wonder if there is any way to pack the two components together into one
DLL file that can be used like a standard .NET assembly and can be referenced by
any .NET project. It would simplify deployment if there were no need to take
care of an additional native DLL file.
Is it possible to create a single "mixed mode" DLL that acts like a C# assembly
and also contains the native code that is called via Platform Invoke using
[DllImport("nativelib.dll")]?
Thank you
Norbert
use the DLL from managed .NET code. It all works fine now.
Now I wonder if there is any way to pack the two components together into one
DLL file that can be used like a standard .NET assembly and can be referenced by
any .NET project. It would simplify deployment if there were no need to take
care of an additional native DLL file.
Is it possible to create a single "mixed mode" DLL that acts like a C# assembly
and also contains the native code that is called via Platform Invoke using
[DllImport("nativelib.dll")]?
Thank you
Norbert