Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7607827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:45:49+00:00 2026-05-31T00:45:49+00:00

I have developed an MFC ActiveX control and created necessary cab files and inf

  • 0

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");

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T00:45:50+00:00Added an answer on May 31, 2026 at 12:45 am

    32 bits dlls cannot be used directly in 64 bit applications.You need to create one dll for each CPU architecture.

    64 bit versions of Windows provide two different registry storages, one for 32 bit applications and one for 64 bit ones, so you can register both dlls and type libraries with the same GUID and each application will peak the right dll depending on the CPU architecture for which it was built.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an MFC application that uses an ancient (circa 1999) third-party ActiveX control.
I have developed code on a m-file script in Matlab that communicates with a
I have C++ application which has UI developed using MFC, does some networking using
I have an unmanaged C++ MFC dll that was developed in VS 6.0. I
I am currently working on an already developed project written in MFC C++ and
I have developed a Cocos2d-X app with XCode which works perfectly when I launch
I have developed a quite large application using MFC. Naturaly, I used GDI for
I have an MFC application developed in VS Studio 2008 which reads and writes
I have a plugin for a c++ MFC app. I'm working with the developer
What experience have you had with introducing a Ribbon style control to legacy MFC

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.