BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using .NET Controls in CBuilder

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX)
View previous topic :: View next topic  
Author Message
NaturalRogue
Guest





PostPosted: Mon Feb 06, 2006 3:00 pm    Post subject: Using .NET Controls in CBuilder Reply with quote



Is it possible to wrapper .NET visual controls as COM/ActiveX objects for
use in CBuilder? I have successfully created non-visual COM-Interop
assemblies which work after importing the type libraries, but have been, so
far, unsuccessful with visual controls. Typically, the attempts either crash
at run time when calling into the assembly or fail when attempting to add it
to a VCL form. Any help is appreciated, and, if I posted this in an
inappropriate area, let me know.

Thanks
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Feb 06, 2006 11:00 pm    Post subject: Re: Using .NET Controls in CBuilder Reply with quote



"NaturalRogue" <NaturalRogue (AT) hotmail (DOT) com> wrote:

Quote:
Is it possible to wrapper .NET visual controls as
COM/ActiveX objects for use in CBuilder?

If you host the .NET CLR runtime in your C++ app, you can run managed code directly in an unmanaged environment.

Hosting the Common Language Runtime
http://msdn2.microsoft.com/en-us/library/9x0wh2z3.aspx

I have not done it myself, but I imagine that would include being able to host .NET visual controls without using COM.


Gambit
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.