2012-02-01 126 views
0

我正在研究一個windows應用程序,它具有設置文件夾和任何類型文件的覆蓋圖標的功能。我正在使用SVN tortoise overlayicon dll來實現此功能。但現在當我嘗試註冊tortoiseoverlay.dll文件時,它會給出以下錯誤:烏龜覆蓋DLL註冊失敗

加載模塊「D:\ bin \ Release64 \ bin \ TortoiseOverlays.dll」,但未找到入口點DllRegisterServer。

確保 「d:\ BIN \ Release64 \ BIN \ TortoiseOverlays.dll」 是一個有效的DLL或OCX文件,然後再試一次。

任何人都可以提供一些光明戰勝它,並指出了什麼,我想這樣做來獲得這個Bug修正。

對於clerification:我使用的Windows7(64位) Visual Studio 2010中

感謝

回答

0

該DLL不提供自己的註冊函數。這是由設計:作爲docs明確指出:

How to install/redistribute TortoiseOverlays: --------------------------------------------- You can either install TortoiseOverlays with the provided merge module (which is the recommended way, because it can properly handle the required reference counting of the registry keys and dlls), or use the also provided msi installer. You MUST NOT try to install the dll and create the registry keys yourself! If you have a non-msi installer, you can call the msi installer like this: msiexec /i TortoiseOverlays-1.0.0.XXXX-win32.msi /qn /norestart

+0

謝謝斯蒂芬.... – 2012-02-02 11:11:25