|
TreeInfo : code won't compile
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Phillosophy
(1 post) bio
|
| Date |
Fri 01 Jul 2005 01:41 AM (UTC) [ quote
] |
| Message |
I'm using Visual C++ 6 to recompile the code and turn up with the linking error:
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/TreeInfo.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
TreeInfo.exe - 2 error(s), 0 warning(s)
Any idea how to go about modifying this and getting it to build and compile correctly? thanks in advance... | top |
|
| Posted by |
David Haley
USA (3,881 posts) bio
Moderator |
| Date |
Reply #1 on Fri 01 Jul 2005 01:48 AM (UTC) [ quote
] |
| Message |
What is TreeInfo? Why is this post in the forum help section?
Your problem is that you haven't defined a WinMain function. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | top |
|
| Posted by |
Greven
Canada (835 posts) bio
|
| Date |
Reply #2 on Fri 01 Jul 2005 08:16 PM (UTC) [ quote
] |
| Message |
| Treeinfo is one of the programs that Gammon has under the download section, I beleive. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | top |
|
| Posted by |
David Haley
USA (3,881 posts) bio
Moderator |
| Date |
Reply #3 on Fri 01 Jul 2005 08:20 PM (UTC) [ quote
] |
| Message |
Ah, thanks Greven.
Looking at the source code, it is a console application. If your problem is that you don't have a WinMain, that means that you created your project as a Win32 GUI application, and not a Win32 console application. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | top |
|
| Posted by |
Nick Cash
USA (626 posts) bio
|
| Date |
Reply #4 on Fri 01 Jul 2005 08:50 PM (UTC) [ quote
] |
| Message |
| Indeed that would be the problem. Even so, should this really be under forum - how to use it? :P |
~Nick Cash
http://www.nick-cash.com | top |
|
| Posted by |
David Haley
USA (3,881 posts) bio
Moderator |
| Date |
Reply #5 on Fri 01 Jul 2005 08:51 PM (UTC) [ quote
] |
| Message |
| No, not really... :) If it were up to me *winkwink* I'd move it into the general programming section. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
3,545 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )