on 06-14-2016 1:37 PM
Hi All
PB 12.6 Classic
Run 32 bit app (exe) in 64 bit OS try ConnectToNewObject("clsid:xxx") to 32 bit activeX return ok.
Run 64 bit app (exe) in 64 bit OS try ConnectToNewObject("clsid:xxx") to 32 bit activeX return -3 (object could not be created).
.
dll is register on SysWOW64
What's is wrong?
Hi Rafał ;
FYI: You must use a 64bit OCX/OLE object when running & connecting from a PB application which is also generated as a 64bit EXE.
HTH
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris
Look at this link: Using a 32bit COM object in a 64bit environment
Thank you .. Very interesting for sure!
Did this work for you?
FWIW: My issues with this approach - being with the Canadian Federal Government - would be to roll this out into production where the PC's are basically locked down from making these type of registry changes. This would have to be pushed out through SMS maintenance by the production support teams. A nightmare to get them to do this without "jumping through hoops" plus, a few dozen key signatures.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.