473,320 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 3791
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***@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.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***@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.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***@discussions.microsoft.com> wrote in message
news:FA**********************************@microsof t.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***@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.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***@discussions.microsoft.com> wrote in message
news:FA**********************************@microsof t.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***@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.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
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,...
5
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...
2
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...
2
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...
6
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...
5
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...
0
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...
1
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...
0
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.