Additionally, you should expect your Teacher/TA/Assignment-marker to be an "evil knave of the worst kind", looking to find ways to make your program crash
I've found I learned more from the 'evil knave' types than those who were 'playing nice'. Nothing prepares you better for the real world than nasty traps!
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
I wrote a small utility tool with MFC (for user interface) and purely C++ code.
on Windows 10 and in Visual Studio 2017 IDE, I compiled this program into .exe file (i.e. HelloX.exe) in MFC dynamic DLL option.
So I put vcruntime140.dll and mfc140u.dll at the same folder.
I test my program on Windows Vista, it works well. I just tested this program on Windows XP and it did not work(few minutes ago).
Any suggestion or comments to share? thanks a million.
The downside to linking statically is your executable size will be bigger but it only links the classes and functions your executable calls whereas, in the dynamically linkage case, the VC++ dlls have to contains all the code regardless your executable calls them or not.
is defined in my resource file I basically took the menu for the MainFrame and wanted to use it for the Dialog
Opening up The resource editor I am beginning to think when you view a dialog with menu it wont display it
There is a only a way to view the menu by itself
once I get my code going and do a ShowWindow for the Dialog i'll see if it displays the menu
MENUITEM "E&xit", ID_APP_EXIT
MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
MENUITEM "Program Debug", ID_DEBUG
MENUITEM "Address Space List", ID_ASID
MENUITEM "&About DBGR...", ID_APP_ABOUT
I wanted to launch 'Caliberate the screen for Pen or touch input' (Tablet PC Settings) using Rundll32 Commands in Windows 10.
for ex like : rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl
Is anyone have an idea how to do it for this option. tabletpc.cpl option opening 'Pen and touch' window. I wanted to open Tablet PC Setting window not the Pen and Touch window.