473,796 Members | 2,619 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

LNK2001 : unresolved external symbol ___pfnBkCheck

I am new to C programming, and trying to run a console program on VC98 C++
version 6.0. service pack 5.0. I am running on WinXP SP2. The C program is
just a simple 'hello world'. But it's not working. It worked before, but
now I have visual fortran installed. Visual Fortran is included in the
Microsoft Visual Studio folder. Probably the error arises due to an
incorrect setting of fortan, but I don't know - it installed with no error
messages.
Here's what it says at the bottom of the C code:
Linking...
First.obj: error LNK2001 : unresolved external symbol ___pfnBkCheck
Debug/First . exe: fatal error LNK1120: 1 unresolved externals
Error executing link . exe.
Nov 17 '05 #1
4 3812
This normally only happens when you compile with Visual C++ 6.0 Introductory
Editions. These edition do not allow you to redistribute code created with
them (only run it inside the IDE).

Ronald Laeremans
Visual C++ team

"Ralph" <Ra***@discussi ons.microsoft.c om> wrote in message
news:77******** *************** ***********@mic rosoft.com...
I am new to C programming, and trying to run a console program on VC98 C++
version 6.0. service pack 5.0. I am running on WinXP SP2. The C program
is
just a simple 'hello world'. But it's not working. It worked before,
but
now I have visual fortran installed. Visual Fortran is included in the
Microsoft Visual Studio folder. Probably the error arises due to an
incorrect setting of fortan, but I don't know - it installed with no error
messages.
Here's what it says at the bottom of the C code:
Linking...
First.obj: error LNK2001 : unresolved external symbol ___pfnBkCheck
Debug/First . exe: fatal error LNK1120: 1 unresolved externals
Error executing link . exe.

Nov 17 '05 #2


"Ronald Laeremans [MSFT]" wrote:
This normally only happens when you compile with Visual C++ 6.0 Introductory
Editions. These edition do not allow you to redistribute code created with
them (only run it inside the IDE).

Ronald Laeremans
Visual C++ team

"Ralph" <Ra***@discussi ons.microsoft.c om> wrote in message
news:77******** *************** ***********@mic rosoft.com...
I am new to C programming, and trying to run a console program on VC98 C++
version 6.0. service pack 5.0. I am running on WinXP SP2. The C program
is
just a simple 'hello world'. But it's not working. It worked before,
but
now I have visual fortran installed. Visual Fortran is included in the
Microsoft Visual Studio folder. Probably the error arises due to an
incorrect setting of fortan, but I don't know - it installed with no error
messages.
Here's what it says at the bottom of the C code:
Linking...
First.obj: error LNK2001 : unresolved external symbol ___pfnBkCheck
Debug/First . exe: fatal error LNK1120: 1 unresolved externals
Error executing link . exe.


Sorry, I'm a bit confused. When I purchased the product, I knew that as a
condition of sale - I wouldn't be able to use it professionally. I don't
share
or give or make a profit from the software - I'm just trying to learn C at
home.
So if I'm not marketing anything - I suppose I'm not redistributing it either.
( The same goes for the visual fortran - I'm strickly a home user, trying to
build basic fortran programs.)

I'm not sure what your reference to -'run it inside the IDE' -has to do with
me. Does
this mean that I have to uninstall the fortan?
I've reread the manual, and am following the same procedures as before.
Nov 17 '05 #3
The way I understand it, with this edition you cannot create a standalone
..exe file at all (the VC product, should be independent of the Fortran part
unless the Fortran add-in uses the same mechanism).

Ronald

"Ralph" <Ra***@discussi ons.microsoft.c om> wrote in message
news:FA******** *************** ***********@mic rosoft.com...


"Ronald Laeremans [MSFT]" wrote:
This normally only happens when you compile with Visual C++ 6.0
Introductory
Editions. These edition do not allow you to redistribute code created
with
them (only run it inside the IDE).

Ronald Laeremans
Visual C++ team

"Ralph" <Ra***@discussi ons.microsoft.c om> wrote in message
news:77******** *************** ***********@mic rosoft.com...
>I am new to C programming, and trying to run a console program on VC98
>C++
> version 6.0. service pack 5.0. I am running on WinXP SP2. The C
> program
> is
> just a simple 'hello world'. But it's not working. It worked
> before,
> but
> now I have visual fortran installed. Visual Fortran is included in the
> Microsoft Visual Studio folder. Probably the error arises due to an
> incorrect setting of fortan, but I don't know - it installed with no
> error
> messages.
> Here's what it says at the bottom of the C code:
> Linking...
> First.obj: error LNK2001 : unresolved external symbol ___pfnBkCheck
> Debug/First . exe: fatal error LNK1120: 1 unresolved externals
> Error executing link . exe.


Sorry, I'm a bit confused. When I purchased the product, I knew that as
a
condition of sale - I wouldn't be able to use it professionally. I don't
share
or give or make a profit from the software - I'm just trying to learn C at
home.
So if I'm not marketing anything - I suppose I'm not redistributing it
either.
( The same goes for the visual fortran - I'm strickly a home user, trying
to
build basic fortran programs.)

I'm not sure what your reference to -'run it inside the IDE' -has to do
with
me. Does
this mean that I have to uninstall the fortan?
I've reread the manual, and am following the same procedures as before.

Nov 17 '05 #4
Okay thanks for your efforts.

"Ronald Laeremans [MSFT]" wrote:
The way I understand it, with this edition you cannot create a standalone
..exe file at all (the VC product, should be independent of the Fortran part
unless the Fortran add-in uses the same mechanism).

Ronald

"Ralph" <Ra***@discussi ons.microsoft.c om> wrote in message
news:FA******** *************** ***********@mic rosoft.com...


"Ronald Laeremans [MSFT]" wrote:
This normally only happens when you compile with Visual C++ 6.0
Introductory
Editions. These edition do not allow you to redistribute code created
with
them (only run it inside the IDE).

Ronald Laeremans
Visual C++ team

"Ralph" <Ra***@discussi ons.microsoft.c om> wrote in message
news:77******** *************** ***********@mic rosoft.com...
>I am new to C programming, and trying to run a console program on VC98
>C++
> version 6.0. service pack 5.0. I am running on WinXP SP2. The C
> program
> is
> just a simple 'hello world'. But it's not working. It worked
> before,
> but
> now I have visual fortran installed. Visual Fortran is included in the
> Microsoft Visual Studio folder. Probably the error arises due to an
> incorrect setting of fortan, but I don't know - it installed with no
> error
> messages.
> Here's what it says at the bottom of the C code:
> Linking...
> First.obj: error LNK2001 : unresolved external symbol ___pfnBkCheck
> Debug/First . exe: fatal error LNK1120: 1 unresolved externals
> Error executing link . exe.

Sorry, I'm a bit confused. When I purchased the product, I knew that as
a
condition of sale - I wouldn't be able to use it professionally. I don't
share
or give or make a profit from the software - I'm just trying to learn C at
home.
So if I'm not marketing anything - I suppose I'm not redistributing it
either.
( The same goes for the visual fortran - I'm strickly a home user, trying
to
build basic fortran programs.)

I'm not sure what your reference to -'run it inside the IDE' -has to do
with
me. Does
this mean that I have to uninstall the fortan?
I've reread the manual, and am following the same procedures as before.


Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
763
by: Bil Muh | last post by:
Hello Developers, I use VC++ .NET v2003. By using Windows Forms .NET, I am developing an application which will work with TCP/IP functions. I can Build my application in Debug Mode normally, but, whenever I want to Build at Release Mode, compiler gives LNK2001, LNK2019 ve LNK1120 errors. I read the MSDN documents, unfortunately, I could not solve my problem. I am requesting your help. All errors are below with my application name...
5
2851
by: eberesche | last post by:
Hello, as a novice in ASN.1 I have me to a project in C ++ under use of ASN.1 - structures risquély. One of my colleagues means, this would deal something with masochism ;-). Result should be a DLL which provides the exchange of documents between a DMS and a remote data base. My developing environment is MSVS v.7.1, and the ASN.1 - source texts are generated with the compiler asn1c-0.9.20. Therefore I have in the project cpp-, as well as c...
2
3000
by: Angus | last post by:
Hello I am using some classes from a third party and have included them in my projecxt and am compiling and linking with them. Everything compiles ok but I get these link errors: I added all your files to my project and recompiled. Now everything compiles as before but get these link errors:
2
7152
by: Maydogg6 | last post by:
I need a hand with some stubborn link errors. I'm trying to recreate and old program from 6.0 into .NET, but for some reason when I try to compile I'm getting linking errors for all my function calls that deal with sockets. I've included <winsock2.h> in stdafx.h and I linked to ws2_32.lib by going to project properties->linker->general->additional library directories and typing in ws2_32.lib. Am I missing some include files or have the...
6
121921
by: sadegh | last post by:
Hi I have a problem with my program in VC++6 When I compile it, the following errors are listed. I spend a lot of time on the groups.google.com to find its reason, but none of comments could not help me. Does any body know what is the problem?. Thanks. OtherFunctions.obj : error LNK2001: unresolved external symbol "int
5
4802
by: bonnielym84 | last post by:
Im new here..didnt noe whether is this the rite way to post my problem..Really need help here..i've been stucked in this error from last wk..My problem is like this..Im using VC++ 6.0 to compile my C codes so that i could generate a dll file out of it and used in my C# program.. When I compile, got no error and no warning. But when i build it, i have these errors.. *beginning* sendrcv.obj : error LNK2001: unresolved external symbol "int...
0
1899
by: bonnielym84 | last post by:
Im new here and im not sure whether is this the right place for me to post my question..anyway..hope that you can help me..i have been stucked in this problem since last wk..My problem is..I'm using VC++6.0 to compile my C code in order to get a DLL file for my C# program..but then..when i compile and build..i get 9 errors..n here they are... *beginning* sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_RECEIVE(struct...
1
2393
by: mahricky | last post by:
i have the following error msg when i buid one of my cpp projects in visual studio 6. pls help me, it's very urgent. extures.obj : error LNK2001: unresolved external symbol "public: __thiscall Scene::Scene(void)" (??0Scene@@QAE@XZ) textures.obj : error LNK2001: unresolved external symbol "public: __thiscall Robot::Robot(void)" (??0Robot@@QAE@XZ) textures.obj : error LNK2001: unresolved external symbol "public: __thiscall...
0
2708
by: Ryan Gaffuri | last post by:
hlink72@hotmail.com (Eric) wrote in message news:<ab8d8b14.0308220550.54fb5f22@posting.google.com>... LNK1120 is a standard C++ error. you using Visual C++? Means your references a class that doesnt exist or something similiar to that. explanation on microsoft.com its not an oracle specific problem.
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9533
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10239
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10190
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9057
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6796
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.