2014年2月6日 星期四

[Windows 8] Borland C++ 開發時遇到的問題 - 註冊 OCX 元件

[問題]:在 Windows 8 下,執行 regsvr32 *.ocx 失敗


[作業系統]:Windows 8


[Solution]:


1. 複製 OCX 檔案到路徑 C:\Windows\sysWOW64


2. 滑鼠按【開始】→【Start Search】→【輸入 cmd】且暫時不要按下 Enter 鍵


3. 在自動搜尋的列表中,會看到 cmd.exe,在上面按右鍵、選擇【以系統管理員權限執行】


4. 在 cmd 畫面下,輸入 regsvr32c:\windows\sysWOW64\您的 ocx 檔案


 


Reference:連結按此


沒有留言:

張貼留言