Click here to Skip to main content
16,003,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: messagebox problem Pin
Nish Nishant2-Dec-04 19:27
sitebuilderNish Nishant2-Dec-04 19:27 
GeneralRe: messagebox problem Pin
tiziacaia3-Dec-04 5:45
tiziacaia3-Dec-04 5:45 
GeneralRe: messagebox problem Pin
V.2-Dec-04 23:15
professionalV.2-Dec-04 23:15 
AnswerRe: How much overhead does std::vector have? Pin
John R. Shaw2-Dec-04 18:30
John R. Shaw2-Dec-04 18:30 
AnswerRe: How much overhead does std::vector have? Pin
Tim Smith3-Dec-04 4:31
Tim Smith3-Dec-04 4:31 
GeneralRe: How much overhead does std::vector have? Pin
Robert Buldoc3-Dec-04 6:55
Robert Buldoc3-Dec-04 6:55 
QuestionMaking my own OpenGL, what to do about wgl* entrypoints? Pin
maxmaven2-Dec-04 18:23
maxmaven2-Dec-04 18:23 
GeneralPlease help immediately!! Pin
angello62-Dec-04 18:03
angello62-Dec-04 18:03 
:(Hi All!

I am getting debug assertion error exactly at the fourth time i open Webbrowser Control, consistently, everytime. CAN ANYONE HELP?
Any help on this regards will be appreciated !Sigh | :sigh:

I have two components, one is a MFC Application and the other is a Dll. I have a Webbrowser control in the dll, that is accessed by the MFC App. The following code calls the Webbrowsercontrol, which is in the dll, by the foll code:

"CWebDialog* wb;
wb = new CWebDialog();
wb->DoModal(); "

This code calls the Webbrowser control cpp, in the dll, whose Initdialog has the foll:
BOOL CWebDialog::OnInitDialog()
{
USES_CONVERSION;
CoInitialize(NULL);
try
{
hf_WriteLog("ONINITDLGWEB");
COleVariant vaURL(m_strURL);
((CWebBrowser2*)GetDlgItem(IDC_EXPLORER1))->Navigate2(vaURL, NULL, NULL, NULL, NULL);
hf_WriteLog("NAVIGATED");
VariantClear(&vaURL);
CoUninitialize();
CDialog::OnInitDialog();
}

This throws an exception, every fourth time. Is that a problem with the memory allocation of the dll.. or anything, someone could help????????
Cry | :((

Regards
angello6

Regds
Angello
GeneralRe: Please help immediately!! Pin
John R. Shaw2-Dec-04 18:50
John R. Shaw2-Dec-04 18:50 
GeneralRe: Please help immediately!! Pin
david_gilmour2-Dec-04 21:29
david_gilmour2-Dec-04 21:29 
GeneralRe: Please help immediately!! Pin
Jon Hulatt3-Dec-04 2:22
Jon Hulatt3-Dec-04 2:22 
GeneralRe: Please help immediately!! Pin
John R. Shaw4-Dec-04 9:17
John R. Shaw4-Dec-04 9:17 
GeneralRe: Please help immediately!! Pin
Jon Hulatt3-Dec-04 2:24
Jon Hulatt3-Dec-04 2:24 
QuestionHow to compare two files quickly? Pin
Jelfy2-Dec-04 17:53
Jelfy2-Dec-04 17:53 
AnswerRe: How to compare two files quickly? Pin
Member 3076122-Dec-04 19:27
Member 3076122-Dec-04 19:27 
AnswerRe: How to compare two files quickly? Pin
Henry miller3-Dec-04 3:33
Henry miller3-Dec-04 3:33 
GeneralRe: How to compare two files quickly? Pin
Harold Bamford3-Dec-04 5:40
Harold Bamford3-Dec-04 5:40 
AnswerRe: How to compare two files quickly? Pin
Antony M Kancidrowski3-Dec-04 5:39
Antony M Kancidrowski3-Dec-04 5:39 
QuestionHow to add Check Boxes to every Column data using C++ to a List Control? Pin
pubududilena2-Dec-04 17:50
pubududilena2-Dec-04 17:50 
AnswerRe: How to add Check Boxes to every Column data using C++ to a List Control? Pin
David Crow3-Dec-04 2:25
David Crow3-Dec-04 2:25 
QuestionWindows MIDI driver(usb).....can anyone tell me functions that handle this? Pin
namaskaaram2-Dec-04 17:35
namaskaaram2-Dec-04 17:35 
QuestionHow much overhead does std::vector have? Pin
Robert Buldoc2-Dec-04 16:53
Robert Buldoc2-Dec-04 16:53 
GeneralMouse Operations Pin
shijuck2-Dec-04 15:42
shijuck2-Dec-04 15:42 
GeneralRe: Mouse Operations Pin
John R. Shaw2-Dec-04 16:15
John R. Shaw2-Dec-04 16:15 
GeneralDialog Handle Pin
max_gundam152-Dec-04 14:05
max_gundam152-Dec-04 14:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.