Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ VB ActiveX Project 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?
 
:Ron
Posted 8-May-13 18:42pm
Comments
Sergey Alexandrovich Kryukov at 9-May-13 0:22am
   
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.
—SA

1 solution

Rate this: bad
good
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
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 274
1 Shweta N Mishra 216
2 PIEBALDconsult 210
3 Sergey Alexandrovich Kryukov 185
4 BillWoodruff 174
0 OriginalGriff 7,620
1 Sergey Alexandrovich Kryukov 6,937
2 DamithSL 5,586
3 Manas Bhardwaj 4,946
4 Maciej Los 4,495


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 11 May 2013
Copyright © CodeProject, 1999-2014
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