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++ / July 2005

Tip: Looking for answers? Try searching our database.

Mixing managed/unmanaged C++ callback

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DD - 09 Jul 2005 05:45 GMT
I'm puzzled how to mix managed/unmanaged C++ in the following scenario:

Unmanaged
------------
Callback listener class with method that should call an event in managed
Form1.
Initialization code for the listener that launches the listener thread.

Managed
----------
Windows form application with a custom event handler.

I believe this can be broken down into three parts:

1) How to call the managed code event in Form1 from unmanaged C++.
2) How to access Form1 (since it is an instance of a Form).
3) How to initialize the unmanaged callback listener from within Form1.

Thanks!
Olaf Baeyens - 11 Jul 2005 10:35 GMT
> I'm puzzled how to mix managed/unmanaged C++ in the following scenario:

I am also wondering how to do this.
I tried this a few years ago but so far I have never been able to make it
work.
I cannot imagine that it is not somehow thought through by Microsoft.
Clift Norris - 11 Jul 2005 22:27 GMT
I could send you a VS.NET solution containing projects that demonstrate this,
using C# and C++.
Let me know if you are interested.

-Clift Norris

> I'm puzzled how to mix managed/unmanaged C++ in the following scenario:
>> I believe this can be broken down into three parts:
[quoted text clipped - 3 lines]
>
> Thanks!
Sam Carleton - 11 Jul 2005 22:33 GMT
> I could send you a VS.NET solution containing projects that demonstrate this,
> using C# and C++.
> Let me know if you are interested.
>
> -Clift Norris

Personally I would LOVE to see some samples of this.  Would you
mind emailing them to me?  My email is:

account: scarleton
At the domain of: miltonstreet.com

Thanks!

>> I'm puzzled how to mix managed/unmanaged C++ in the following scenario:
>>> I believe this can be broken down into three parts:
[quoted text clipped - 3 lines]
>>
>> Thanks!
Clift Norris - 11 Jul 2005 23:25 GMT
Ok, it is "in the email".  I sent a zipped VS.NET solution.
-Clift

> > I could send you a VS.NET solution containing projects that demonstrate this,
> > using C# and C++.
[quoted text clipped - 17 lines]
> >>
> >> Thanks!
DD - 12 Jul 2005 05:45 GMT
Clift, it would be great if I could also receive the sample project.  My
email is listed on this page, (click on the link for Dan K.)
http://www.autonvs.com/teamcontacts.html

>I could send you a VS.NET solution containing projects that demonstrate
>this,
[quoted text clipped - 10 lines]
>>
>> Thanks!
Olaf Baeyens - 14 Jul 2005 08:36 GMT
> I could send you a VS.NET solution containing projects that demonstrate this,
> using C# and C++.
> Let me know if you are interested.
>
> -Clift Norris

Oops I have not been online for some time, I am still interested in samples
for this.
You could email this to this email address. Many thanks. :-)
ghgdh - 22 Jul 2005 20:19 GMT
> *I could send you a VS.NET solution containing projects tha
> demonstrate this,
[quoted text clipped - 4 lines]
>
> >[/vbcol] *

I would also be very interested in this :)

essoess@gmail.co

-
ghgd

Steve - 23 Jul 2005 11:14 GMT
Hi

I'd also be very interested in seeing the sample project.
My email is: morleyhill@hotmail.com

Thanks!

> I could send you a VS.NET solution containing projects that demonstrate this,
> using C# and C++.
[quoted text clipped - 9 lines]
> >
> > Thanks!
Clift Norris - 23 Jul 2005 15:11 GMT
OK, it is "in the mail"!
Have fun.
-Clift

> Hi
>
[quoted text clipped - 16 lines]
> > >
> > > Thanks!

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.