Turn your Mobile Apps into m-commerce apps – Learn More!

You're Browsing As A Guest! Register Now...
Become a C++ Expert!

Join 414,938 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,691 people online right now.Registration is fast and FREE... Join Now!



Linker Error in C++ Linker errors Rate Topic: -----

#1 freddyjones39  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 23-June 08


Dream Kudos: 0

Share |

Linker Error in C++

Posted 03 July 2008 - 03:01 PM

I have just switched from programing on PUtty to visual basics, and I am having a really hard time getting started. I code in C++ (just learning). When I write even a simple program I get a "[Linker Error] Unresolved external '_Form1' referenced from C:\DOCUMENTS AND SETTINGS\DEVON\DESKTOP\PROJECT1.OBJ" and I have no idea what it is!
Please help, thanks for your time!
Was This Post Helpful? 0
  • +
  • -


#2 anand_the_great  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 1
  • View blog
  • Posts: 47
  • Joined: 15-April 08


Dream Kudos: 0

Re: Linker Error in C++

Posted 03 July 2008 - 04:39 PM

Dude you got to start a new program and learn from the start.
Go to www.devdos.com/vb/lesson1.
Thank You.
Anand.
Was This Post Helpful? 0
  • +
  • -

#3 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • Icon

Reputation: 138
  • View blog
  • Posts: 4,631
  • Joined: 26-November 04


Dream Kudos: 2825

Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

Re: Linker Error in C++

Posted 04 July 2008 - 05:37 AM

Could you show us the code that is causing the error?
Was This Post Helpful? 0
  • +
  • -

#4 freddyjones39  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 23-June 08


Dream Kudos: 0

Re: Linker Error in C++

Posted 04 July 2008 - 02:39 PM

View Postborn2c0de, on 4 Jul, 2008 - 06:37 AM, said:

Could you show us the code that is causing the error?

I get this error for basically any code, I think maybe something screwed up in the downloading process. Here is some code that gave errors, followed by the errors.
Thanks for your time.

#include<iostream>
using namespace std;
int main()
{
cout<<"What's wrong!"<<endl;
return 0;
}


with these [copied] errors:
[Linker Error] Unresolved external '_Form1' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\BIN\PROJECT2.OBJ
and
[Linker Error] Unresolved external 'TForm1::' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\BIN\PROJECT2.OBJ
Was This Post Helpful? 0
  • +
  • -

#5 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • Icon

Reputation: 1398
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07


Dream Kudos: 12950

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net, jQuery

Re: Linker Error in C++

Posted 04 July 2008 - 03:19 PM

This Forum is for Visual Basic 6 and older questions, I'm moving this to the C/C++ Forum so it can get the proper attention :)
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users