Click here to Skip to main content
16,006,531 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Loading a Dialog Resource from a different DLL Pin
prasad_som30-Apr-08 4:16
prasad_som30-Apr-08 4:16 
QuestionHandle VC++ ATL COM Event in Java Script ?? [modified] Pin
garammasala28-Apr-08 2:46
garammasala28-Apr-08 2:46 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
Stephen Hewitt28-Apr-08 15:57
Stephen Hewitt28-Apr-08 15:57 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
garammasala28-Apr-08 17:42
garammasala28-Apr-08 17:42 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
Stephen Hewitt28-Apr-08 17:46
Stephen Hewitt28-Apr-08 17:46 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
garammasala28-Apr-08 20:43
garammasala28-Apr-08 20:43 
GeneralRe: Handle VC++ ATL COM Event in Java Script ?? Pin
Stephen Hewitt29-Apr-08 20:07
Stephen Hewitt29-Apr-08 20:07 
QuestionRe: Handle VC++ ATL COM Event in Java Script ?? Pin
garammasala5-May-08 21:07
garammasala5-May-08 21:07 
Hi Steve

I have implemented the IProvideClassInfo and IProvideClassInfo2 interfaces for the callbacks and the callback are working fine

Now the issue is even if I fire Event from ATL COM once , its shown more than once on the web page as if i have fired event from ATL COM many times and everytime the count is getting increased ....

I have used this ATL Component in VB also , in VB its working fine if event is fired once the event is shown once and not more than that...

Here is the code snippet

......
MessageBox(NULL,TEXT("Fire Event Reached"),TEXT("OK"),MB_OK);

hr = pConnection->Invoke(1, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &params, &varResult, NULL, NULL);

MessageBox(NULL,TEXT("Fire Event Complete"),TEXT("OK"),MB_OK);
.........

I have used two message boxes just for the sake for debugging...

Now in VB whenever there is event i have shown a msg box so once event is fired only 3 messages boxes comes one after the other
1. Fired Event Reached
2. Event Message Box (When "pConnection->Invoke" is fired)
3. Fire Event Complete

Now in Internet Explorer its different.. whenever event is fired by ATL COM
Event Message Box is shown many times in the Internet Explorer and everytime the count is getting increased

What can be the problem...

with regards
Abhiraj
AnswerRe: Handle VC++ ATL COM Event in Java Script ?? Pin
Stephen Hewitt6-May-08 16:25
Stephen Hewitt6-May-08 16:25 
AnswerRe: Handle VC++ ATL COM Event in Java Script ?? [modified] Pin
garammasala6-May-08 17:38
garammasala6-May-08 17:38 
Generalperformant deserialization from a buffer to a std::Vector‏ Pin
manustone24-Apr-08 3:45
manustone24-Apr-08 3:45 
GeneralRe: performant deserialization from a buffer to a std::Vector‏ Pin
Stuart Dootson28-Apr-08 1:22
professionalStuart Dootson28-Apr-08 1:22 
GeneralRe: performant deserialization from a buffer to a std::Vector‏ Pin
manustone28-Apr-08 5:31
manustone28-Apr-08 5:31 
GeneralA quick question on themes... Pin
Gene OK24-Apr-08 3:01
Gene OK24-Apr-08 3:01 
AnswerRe: A quick question on themes... Pin
Gene OK24-Apr-08 4:54
Gene OK24-Apr-08 4:54 
GeneralUsing VB.NET dll in VC++ Pin
ritz123424-Apr-08 0:17
ritz123424-Apr-08 0:17 
GeneralRe: Using VB.NET dll in VC++ Pin
Jörgen Sigvardsson1-May-08 0:16
Jörgen Sigvardsson1-May-08 0:16 
Questionhow to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
shwlin21-Apr-08 15:23
shwlin21-Apr-08 15:23 
AnswerRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
shwlin24-Apr-08 15:01
shwlin24-Apr-08 15:01 
GeneralRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
Charles Spirz27-Apr-08 11:51
Charles Spirz27-Apr-08 11:51 
GeneralRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl [modified] Pin
shwlin4-May-08 20:51
shwlin4-May-08 20:51 
AnswerRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
shwlin18-May-08 15:54
shwlin18-May-08 15:54 
GeneralRe: how to create a docable or vertical toolbar based on WTL CToolBarCtrl Pin
rajas6-May-09 6:04
rajas6-May-09 6:04 
GeneralFast search of a vector of strings Pin
bruccutler15-Apr-08 12:40
bruccutler15-Apr-08 12:40 
GeneralRe: Fast search of a vector of strings Pin
Andy Moore16-Apr-08 6:39
Andy Moore16-Apr-08 6:39 

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.