S
Sam Riggens
I am experimenting with C# and trying to use an unmanaged C++ dll.
The UMC++ dll has a function defined as follows:
extern "C" bool DllExport ShowLogonDlg(CWnd *pParent, CConfig& cfg);
The function pops up a logon dialog and populates data in the cfg
class.
I have been able to call functions like this using the [DllImport...]
but how can I pass a CWnd* or equvalent (Form.this.Handle?)?
Thanks!
JT
The UMC++ dll has a function defined as follows:
extern "C" bool DllExport ShowLogonDlg(CWnd *pParent, CConfig& cfg);
The function pops up a logon dialog and populates data in the cfg
class.
I have been able to call functions like this using the [DllImport...]
but how can I pass a CWnd* or equvalent (Form.this.Handle?)?
Thanks!
JT