Click here to Skip to main content
15,890,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Experts
I need to understand something about OCX registration
Am Developing ocx control for 64Bit system and i found during development that it is required to register it in both(C:\windows\system32 and C:\windows\sysWOW64) system folder
like 64Bit version and 32Bit version ocx file Both are required to registred. I want to know why these two are compulsory why not single 64bit only.
Plz let me know about these concept
Thanks in adv.
Posted

1 solution

Are you sure you have to register it for both?
IMO, you need to register your 64bit dll/ocx using C:\windows\system32\regsvr32.exe and 32bit dll/ocx using C:\windows\sysWOW64\regsvr32.exe
You don't need to register using both.
 
Share this answer
 
Comments
R. S. Verma 4-Nov-11 3:00am    
thanks for replying
but am using single one that is C:\windows\system32\regsvr32.exe for registering both the version 32bit ocx and 64bit ocx version. and this is work only after that. I want to know why these two version are required, why not single one 64bit only.
that was my question....
Prerak Patel 4-Nov-11 3:22am    
This is how it is designed. You need to register your 32bit ocx using C:\windows\sysWOW64\regsvr32.exe
See how regsvr32 works.
http://support.microsoft.com/kb/249873
http://24x7servermanagement.com/blog/?p=827
R. S. Verma 16-Nov-11 23:33pm    
thanks for ur great responce prerak patel.... :)
Prerak Patel 17-Nov-11 4:21am    
You are welcome. If your query is solved, mark the answer.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900