Kennt jemand den Code oder haben Ideen, wie eine exe mit Visual C++ kick off 2005starten Exe von Visual C++ 2005 dll
Die Umgebung der DLL auf, wenn Windows Mobile ist. Die C# dies mit P zu tun/Invoke
[DllImport ("coredll.dll")] private static extern int Createprocess (string strImageName, string strCmdLine, IntPtr pProcessAttributes, IntPtr ist pThreadAttributes, int bInheritsHandle, int dwCreationFlags, IntPtr pEnvironment, IntPtr pCurrentDir, Byte [] bArray, ProcessInfo oProc);
// C# -Code .exe Createprocess ("\ Programme \ myprogram \ myprogram.exe.exe", "" zu beginnen, IntPtr.Zero, IntPtr.Zero, 0, 0, IntPtr.Zero, IntPtr. Null, neues Byte [128], pi);
Der Grund, warum ich es in C++ brauche, ist, weil ich gezwungen bin, eine native DLL zu verwenden, um vor und nach Init-Checks usw. auszuführen, wenn ich ein benutzerdefiniertes cab-Installationsprogramm ausführe.
Ihre Gedanken werden sehr geschätzt. Tony
Warum würden Sie das Gewicht eines CString für so etwas nutzen? – ctacke