[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Forum
. -> [Folder]  Problems
. . -> [Subject]  TreeInfo : code won't compile

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: TreeInfo : code won't compile
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date 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
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date 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
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date 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
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date 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
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date 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
[Go to top] top

Posted by Phillosophy   (1 post)  [Biography] 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...
[Go to top] 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,510 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]