M
Mr.Baha
I have a situation where I want to consume VC++ code that someone else
has written. This C++ code compiles into a console app exe, and I have
all of it's source code. For the record, this app listens to a comm
port for a stream of proprietary data it is expecting.
What I want to do with it is be able to instantiate this "listening()"
function from my C# WinForm and display it's console output to my
Textbox. If this C++ code compiled into a DLL I could use the
PInvoke, but it compiles into a .exe and I do not know how to change
this within the project(in vstudio6). It also does not implement any
COM interfaces for me to use.
Can anybody tell me any glaring things that I am overlooking to be able
to use this unmananged method?
Thanks
Mr.Baha
has written. This C++ code compiles into a console app exe, and I have
all of it's source code. For the record, this app listens to a comm
port for a stream of proprietary data it is expecting.
What I want to do with it is be able to instantiate this "listening()"
function from my C# WinForm and display it's console output to my
Textbox. If this C++ code compiled into a DLL I could use the
PInvoke, but it compiles into a .exe and I do not know how to change
this within the project(in vstudio6). It also does not implement any
COM interfaces for me to use.
Can anybody tell me any glaring things that I am overlooking to be able
to use this unmananged method?
Thanks
Mr.Baha