Your browser does not seem to support CSS. If images appear below, please disregard them.
Topic Options
Rate This Topic
#17126 - 09/07/03 08:36 AM Need Help with This program
Joined: Jan 2003
Posts: 217
Ntd Offline
Member
Ntd Offline
Member

Joined: Jan 2003
Posts: 217
Melbourne, Victoria, Australia
Hey all i to complie a program that i copied out of a book, however when i do i get this error :
--------Configuration: skeleton - Win32 Debug-------
Compiling...
skeleton.cpp
C:\Documents and settings\NTD\My Documents\skeleton.cpp(7) : error c2146: syntax error : missing ';' before identifer 'CALLBACK'
C:\Documents and settings\NTD\My Documents\skeleton.cpp(7) :error c2501: 'LRESULT' : missing storage-class or type specifiers
C;\Documents and settings\NTD\My Documents\Skeleton.cpp(7) : fatal error c1004: unexpected end of file found
Error executing cl.exe

Line 7 looks like this: LRESULT CALLBACK WndProc(HWND hWindow, UINT msg, WPARAM wParam, LPARAM lParam);

Since i copied the code from a book i then decided to use the CD-ROM and change the cpp files i did and when i complied it i got these errors:-

Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/skeleton.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe

I am using windows.h for the header file. And the books cd comes with Borland C++ but i already have Microsoft's one would that make a difference?

-------By the way----------
Whats up with these disturbing pics

[bj] [bukkake] [ky] [op] ?????

Top
Sponsored Links
#17127 - 09/07/03 09:55 AM Re: Need Help with This program
Joined: Sep 2003
Posts: 36
Coleman Offline
Junior Member
Coleman Offline
Junior Member

Joined: Sep 2003
Posts: 36
Castro Valley
Dont know answer to ur problem, but i just wanted to second on ur other question..."Whats up with these disturbing pics

?????"


Applesauce is evil and should be baned from the earth!!!!!!
Top
#17128 - 09/12/03 03:41 AM Re: Need Help with This program
Joined: Jan 2003
Posts: 217
Ntd Offline
Member
Ntd Offline
Member

Joined: Jan 2003
Posts: 217
Melbourne, Victoria, Australia
Ok this is weird! I used the same code and everything! But this time I started the project again and now it works?

Top
#17129 - 09/12/03 11:51 PM Re: Need Help with This program
Joined: Mar 2002
Posts: 599
BackSlash Offline
UGN's Resident Homo
BackSlash Offline
UGN's Resident Homo

Joined: Mar 2002
Posts: 599
TN
those pics turn me on, i love jerking it off to smiley sex


"It's better to burn out, than to fade away."
Top
#17130 - 09/13/03 10:38 AM Re: Need Help with This program
Joined: Sep 2003
Posts: 36
Coleman Offline
Junior Member
Coleman Offline
Junior Member

Joined: Sep 2003
Posts: 36
Castro Valley
dude thats the most sickest and disgusiting thing i have ever heard that made ma laff so hard backslash.
@_@ weird and creepy...ALL AT ONCE!


Applesauce is evil and should be baned from the earth!!!!!!
Top

Member Spotlight
Gremelin

Gremelin
Portland, OR; USA
Posts: 7,195
Joined: February 2002
Show All Member Profiles 
Sponsored Links
Forum Statistics
Forums46
Topics46,475
Posts81,645
Members2,157
Most Online1,567
Apr 25th, 2010
Latest Postings
Top Posters(All Time)
UGN Security 39,639
Gremelin 7,195
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860