开发者

VB6: what can I do to ensure my application uses specific versions of MS controls and DLLs?

开发者 https://www.devze.com 2023-01-05 12:50 出处:网络
What can I do to ensure my application uses specific versions of M开发者_Go百科S controls and DLLs?

What can I do to ensure my application uses specific versions of M开发者_Go百科S controls and DLLs?

Can I put the correct versions of the DLLs and OCXs in the application directory?


You can include the COM components in your directory and use either DotLocal or Registration Free COM to force Windows to use them.

DotLocal is simpler, but still requires the COM components to be registered globally. Registration Free COM means that you don't need to register your COM components globally at all, but it is more difficult to setup.

DotLocal requires Windows 2000 or later and Registration Free COM requires Windows XP or later.

Links for DotLocal:

http://msdn.microsoft.com/en-us/library/ms682600

Link

Links for Registration Free COM:

http://msdn.microsoft.com/en-us/library/dd408052%28v=VS.85%29.aspx

http://msdn.microsoft.com/en-us/library/ms973913.aspx

Generate manifest files for registration-free COM

0

精彩评论

暂无评论...
验证码 换一张
取 消