S
sam
I'm trying to better understand the relationship between unmanaged dlls
and accessing them from a managed language such as vb.net....
1-As I understand it, a DLL created in C++ as a win32 dll can be
accessed via a managed language as long as you export the functions and
use declare-type statements in the vb.net code and marshall the
passed/returned variables.
2-A DLL created in C++ as a MFC DLL seems to be similiar in those regards.
3-A DLL created in C++ as a CLR DLL doesn't need the functions
explicitly exported, and a managed language can access the functions in
the DLL without having to deal with Declare statements. Marshalling may
be required depending on the variables passed/returned.
Is this an accurate assessment?
and accessing them from a managed language such as vb.net....
1-As I understand it, a DLL created in C++ as a win32 dll can be
accessed via a managed language as long as you export the functions and
use declare-type statements in the vb.net code and marshall the
passed/returned variables.
2-A DLL created in C++ as a MFC DLL seems to be similiar in those regards.
3-A DLL created in C++ as a CLR DLL doesn't need the functions
explicitly exported, and a managed language can access the functions in
the DLL without having to deal with Declare statements. Marshalling may
be required depending on the variables passed/returned.
Is this an accurate assessment?