How To Avoid GPF When Using a VB6 DLL with a VB5 UserControl (190076)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q190076 SUMMARY
When a PropertyBag interface is passed out of a Visual Basic 5.0
UserControl into a Visual Basic 6.0 DLL, and the Visual Basic 6.0 server
uses the Contents property of the PropertyBag interface, the server
produces the following error:
Compile error: Function of interface marked as restricted, or the
function uses as Automation type not supported in Visual Basic.
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbhowto KB190076 |
---|
|