Category Archives: Windows programming tips

About Letting Your Program Die in Peace

requirement: medium knowledge of C/C++ or similar languages under MS Windows. One of the problem of writing a problem are the coding errors. There are many types of errors but the worst ones are those that trigger a Chernobyl reactor like effect. Something wrong occurs during the program execution, and instead of dying peacefully, it loses any control multiplying the magnitude of the event. Although … Continue reading About Letting Your Program Die in Peace »

About Using & Designing DLLs

requirement: medium knowledge of C/C++ or similar languages under MS Windows. Introduction Some days ago, I was explaining how a .DLL works, and how to use them in programs written into C or C++. Supposing to have MYAPP.EXE and MYLIB.DLL, we will face the following main scenarios: scenario MYAPP.EXE MYLIB.DLL 1 The program uses MYLIB.DLL. The used functions are all exported. 2 The program uses … Continue reading About Using & Designing DLLs »