Hi all,
This is my first Active X component, so I may have made some basic mistakes. But here is what I have done so far...
0. I am using Studio 2005.
1. Created a real basic (AboutBox) MFC Active X Contron using VC++.
2. Created a CAB file project.
a. Included the OCX and and INF file to the cab.
3. Created a license file using LPK_tool.exe.
3. Created an HTML page that will access the Active X. And display the AboutBox when the button is pressed.
4. Copied the CAB, the license file and the HTML file to Tomcat webserver.
Execution:
Test Settings: Using IE on XP prof. Set all the security settings to download, install and initialize unsigned active x.
Scenario 1: The page and control works just fine on the local machine where the server is.
Scenario 2: The page and control works just fine on remote machine (IFF I have visual studio installed on it.)
Scenario 3: The page and control DOES NOT work on a remote machine where I have NOT installed Studio 2005. --- And this is the problem ---
Please guide me how to fix this.
Thanks a lot.
Regards,
Ri

Active X not working from webpage without Studio installed
Christian W.
designerweb
What is the error you are seeing
Thanks, Ayman Shoukry VC++ Teampapaoso1
The only thing I can think of is that you don't have the SxS binaries installed on the machine without VS.
Take a look at http://msdn2.microsoft.com/en-us/library/ms235342.aspx for more details.
Hope this helps!
Thanks, Ayman Shoukry VC++ TeamFurqan Farooqui
Project Property Pages >> General >> Use of MFC should be "Use MFC in a Static Library".
This solved the problem.
Thanks Ayman for your tips.