For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > February 2005 > creating new project in visual studio 6









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author creating new project in visual studio 6
Liat

2005-02-22, 8:58 am

Hi,

I am trying to remember how I used to open a new project in visual studio 6.
I don't remember which option I used to choose...

I have the projects I used to create - can I get this info from there?
(in those projects, the c and h files are together under the project - not
separated to source and header folders)

I tried some options from the project types and eventhough I wrote the
"main" function, I got this -
"Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/try.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe."


Please help me,
Liat


Eric A. Johnson

2005-02-22, 4:01 pm


"Liat" <liat_oren@yahoo.co.uk> wrote in message
news:A7C942C4-147C-4E38-9E11-D1290059EAB4@microsoft.com...
> Hi,
>
> I am trying to remember how I used to open a new project in visual studio
> 6.
> I don't remember which option I used to choose...
>
> I have the projects I used to create - can I get this info from there?
> (in those projects, the c and h files are together under the project - not
> separated to source and header folders)
>
> I tried some options from the project types and eventhough I wrote the
> "main" function, I got this -
> "Linking...
> LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol
> _WinMain@16
> Debug/try.exe : fatal error LNK1120: 1 unresolved externals
> Error executing link.exe."
>
>

One thing you might try is making sure that you let the compiler know what
directory to look in for your .h files. In the Tools menu, go to Options,
then click on the Directories tab. Double-click the highlighted last line
of the Directories window, then click the ... button and maneuver to the
directory that contains the .h files.

> Please help me,
> Liat


I hope I have! :-)

-- Eric


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com