This stuff will not work if you have'nt Framework installed on the target machine. You better use unmanaged C++ for this application...
User 138817
Posts
-
Silent EXE application -
Avoiding memory problemsActually, real allocatable memory less than 2147483647, especially when you use CString or CByteArray classes. CString and CByteArray allocate memory in process heap, and exception will rise when you allocate more than aproximately 256 Mb. So better allocate memory in 10 heaps by 100 Mb than in 1 Heap by 1Gb... WBR NB
-
How to get Windows Directory with C#[DllImport("kernel32.dll", CharSet=CharSet.Auto)]private static extern uint GetWindowsDirectory( [MarshalAs(UnmanagedType.LPTStr)] System.Text.StringBuilder lpBuffer, // buffer for Windows directory uint uSize // size of directory buffer); Really great language C#. Fast, simple and very comfortable...
-
COM-port for multiple applicationsHi All ! Does anyone know the way to share one COM-port for a few applications ? I know that OS gives only one handle for COM-port for all applications, but may be exist some sharing method ?
-
SuspendThread problemQuestion is simple but mystic. Why calling SuspendThread inside overloaded Run function of CWinThread-based class dont pause thread execution ?? Does anyone khow ? WBR NB
-
Stupid question about VC6 to VC.Net migration reasonPlease, can anyone say me reasons for buying VS.Net and using managed C++ instead unmanaged C++ (and C# instead Java for Web) ? Except compatibility ( "you can use this applications anywere... where Windows and .Net framework installed, heh ")and fashion reasons %) I'm sorry for this vulgar question, but i cant find this reasons by myself. Can anyone help me ? P.S. I forgot - call "delete" for any called "new" is not a problem for me WBR NB