Click here to Skip to main content
11,922,026 members (38,665 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ VB ActiveX setup
I should say at the outset that this problem may not be limited to win7 x64 as I just haven't tested any other OSes yet except I can say that I have not had a problem with XP 32bit.

I wrote a 64 bit COM plug DLL for a larger 64 bit commercial application
My DLL starts and talks to, a UI that is an out of process 32 bit VB6 ACTIVEX EXE.

I am running a MS installer with a post install batch file that runs the familiar
exefilename / registerserver command on the activex exe as well as some successful regsvr32 of some VB6 runtime components.

The only way I can get the activex exe to register is to run the host application as administrator once with my dll loaded. After that one run as admin, all subsequent runs
then work fine. Even if the whole shebang in uninstalled which presumably
is leaving the activex exe registration behind.

So I do a restore point back to sqaure one and a virgin registry and try again....

I have run the batch file that executes the /registerserver command as administrator by hand
and that does not seem to register is either.

My user account is an administrator on the test bed.

I should note that if a 32 bit version of the host application is run with a 32 bit version of
my COM dll then nothing changes for the better.

UAC is on.

Right now this is a "known issue" in the release notes to the beta testers but hopefully not for long.

As I recall, Vista was ok - but the install testing was a while back. The installer and it's
post install batch file has not changed since then. I developed this installer under VISTA.

Any insights?

Posted 8-May-13 18:42pm
Not a very useful note: no Vista wasn't OK. In my opinion, Vista could not be count as OS at all. I did not exist as a product. It's just Microsoft can make some money on nothing.
Same goes for VB6, only its impact is much more negative. Pure loss.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

And Bingo was his name o!

MSCOMCT2.OCX exists but is not registered by default in x64 SP1

Now it works

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 493
1 Dave Kreskowiak 285
2 Sergey Alexandrovich Kryukov 243
3 Richard MacCutchan 155
4 ppolymorphe 135
0 OriginalGriff 7,231
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,356
3 George Jonsson 2,865
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web01 | 2.8.151120.1 | Last Updated 11 May 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100