|
-
ATL Ax control & VB Apartment threaded Ax control problem???
I am having a problem with VB - when I try to place my ATL Ax control onto a
VB apartment thread model UserControl I get this error
"foobar is a single-threaded component and cannot be used in
multi-threaded projects"
The VB control has to be Apartment threaded or it causes the host app to
complain. My ATL Control has _ATL_APARTMENT_THREADED defined
I notice that when I select Full Control when adding the ATL object that it
won't allow me to choose the 'both' or 'free' options for threading model,
but I thought apartment would be enough anyway?
thanks,
Jane
-
Re: ATL Ax control & VB Apartment threaded Ax control problem???
I have the answer now thanks - I did need to set the reg key - but I was
setting it in the wrong place doh!
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