开发者

VC10 ATL Control Tutorial crashes in VB6

开发者 https://www.devze.com 2023-02-04 09:38 出处:网络
It\'s been a long time since I dealt with VC ATL COM controls.I am having issues upgrading a VC6 ATL开发者_如何学C control to VC10 when used in VB6.In a step of troubleshooting I am now trying to foll

It's been a long time since I dealt with VC ATL COM controls. I am having issues upgrading a VC6 ATL开发者_如何学C control to VC10 when used in VB6. In a step of troubleshooting I am now trying to follow the Microsoft tutorial[1] to create a VC10 ATL control and then place the control on a form in Visual Basic 6. When the control is placed on the VB6 form in the VB6 IDE I get an error:

System Error &H80004005 (-2147467259). Unspecified error

I test the control in the VC6 tool ActiveX Control Test Container and the control displays the green triangle and the properties can be invoked.

How do I get an ATL control to work in VB6?

  1. http://msdn.microsoft.com/en-us/library/599w5e7x.aspx
0

精彩评论

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