01-11-2009
|
#4
|
|
Last Online: 12-20-2021
Join Date: Mar 2006
Posts: 6,245
Thanks: 2,121
Thanked 3,365 Times in 1,740 Posts
Groans: 29
Groaned at 44 Times in 35 Posts
|
Re: Free Patriotic Movement Tone In C++
It Didn't Work For Me, I Downloaded The Compiled File You Uploaded, And I Hear Nothing
I Am Using Visual C++ 2008, You Have To Add #include <stdafx.h> As A PreCompiler Library, I Don't Know Why Though.
And The:
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) Didn't Work For Me, I Get This:
Code:
1>Linking...
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
1>C:\Studies\C++ Projects\Test\Debug\Test.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:\Studies\C++ Projects\Test\Test\Debug\BuildLog.htm"
1>Test - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I Tried The int main(void), It Worked.
Any Idea?
__________________
What we do in life, echoes in eternity.
|
|
|