>Are there any good examples of making Win32 API function calls from within
>managed code?
http://www.pinvoke.net/ has been mentioned a few times. Personally,
I haven't touched managed code, so I can't vouch for the site, but it
seems legit.
>Also... Is there anyway to run a separate app [eg 'run(MyApp.exe) '] from
>managed code?
If you can call one of the unmanaged _*spawn*() variants (see
MSDN), that should do the trick. Or maybe there's a managed version.
Nathan Mates
--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein
> Are there any good examples of making Win32 API function calls from within
> managed code?
C++/CLI can use windows API just like unmanaged C or C++. Just #include
<windows.h> first.
Micus - 13 Apr 2007 23:16 GMT
> > Are there any good examples of making Win32 API function calls from within
> > managed code?
>
> C++/CLI can use windows API just like unmanaged C or C++. Just #include
> <windows.h> first.