codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  C++ Beginner question  Xargo at 15:53 on Wednesday, September 14, 2005
 

I downloaded the trial of Borland CBuilder 6, but I always get these errors when I try to compile/make/build a project:

Build
[Linker Error] Unresolved external '__InitVCL' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\CP32MTI.LIB|crtlvcl
[Linker Error] Unresolved external '__ExitVCL' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\CP32MTI.LIB|crtlvcl
[Linker Error] Unresolved external 'WinMain' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\C0W32.OBJ

I hope you guys can help me further.

Thanks in advance,
signed Xargo. :)

  Re: C++ Beginner question  vector at 16:58 on Wednesday, September 14, 2005
 

plz provide us with the source code so that we may be able to debug what's happening

  Re: C++ Beginner question  Xargo at 18:19 on Wednesday, September 14, 2005
 

Lol:

// my first program in C++

#include <iostream.h>

int main ()
{
cout << "Hello World!";
return 0;
}

:p I got it with many other source files too.

  Re: C++ Beginner question  vector at 18:37 on Wednesday, September 14, 2005
 

unresolved external refrences error are genrally shown by the linker when it is not able to link the functions in the code with their definations in other object modules or the libraries.....so make sure your installation is proper...no files are mising...or may be the directory setting(path settings) of your library is not proper...do check it....

this what i could think of...

  Re: C++ Beginner question  Xargo at 19:04 on Thursday, September 15, 2005
 

The program is installed recently, about three days ago. I didn't touch the directories of the program itself and it worked at the beginning, so it's definitely not a corrupted/changed directory.

But I think I know the problem already. This errors appeared after I saved a cpp file in another directory, from then on I had it. And when I go look to the directories settings, these are them:

Include path
C:\Program Files\Borland\CBuilder6\Bin;F:\C++\My Programs;$(BCB)\include;$(BCB)\include\vcl

Library path
C:\Program Files\Borland\CBuilder6\Bin;F:\C++\My Programs;$(BCB)\lib\obj;$(BCB)\lib

Debug source path
$(BCB)\source\vcl

If you look to the include and library path the directory where I saved my cpp files are added to it. If I delete the path of the F harddisk I just get other errors, for example that he can't find the including file iostream.

  Re: C++ Beginner question  Yusairi at 02:51 on Thursday, September 22, 2005
 

the location path at INCLUDE and LIBRARY are very
IMPORTANT to define to ensure you can linking on each
your source code. Actually, for standard path, you
will always get something like this :-

Include path
C:\Program Files\Borland\CBuilder6\Bin;$(BCB)\include;$(BCB)\include\vcl

Library path
C:\Program Files\Borland\CBuilder6\Bin;$(BCB)\lib\obj;$(BCB)\lib

Debug source path
$(BCB)\source\vcl

then, after you had created a programming code/system, maybe you will save it on another location and it should be include at INCLUDE and LIBRARY too.

Besides that, after you are familiar with BCB6, you will
get some add-on tool/component and this is part of
INCLUDE and LIBRARY path need to insert and to be concern
by you.

Have Fun While Using BCB6. I Like to use this superb
IDE Software.
Yusairi: site expert
http://www.codetoad.com


  Re: C++ Beginner question  Xargo at 18:32 on Friday, September 23, 2005
 

Ok thank you very much. :)

I decided to choose for C# for more reasons. ;)

Bye bye.

  Re: C++ Beginner question  !aborabi at 14:15 on Monday, July 24, 2006
 

Thank you. Very helpfull article for Java Hosting








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
• C++
• Re: refresh parent after closing pop up window
• Dynamic Insertion
• Date and Time function around the world???
• Significant Factors
• Perl array access
• Re: huffman encoding and decoding in C++...
• Perl One Liner: Replace {(
• Re: html including php, accessing the functions


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2009