|
-
Jan 13th, 2006, 07:32 AM
#1
Thread Starter
New Member
Calling MFC DLL from VB.NET
Hi,
I'm calling an MFC DLL, which show a dialog box, from VB.NET. The application crashed when the DLL try to create the dialog box. If the creation of the dialog is skipped there is no problem using the DLL. Is it possible to call an MFC C++ DLL from VB.NET ?
Code in the DLL:
CZModemDlg* aDlg;
aDlg = new CZModemDlg();
aDlg->Create(IDD_ZMODEM_DGL); <--------Crashed here !
aDlg->ShowWindow(1);
Brgds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|