Click here to Skip to main content
15,903,385 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: How to Implement RPC in windows XP Pin
suthakar5621-Jun-09 20:20
suthakar5621-Jun-09 20:20 
GeneralRe: How to Implement RPC in windows XP Pin
Stuart Dootson21-Jun-09 20:32
professionalStuart Dootson21-Jun-09 20:32 
GeneralRe: How to Implement RPC in windows XP Pin
suthakar5623-Jun-09 23:53
suthakar5623-Jun-09 23:53 
GeneralRe: How to Implement RPC in windows XP Pin
Stuart Dootson24-Jun-09 0:25
professionalStuart Dootson24-Jun-09 0:25 
AnswerRe: How to Implement RPC in windows XP Pin
suthakar5624-Jun-09 22:59
suthakar5624-Jun-09 22:59 
GeneralRe: How to Implement RPC in windows XP Pin
Stuart Dootson24-Jun-09 23:23
professionalStuart Dootson24-Jun-09 23:23 
QuestionATL Server Web Service on Vista / IIS 7 and VS2005 Pin
Condorito17-Jun-09 7:52
Condorito17-Jun-09 7:52 
QuestionDetect ATL control under IE8 Pin
chatko16-Jun-09 8:50
chatko16-Jun-09 8:50 
Hi, (cross-post with web-dev)

I'm trying to detect if my ATL control is installed on the users system in IE8. I am using the following vbscript code:
function DetectActiveX (controlName)
    on error resume next
    dim res
    res = 0
    if IsObject(CreateObject(controlName)) then
        res = 1
    end if
    DetectActiveX = res
end function


The problem is that the detection fails if the control has been installed by the user running firefox (or any other non-IE browser) and when the user later returns to the same page using IE8.

This is because IE8 blocks the object creation with an "Add-on disabled, Run add-on?" drop down info bar. My javascript/vbscript has no way to detect this situation, so i force a download ... which is is at best confusing to the user.

Anyone have a suggestion on what else i could try? Since my previously run installer has binary access, perhaps it needs to register something extra with IE8/windows when installed outside of the IE8 process?

Thanks,

Chris
AnswerCross Posted Pin
led mike17-Jun-09 4:45
led mike17-Jun-09 4:45 
QuestionCrashes in ATL conversion macros Pin
Andrew Hain15-Jun-09 1:25
Andrew Hain15-Jun-09 1:25 
AnswerRe: Crashes in ATL conversion macros Pin
Stuart Dootson15-Jun-09 22:44
professionalStuart Dootson15-Jun-09 22:44 
QuestionTrouble running swf files from the internet in flash activeX Pin
GamerGoon11-Jun-09 19:59
GamerGoon11-Jun-09 19:59 
QuestionWhy STL string copy is 50% slower then memcpy_s? Pin
followait7-Jun-09 2:14
followait7-Jun-09 2:14 
AnswerRe: Why STL string copy is 50% slower then memcpy_s? Pin
«_Superman_»7-Jun-09 21:08
professional«_Superman_»7-Jun-09 21:08 
AnswerRe: Why STL string copy is 50% slower then memcpy_s? Pin
Stuart Dootson7-Jun-09 22:16
professionalStuart Dootson7-Jun-09 22:16 
GeneralRe: Why STL string copy is 50% slower then memcpy_s? [modified] Pin
followait12-Jun-09 15:34
followait12-Jun-09 15:34 
GeneralRe: Why STL string copy is 50% slower then memcpy_s? Pin
Stuart Dootson13-Jun-09 12:55
professionalStuart Dootson13-Jun-09 12:55 
QuestionATL control tests freezes VS2005 Pin
progDes4-Jun-09 2:27
progDes4-Jun-09 2:27 
Questionerror LNK2001: unresolved external symbol _WndProcThunkProc Pin
sandhyaneel28-May-09 2:46
sandhyaneel28-May-09 2:46 
AnswerRe: error LNK2001: unresolved external symbol _WndProcThunkProc Pin
KarstenK28-May-09 3:42
mveKarstenK28-May-09 3:42 
Questionabout the class name of out stream or in stream Pin
followait27-May-09 17:21
followait27-May-09 17:21 
AnswerRe: about the class name of out stream or in stream Pin
Stuart Dootson27-May-09 22:42
professionalStuart Dootson27-May-09 22:42 
GeneralRe: about the class name of out stream or in stream Pin
followait28-May-09 2:10
followait28-May-09 2:10 
GeneralRe: about the class name of out stream or in stream Pin
Stuart Dootson28-May-09 2:16
professionalStuart Dootson28-May-09 2:16 
QuestionHow to combine several file streams to one memory binary stream? Pin
followait26-May-09 4:12
followait26-May-09 4:12 

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.