-
Unable to create instance of visual basic component in visual C++ application.
I am developping C++ application and use VB component as a server ,I import
VB server and create instance like this:
---------------------------------
#import "..\VBcomponent.dll"
VBcomponent::_CClassPtr pServer ;
HRESULT hr = pServer.CreateInstance(__uuidof(VBcomponent::_CClassPtr));
---------------------------------------------------
But this code throw error exception says that : Class not registered.
Can anybody tell me why this happen?
Regards.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks