Tip: Quoting arguments to WIN32 (DOS?) programs
Here are the quoting rules I have discovered through trial and error. If you follow these guidelines, MSVCRT.dll will decode the arguments properly and pass the correct parameters to main(argc,argv). I...
View ArticleA library for printing stack traces in win32
http://www.eptacom.net/pubblicazioni/pub_eng/except.html The linked article is a nice library for doing stack backtraces from the result of an exception in your program.
View Articleffcall and Windows XP Data Execution Prevention
Summary: The ffcall library which is used in the GNUStep base library has a problem on Windows XP SP2 (and later) if Data Execution Prevention is turned on for all programs. Details: Here is a patch to...
View ArticleRedirecting the output of a program to a file in .NET framework
It doesn’t seem like this should be so hard, but it is. The Win32 CreateProcess API call has two nifty ways to do this. 1) Inherit handles from the parent process. So open the log file as your own...
View Article