This solution works at XP, but do not works at Vista system.
Common solution
- Extract the manifest from your application
mt.exe -inputresource:YourApplication.exe;#1 -out:manifest.txt - Add to manifest next info:
- Code: Select all
<file name = "_IBProvider_v3_vc9_i.dll">
<comClass progid="LCPI.IBProvider.3" clsid="{769A1280-04BF-11D8-AE8B-00A0C907DB93}" threadingModel = "Both" />
</file>
- Put a manifest to back
mt.exe -outputresource:YourApplication.exe;#1 -manifest manifest.txt
Or, if your application do not has the own manifest file:
- Create new manifest and put it to your EXE (#3)
- Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<file name = "_IBProvider_x3_i.dll">
<comClass progid="LCPI.IBProvider.3" clsid="{769A1280-04BF-11D8-AE8B-00A0C907DB93}" threadingModel = "Both" />
</file>
</assembly>
You can find a mt.exe in VS2005
- run cmd.exe
- call "%VS80COMNTOOLS%\..\..\vc\bin\vcvars32.bat"
- use mt.exe
-----
See: http://social.msdn.microsoft.com/Forums ... 9f33fa944/
I tested this method with win32 and x64 applications at Vista Ultimate x64 - it works.