Click here to Skip to main content
15,899,679 members
Home / Discussions / COM
   

COM

 
QuestionActiveX Control Pin
HakunaMatada27-Nov-06 17:04
HakunaMatada27-Nov-06 17:04 
AnswerRe: ActiveX Control Pin
Roger Stoltz27-Nov-06 20:55
Roger Stoltz27-Nov-06 20:55 
GeneralRe: ActiveX Control Pin
HakunaMatada27-Nov-06 21:29
HakunaMatada27-Nov-06 21:29 
GeneralRe: ActiveX Control Pin
Roger Stoltz27-Nov-06 21:49
Roger Stoltz27-Nov-06 21:49 
QuestionWMI Pin
abhiramsss27-Nov-06 9:38
abhiramsss27-Nov-06 9:38 
QuestionUnhandled Exception in Popup blocker code Pin
georgekjolly25-Nov-06 3:56
georgekjolly25-Nov-06 3:56 
QuestionIE window manipulation using web browser object Pin
georgekjolly25-Nov-06 2:22
georgekjolly25-Nov-06 2:22 
QuestionAccess Violation occur when use goForward() or goBack() method in IWebBrowser2 Pin
Lee bo24-Nov-06 3:30
Lee bo24-Nov-06 3:30 
when I use IWebBrowser2::goForward() or goBack() method in thread that begin from overrided SetSite() method, Browser Helper Object with InternetExplorer occur Error window.Mad | :mad:
"Memory Access Violation..." Dead | X|

why occur this Exception?Confused | :confused: here is that part of code.

void SensorWorker( LPVOID lParam )
{
USHORT x,y;
int shock, count = 0, exe = 0;
ACCELREPORT data;

if(sensorFunction) {
sensorFunction(&data);
x = data.LatestZeroG_X;
y = data.LatestZeroG_Y;
}

CIESensorMove * bControl = (CIESensorMove *)lParam;

CString str;

CComBSTR bstrURL("http://www.naver.co.kr");
CComVariant vtEmpty;

while(1){
if(sensorFunction != 0){
sensorFunction(&data);
shock = (int)data.LatestAccelDataY - (int)y;
if(shock == 0 ) exe = 0;
if(bControl->m_spWebBrowser2 != NULL && exe == 0)
str.Format("%d", count);
if( shock > 3 ){
// bControl->m_spWebBrowser2->GoForward();
bControl->goForward();
count++;
exe = 1;
bControl->m_spWebBrowser2->put_StatusText(str.AllocSysString());

// bControl->m_spWebBrowser2->Navigate(bstrURL, &vtEmpty, &vtEmpty, &vtEmpty, &vtEmpty);

Sleep(200);
}else if (shock < -3){
// bControl->m_spWebBrowser2->GoBack();
bControl->goBack();
count--;
exe = 1;
bControl->m_spWebBrowser2->put_StatusText(str.AllocSysString());
Sleep(200);
}
}
Sleep(100);
}

}
AnswerRe: Access Violation occur when use goForward() or goBack() method in IWebBrowser2 Pin
Roger Stoltz24-Nov-06 4:55
Roger Stoltz24-Nov-06 4:55 
QuestionAdding function to interface. Pin
Suresh H22-Nov-06 18:15
Suresh H22-Nov-06 18:15 
QuestionHow can i call C# interface function from C++ ( visual 6 ) application ? Pin
Yanshof22-Nov-06 0:55
Yanshof22-Nov-06 0:55 
AnswerRe: How can i call C# interface function from C++ ( visual 6 ) application ? Pin
ThatsAlok3-Dec-06 19:33
ThatsAlok3-Dec-06 19:33 
QuestionHow do you implement an Event Sink without a Type Library? Pin
Bathory's Curse21-Nov-06 7:01
Bathory's Curse21-Nov-06 7:01 
AnswerRe: How do you implement an Event Sink without a Type Library? Pin
Stephen Hewitt21-Nov-06 11:50
Stephen Hewitt21-Nov-06 11:50 
GeneralRe: How do you implement an Event Sink without a Type Library? Pin
Bathory's Curse21-Nov-06 13:44
Bathory's Curse21-Nov-06 13:44 
GeneralRe: How do you implement an Event Sink without a Type Library? Pin
Stephen Hewitt21-Nov-06 14:38
Stephen Hewitt21-Nov-06 14:38 
GeneralRe: How do you implement an Event Sink without a Type Library? Pin
Bathory's Curse22-Nov-06 10:05
Bathory's Curse22-Nov-06 10:05 
Questionhow to know the name of dll? Pin
kalaveer21-Nov-06 1:05
kalaveer21-Nov-06 1:05 
QuestionCom exe and dll Pin
ashokvishnu20-Nov-06 16:42
ashokvishnu20-Nov-06 16:42 
AnswerRe: Com exe and dll Pin
Roger Stoltz20-Nov-06 21:43
Roger Stoltz20-Nov-06 21:43 
QuestionPorting D/COM OLE Server from W2K to WXP : Issues Pin
sebastien_pelle20-Nov-06 5:29
sebastien_pelle20-Nov-06 5:29 
QuestionConvert pdf to tiff Pin
Dudi Avramov20-Nov-06 3:57
Dudi Avramov20-Nov-06 3:57 
QuestionNewWIndow2 Event Sink problem Pin
yokos117-Nov-06 12:26
yokos117-Nov-06 12:26 
GeneralRe: NewWIndow2 Event Sink problem Pin
prasad_som19-Nov-06 18:31
prasad_som19-Nov-06 18:31 
Questionmemory issues Releasing Interface in VB 6 Pin
el_scrub16-Nov-06 22:34
el_scrub16-Nov-06 22:34 

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.