aerojockey
Aerospace
- Jul 9, 2013
- 3
I was wondering if there are any known issues running CATIA API from another program (using COM) on 64-bit Windows systems. This is where you run:
catapp = GetObject(, "Catia.Application")
spelled however it's spelled in the language you're using (and I've tried several). The scripts work perfectly on 32-bit systems, but on a 64-bit systems I get an error message: "Invalid application string." In my tests, CATIA was 64-bit, and all the calling programs were 64-bit. So no address space mismatches.
My best guess it that the registry is incorrect: for some reason my company installs 64-bit CATIA incorrectly. (I should mention that CATIA is running off a shared drive, but that's true for both 32- and 64-bit versions.) Other than that I'm at a complete loss.
Thanks for any suggestions.
catapp = GetObject(, "Catia.Application")
spelled however it's spelled in the language you're using (and I've tried several). The scripts work perfectly on 32-bit systems, but on a 64-bit systems I get an error message: "Invalid application string." In my tests, CATIA was 64-bit, and all the calling programs were 64-bit. So no address space mismatches.
My best guess it that the registry is incorrect: for some reason my company installs 64-bit CATIA incorrectly. (I should mention that CATIA is running off a shared drive, but that's true for both 32- and 64-bit versions.) Other than that I'm at a complete loss.
Thanks for any suggestions.