- Apr 15, 2002
- 708
- 0
- 71
Hi all, I wrote an application that uses the mscomm32.ocx library and I can't use that application in Vista x64 (or any type of Vista) because I can't get it to register correctly.
I have done a lot of reading around and now I want to see if anyone here at AT can help me.
I know about UAC (User Account Control) in Vista, I have:
1 - Disabled it, and run regsvr32
2 - Enabled it, run regsvr32 in elevated mode
3 - Disabled it, unregister mscomm32.ocx and re-register.
The problem is that when I run the problem the error comes up saying "Class not register" even when I successfully ran the regsvr32 with the message saying that it registered successfully.
I know that in Vista x64 there are 2 system folders: c:\windows\system32 and c:\windows\syswow64. And is always use common sense, system32 contains 64 bit libraries and syswow64 contains 32 bit libraries.
I tried to put the mscomm32.ocx in the system32 and try to register and it gave me an error saying the file isn't there. I put mscomm32.ocx into syswow64 and it registered fine. I have been googling for this whole week and still empty handed. I am at the point where I might have to re-write that library to use the newer component, but I really don't want to do that. So if anyone knows something, please let me know. Thank you very much.
I have done a lot of reading around and now I want to see if anyone here at AT can help me.
I know about UAC (User Account Control) in Vista, I have:
1 - Disabled it, and run regsvr32
2 - Enabled it, run regsvr32 in elevated mode
3 - Disabled it, unregister mscomm32.ocx and re-register.
The problem is that when I run the problem the error comes up saying "Class not register" even when I successfully ran the regsvr32 with the message saying that it registered successfully.
I know that in Vista x64 there are 2 system folders: c:\windows\system32 and c:\windows\syswow64. And is always use common sense, system32 contains 64 bit libraries and syswow64 contains 32 bit libraries.
I tried to put the mscomm32.ocx in the system32 and try to register and it gave me an error saying the file isn't there. I put mscomm32.ocx into syswow64 and it registered fine. I have been googling for this whole week and still empty handed. I am at the point where I might have to re-write that library to use the newer component, but I really don't want to do that. So if anyone knows something, please let me know. Thank you very much.
