Calling OS Procedures/C++ through c#

  • Thread starter Thread starter weird0
  • Start date Start date
W

weird0

#1 . How can one call OS Procedures through c# code?

#2. How can one call c++ code through C# application? Do I have to
make a COM Component for that? No Idea whatsoever about COM
Components.

Please, refer some links and make suggesstions.

Thanks in advance.
 
weird0 said:
#1 . How can one call OS Procedures through c# code?

#2. How can one call c++ code through C# application? Do I have to
make a COM Component for that? No Idea whatsoever about COM
Components.
"Platform invoke" is the answer to both of your questions. Google it.
 
"Platform invoke" is the answer to both of your questions. Google it.

And you might find www.pinvoke.net useful as a reference for OS
routines.

Cheers,
Mark
--
|\ _,,,---,,_ A picture used to be worth a
ZZZzzz /,`.-'`' -. ;-;;, thousand words - then along
|,4- ) )-,_. ,\ ( `'-' came television!
'---''(_/--' `-'\_)

Mark Stevens (mark at thepcsite fullstop co fullstop uk)

This message is provided "as is".
 
Back
Top