Author: Tom Kerrigan
Date: 08:43:10 06/12/00
Go up one level in this thread
On June 12, 2000 at 05:17:26, JW de Kort wrote: >On June 11, 2000 at 17:49:13, James Swafford wrote: > >>On June 11, 2000 at 17:32:12, JW de Kort wrote: >>> >>>Thank James for your reply. >>> >>>I have already tried this and it did not work. (Of course i will try again). >>>Can you tell me if it is possible to compile ordinairy c sources with Visual >>>c++? I have tried to understand MFC but this was far to complicated for me. >>>No i want to try windows programming the way it is discribed in the book by >>>Petzold, maybe you heared about this book, but i start to wonder if it is >>>possible. >>>Can it be that there is some compiling option that is not put the proper value? >>> >>>Thanks again.. >>> >>>Jan Willem >> >>If memory serves, 1120 is an unresolved external. Perhaps >>you haven't included both source modules in your project >>workspace? Basically, the linker is saying "I can't find >>this function in your source..." >> >>-- >>James > > >Thank you James for your reply. I have done all this already. I will explain in >more detail what i did: > >1. I openend a new workspace for an apllication (so no MFC, and not a console). >2. I typed in the windows start code to open a window. This compiled fine. >3. I openend a new file, typed in my routine and entered this into the project >by using the insert option. >4. I wrote the necessary headerfiles and made a reference to it in the >approprate files. >5. Compiled it again and gor the message wich indeed means the compiler cannot >find something. > >I must be doing something wrong, and it must be - i hope - be a simple solution >to this problem. > >It would be very painfull if i cannot solve it because then i would have to go >back to my turbo c 3.1 compiler to further develop my chess program. > >Thanks again, Jan WIllem There's a window that floats around in Visual Studio by default. It lists the files that are currently in your project. Make sure both of your source files have been added correctly. And again, don't use the "extern." BTW, Microsoft C hasn't been around for years. You're probably using Visual C++. -Tom
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.