[ADVANCED-DOTNET] Process.CreateProcess for Compact Framework

2002-06-21 Thread LIK MUI
I am trying to invoke an external process using System.Diagnostic.Process class for CompactFramework. But apparently it does not exist (checked using ildasm on the CF mscorlib). I also tried using P/Invoke on CoreDLL.dll to use its CreateProcess() but got a "System.NotSupportedException". Does

Re: [ADVANCED-DOTNET] PInvoke, WinCE, and CompactFramework

2002-06-21 Thread Lik Mui
Thanks Paul for pointing that out. Your approach seems to suggest that name mangling is due to the C++ compiler for C++ symbols but ok for regular C (perhaps for other languages like vb, C#, ...). Can you provide some more insights on this name mangling issue? You can read messages from the Adv

Re: [ADVANCED-DOTNET] PInvoke, WinCE, and CompactFramework

2002-06-20 Thread Lik Mui
Craig and others, thanks for all your inputs. Craig, it is great to hear from you! It turns out the .NET CF only supports explicit export via a .DEF definition file. I added a .DEF file in addition to the __declspec (dllexport) and most functions seem to work fine. >> In the DLL, there is a