Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX works on win98 but not win95

Status
Not open for further replies.

jones22

Programmer
Oct 16, 2001
2
US
I have an ActiveX control created with VC 6.0 that is packaged in a cab file along with an .inf file. It works fine on win98 & 2000, but on win95 or NT it doesn't do anything. It says it is installing at the bottom of IE5.0 but nothing happens. The control is signed and safe for scripting. The mfc42 dlls are package in there as well. Is this a dll problem or something else? Thanks in advance for any suggestions.
 
The problem I have discovered is that the mfc dlls are older than those I have specified in the .inf file for VC 6.0. If I manually update a machine with mfc42.exe, everything works fine. I guess my question then is why these are not installing through the .inf mechanism? I basically copied and pasted the INF file from Microsoft. Here it is:

[version]
signature="$CHICAGO$"
AdvancedINF=2.0

[Add.Code]
TLEActiveX.ocx=TLEActiveX.ocx
mfc42.dll=mfc42.dll
msvcrt.dll=msvcrt.dll
olepro32.dll=olepro32.dll

[TLEActiveX.ocx]
file-win32-x86=thiscab
clsid={F18251EB-721F-11D5-A1EF-00A0CC5ECB34}
FileVersion=1,0,8,0
RegisterServer=yes

; dependent DLLs
[msvcrt.dll]
FileVersion=6,0,8168,0
hook=mfc42installer

[mfc42.dll]
FileVersion=6,0,8168,0
hook=mfc42installer

[olepro32.dll]
FileVersion=5,0,4261,0
hook=mfc42installer

[mfc42installer]
file-win32-x86= run=%EXTRACT_DIR%\mfc42.exe

Any suggestions?
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top