nav-left cat-right
cat-right
Matthias Pospiech > Articles by: pospiech

Save and Restore MBR and Partition

Recently I had a problem with my Windows Installation on the second disk which writes its own MBR in the disk. I had reinstalled Windows and several applications but after one day of work and one of those reboots the computer only reponded with the message “no disk found” or similar. I checked with the other disk containing the linux system, but the harddisk was there and all files seemed to be ok. So somehow...

Bilder nach png oder pdf konvertieren

Bilder mithilfe der geeigneten Tools in png oder pdf umwandeln eps2png-all.sh #!/bin/sh   for file in $(ls *.eps); do eps2png -png -resolution=300 $file ; done eps2pdf-all.sh #!/bin/sh   for file in $(ls *.eps); do epstopdf $file ; done svg2pdf inkscape -E "$EPS" "$SVG" cat "$EPS" | epstopdf --filter >...

Large and confusing wizard results

With MFC, one can use the wizard to generate a template from which one can proceed to code. Especially for a beginner like me this is a necessary tool. However such a template consists of a large amount of code which is hard to understand an makes it really difficult to understand MFC at the beginning. In the following is an example for a project using a Dialog-based-application. All other variants like SDI or MDI contain...

How to end the application

From Visual Basic I knew the simple command “end” to exit the application. A search in MSDN with similar phrases did not lead to a solution how to end a MFC application. The solution is the command following command, which calls a WM_DESTROY message: PostQuitMessage(0);

Books to read

I have searched a while and asked in several web groups for a good introduction to MFC with VS 2005. Unfortunately there is no new book specialized for VS 2005 and MFC excluding .Net (which I am not interested in at all). I was advised to take a look at “Programming Windows with MFC (1999)” from Jeff Proise. Unfortunately it is not only written for Visual Studio V. 6, which is not that bad since MFC has not...
Page 24 of 25« First...10...2122232425