Creating a break point that hits on calling win32 api

Create a break point that hits when CreateProcess was called Enter a Function Breakpoint Enter {,,kernel32.dll}CreateProcessW in the textbox labelled as ‘Function Name’. Showing call stack First, the break point might not hit in the main thread, in that case choose the main thread or other thread that you expect to call CreateProcess. For example,… Continue reading Creating a break point that hits on calling win32 api

Visual Studio’s resource editor fails to open a Form because the class is not the first class in the header file (C++/CLI)

Suppose you have a following header file and tries to open it in the resource editor of Visual Studio. namespace Ambiesoft { using namespace System;   ref class EncComboItem; ref class CSearchURL;   ref class AddHttpDicDialog : public System::Windows::Forms::Form { … } }namespace Ambiesoft { using namespace System; ref class EncComboItem; ref class CSearchURL; ref… Continue reading Visual Studio’s resource editor fails to open a Form because the class is not the first class in the header file (C++/CLI)

Differences of Command prompt of Visual Studio

There are many kind of shortcuts of command prompt of Visual Studio. Basically the differences are the setting of Host and Target. Host refers to the compiler or linker of which 64bit or 32bit is chosen. Target refers to the resultant exe or dll which is targeted 64bit or 32bit. Developer Command Prompt for VS… Continue reading Differences of Command prompt of Visual Studio