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! 13 2111
> 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.
> 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.
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
"DD" wrote: I'm puzzled how to mix managed/unmanaged C++ in the following scenario: 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!
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
"DD" wrote: I'm puzzled how to mix managed/unmanaged C++ in the following scenario: 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!
On 2005-07-11, Clift Norris wrote: 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! "DD" wrote:
I'm puzzled how to mix managed/unmanaged C++ in the following scenario: 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!
On 2005-07-11, Clift Norris wrote: 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! "DD" wrote:
I'm puzzled how to mix managed/unmanaged C++ in the following scenario: 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!
Ok, it is "in the email". I sent a zipped VS.NET solution.
-Clift
"Sam Carleton" wrote: On 2005-07-11, Clift Norris wrote: 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!
"DD" wrote:
I'm puzzled how to mix managed/unmanaged C++ in the following scenario: 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!
Ok, it is "in the email". I sent a zipped VS.NET solution.
-Clift
"Sam Carleton" wrote: On 2005-07-11, Clift Norris wrote: 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!
"DD" wrote:
I'm puzzled how to mix managed/unmanaged C++ in the following scenario: 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!
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
"Clift Norris" <Cl*********@discussions.microsoft.com> wrote in message
news:CC**********************************@microsof t.com... 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
"DD" wrote:
I'm puzzled how to mix managed/unmanaged C++ in the following scenario: 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!
> 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. :-)
Clift Norris wrote: *I could send you a VS.NET solution containing projects tha demonstrate this, using C# and C++. Let me know if you are interested.
-Clift Norris
[/vbcol] *
I would also be very interested in this :) es*****@gmail.co
-
ghgd
-----------------------------------------------------------------------
Posted via http://www.mcse.m
-----------------------------------------------------------------------
View this thread: http://www.mcse.ms/message1722466.htm
Hi
I'd also be very interested in seeing the sample project.
My email is: mo********@hotmail.com
Thanks!
"Clift Norris" wrote: 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
"DD" wrote:
I'm puzzled how to mix managed/unmanaged C++ in the following scenario: 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!
OK, it is "in the mail"!
Have fun.
-Clift
"Steve" wrote: Hi
I'd also be very interested in seeing the sample project. My email is: mo********@hotmail.com
Thanks!
"Clift Norris" wrote:
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
"DD" wrote:
I'm puzzled how to mix managed/unmanaged C++ in the following scenario: > 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! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: DD |
last post by:
I'm puzzled how to mix managed/unmanaged C++ in the following scenario:
Unmanaged
------------
Callback listener class with method that should...
|
by: H.B. |
last post by:
Hi,
I need to make a function that can display data on my Managed C++ app and be
called by an unmanaged C++ DLL. Something like :
void...
|
by: Maxwell |
last post by:
Hello,
Newbie question here. I have a VS.NET 2003 MC++ (not C++/cli) project
where I have a managed class reference in a unmanaged class...simple...
|
by: harishashim |
last post by:
I am wrapping a digital camera API using Managed C++ VS .NET 2003). I
have this function that called as bellow in the API sample.
err =...
|
by: stillh2os |
last post by:
Hello.
I'm new to .NET, and I'm trying to implement a callback function. I want my managed C++ code to call an unmanaged function, passing in a...
|
by: DavidT |
last post by:
Hello,
at first, exuse if the following question is simple to solve, but i normaly coding with C# and now have to use C++/CLI for one project.
...
|
by: DavidT |
last post by:
Hello,
at first, exuse if the following question is simple to solve, but i
normaly coding with C# and now have to use C++/CLI for one project.
...
|
by: =?Utf-8?B?RWR3YXJkUw==?= |
last post by:
I would greatly appreciate some help on passing managed object into unmanaged
code.
I need to pass a reference (address of) of a managed class into...
|
by: Kenneth Porter |
last post by:
I have an unmanaged library that can accept an instance of an abstract
class and call back into it. I'm writing a wrapper for this library.
How...
|
by: tammygombez |
last post by:
Hey fellow JavaFX developers,
I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
|
by: better678 |
last post by:
Question:
Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct?
Answer:
Java is an object-oriented...
|
by: teenabhardwaj |
last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
|
by: CD Tom |
last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
|
by: CD Tom |
last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: Matthew3360 |
last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
| |