Hi all,
I got very well solution for my problem of executing win32 Project via Command Prompt but problem goes really hard when i deal .h files.
My previous useful post
Executing Win32 application via CL command[
^]
For feedback on above post i really Thanks
Richard MacCutchan[
^] and
CPallini[
^] both of them.
Question Arised:-
I have Win32 API with 3 .cpp file and 2 .h(header files)
My
int main() function has function call AddTwoNumber()
Which member function of ManupulateValue Class
Now
When i trown command like
cl main.cpp
then i got linking error
Unresolved external symbol AddTwoNumber()
Then I trown command like
cl main.cpp ManupulateValue.cpp
main compile successfully but while compiling ManupulateValue.cpp i got again liking error
UnResolve symbol GetRamdom()
GetRamdom() is Member of GetValue.h header file.
Now My question:-
How i link .h file to my compile process so that .h file can also get include.