Click here to Skip to main content
15,890,185 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hide one property page?? Pin
includeh102-Dec-04 5:02
includeh102-Dec-04 5:02 
GeneralRe: hide one property page?? Pin
JoramW2-Dec-04 22:52
JoramW2-Dec-04 22:52 
Questionhow to know Service pack of MSVC6.0 Pin
Abhi Lahare2-Dec-04 1:58
Abhi Lahare2-Dec-04 1:58 
AnswerRe: how to know Service pack of MSVC6.0 Pin
David Crow2-Dec-04 4:05
David Crow2-Dec-04 4:05 
GeneralRe: how to know Service pack of MSVC6.0 Pin
david_gilmour2-Dec-04 22:22
david_gilmour2-Dec-04 22:22 
GeneralRe: how to know Service pack of MSVC6.0 Pin
David Crow3-Dec-04 2:50
David Crow3-Dec-04 2:50 
QuestionAVIFile file size restriction? Pin
JoramW2-Dec-04 1:26
JoramW2-Dec-04 1:26 
GeneralHELP Immediately !! Very important!! Pin
angello62-Dec-04 1:21
angello62-Dec-04 1:21 
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
GeneralMultiple column combo box Pin
ledallam1-Dec-04 23:46
ledallam1-Dec-04 23:46 
GeneralLaunching Notepad to open a specific file Pin
Anonymous1-Dec-04 22:56
Anonymous1-Dec-04 22:56 
GeneralRe: Launching Notepad to open a specific file Pin
vaniacilli1-Dec-04 23:05
vaniacilli1-Dec-04 23:05 
GeneralRe: Launching Notepad to open a specific file Pin
ThatsAlok1-Dec-04 23:09
ThatsAlok1-Dec-04 23:09 
GeneralRe: Launching Notepad to open a specific file Pin
Arsalan Malik1-Dec-04 23:17
Arsalan Malik1-Dec-04 23:17 
GeneralRe: Launching Notepad to open a specific file Pin
Anonymous1-Dec-04 23:32
Anonymous1-Dec-04 23:32 
GeneralReading Variables Pin
gamitech1-Dec-04 22:50
gamitech1-Dec-04 22:50 
Generalabout TransmitFile Pin
yingkou1-Dec-04 22:46
yingkou1-Dec-04 22:46 
GeneralLinker Error Pin
Yuvaraj N1-Dec-04 22:18
Yuvaraj N1-Dec-04 22:18 
Questionhow to resize property page??? Pin
includeh101-Dec-04 22:09
includeh101-Dec-04 22:09 
AnswerRe: how to resize property page??? Pin
PJ Arends1-Dec-04 22:33
professionalPJ Arends1-Dec-04 22:33 
GeneralRe: how to resize property page??? Pin
includeh101-Dec-04 23:47
includeh101-Dec-04 23:47 
QuestionWhich MFC control does this? Pin
Vancouver1-Dec-04 19:39
Vancouver1-Dec-04 19:39 
AnswerRe: Which MFC control does this? Pin
Cedric Moonen1-Dec-04 19:55
Cedric Moonen1-Dec-04 19:55 
GeneralRe: Which MFC control does this? Pin
Vancouver2-Dec-04 10:58
Vancouver2-Dec-04 10:58 
GeneralATL support to existing MFC application Pin
Ro_land1-Dec-04 19:26
Ro_land1-Dec-04 19:26 
GeneralRe: ATL support to existing MFC application Pin
Antony M Kancidrowski2-Dec-04 6:10
Antony M Kancidrowski2-Dec-04 6:10 

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.