I have developed an MFC ActiveX control and created necessary cab files and inf file. It is working perfectly in 32 bit IE. When i try to access it in 64 bit IE, it is prompting me to install but when i try to access the function it fails with error message "Object does not support this property or method" in the line where i am calling the function. Should i need to do anything special for 64 bit IE?
Solution
As mentioned by yms i compiled my control in 64 bit mode and generated 2 CAB files. I modified by web page to download appropriate CAB file
<script language="jscript">
document.write("<OBJECT width='600' height='300' id='ActiveXPowUpload' "
+ "CLASSID='CLSID:FB98CEED-9DE1-4517-B30C-CDA19C6D150B' ");
if(navigator.cpuClass.toLowerCase() == "x64") {
document.write("codebase='ActiveXPowUpload-x64.cab#Version=1,0,0,1'>\n");
} else {
document.write("codebase='ActiveXPowUpload-x86.cab#Version=1,0,0,1'>\n");
}
document.write("<param name='UploadURL' value='http://hostname/path/to/upload/script.aspx' />\n");
document.write("<param name='EnablePopupMenu' value='false' />\n");
<!-- other parameters -->
document.write("</OBJECT>\n");