When I try to launch a particular exe on my 64-bit Win7 machine, the following error message appears immediately:
Component ‘capturent.ocx’ or one of its dependencies is not correctly registered: a file is missing or invalid.
1) When I open capturent.ocx in Dependency Walker, it shows an...
I meant the VFP code didn't need any change. The other programmer thought that we would need to change the VFP code to test what environment (32-bit or 64-bit) it was running in and create the appropriate OLE object. Something like:
OsBits = GetOsBits() && UDF that returns either 32 or 64
IF...
I CANNOT BE THIS EASY!!!
It looks like it was as simple as getting the 64-bit Black Ice printer drivers.
VFP is 32-bit and was already using the correct 32-bit Black Ice OCX (it cannot use the 64-bit one, which is the one I was trying to use and register). The problem was that 64-bit...
Thanks for the response.
I had used an elevated command prompt (Run As Administrator) to register the OCX originally, and now putting the command into a .bat or a .cmd file and executing it with Run As Adminstrator gave the same result: a success message but in VFP on Win7 the same error...
1) The error VFP reports is as follows:
"OLE error code 0x800040154: Class not registered".
2) The setup
My work computer is a single physical machine running 64-bit Windows 7: however, it has a virtual PC running 32-bit Windows XP too. The VFP code works on the WinXP virtual machine but not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.