Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / August 2006

Tip: Looking for answers? Try searching our database.

ActiveX control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lucy Ludmiller - 29 Aug 2006 21:54 GMT
I want to build an ActiveX control using C++

Does anyone have a link that can serve as a tutorial - a how to guide?

Basically, I need to know how I may add properties, methods and events,
and how I can pass data in the raised events.
Bob - 29 Aug 2006 21:58 GMT
Using ATL is the easiest way.
http://www.codeguru.com/Cpp/COM-Tech/atl/tutorials/article.php/c17

http://www.codeproject.com/atl/#ATL+Server

Then see this
>I want to build an ActiveX control using C++
>
> Does anyone have a link that can serve as a tutorial - a how to guide?
>
> Basically, I need to know how I may add properties, methods and events,
> and how I can pass data in the raised events.
Lucy Ludmiller - 29 Aug 2006 23:28 GMT
> Using ATL is the easiest way.
> http://www.codeguru.com/Cpp/COM-Tech/atl/tutorials/article.php/c17
[quoted text clipped - 9 lines]
>>Basically, I need to know how I may add properties, methods and events,
>>and how I can pass data in the raised events.

Thanks for that Bob, I got that bit done. Now I want to have an event
that passes an object as a pointer - however, when adding my event,
there is a fixed drop down box that does not allow me to type in the
corrcet data type (say MyObject*) - this is perhaps not suprising, since
 MyObject will not be recognised in the IDL. Maybe I can pass the
pointer (opaquely), as a long ?

PS: I will be consuming this control in VB

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.