close
If you have a Visual Studio C++, then run the next simple commands from command line:
CODEcl /MT /c msgapitest.cpp
link user32.lib RPCRT4.LIB msgapitest.obj
If you work GUI then do next steps:
- open msgapitest.cpp with Visual C++
- press compile button (CTRL+F7)
- press YES at question
- Build menu / Set Active Configuration... / select Win32 Release, OK
- Project menu / Settings... / "C/C++" tab
- Category: Code Generation
- Use run-time library: Multithreaded
- Choose "Link" tab
- Insert the "RPCRT4.LIB" into Object/library modules
- open msgapitest.cpp with Visual C++
- press compile button (CTRL+F7)
- press YES at question
- Build menu / Set Active Configuration... / select Win32 Release, OK
- Project menu / Settings... / "C/C++" tab
- Category: Code Generation
- Use run-time library: Multithreaded
- Choose "Link" tab
- Insert the "RPCRT4.LIB" into Object/library modules
That's all !
I hope it will be help you !
Bye !
I hope it will be help you !
Bye !
全站熱搜