I have to port our sourcecode from Visual Studio 6 to Visual Studio 8 (2005).
In the existing code quite at the beginning of the program the function OnNewDocument() is called.
Calls made there to AfxGetMainWnd() return NULL in Visual Studio 8 while they return useful values when the same sourcecode is compiled with Visual Studio 6.
create a pointer to the CMainFrame object and use that pointer instead of what AfxGetMainWnd() is returning. the CMainFrame object remains constant throughout the lifetime of the application's runtime,
Hints for the grid button. Nested classes, templated collections. Squash that darned bug!
Continuing from the sixth article about sudoku.
Open the project in visual studio.
First we will finish with the SUD_SETVALUE messa…
Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers). Error trapping with try..catch to help the code run even if something goes wrong.
Continuing from the seve…