If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Pervasive 2000 with Visual C++ 6

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-01-11, 22:07
Gad Tavor Gad Tavor is offline
Registered User
 
Join Date: Sep 2011
Location: Israel
Posts: 2
Pervasive 2000 with Visual C++ 6

Hi

Work in Visual C++ 6 with Pervasive 2000.

On one computer compilation ends OK
In Link lately I get :
unresolved externals :
_WBRQSHELLINIT@4
_BTRCALL@28
_BTRCALL@32


On another computer :
Compiling...
btrapi.c
d:\vcprojects\titolab\btrapi.c(2392) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.

From what I try to understand it relates to /Yu"stdafx.h" parameter.

Any idea what is going wrong with my machines and how I fix it?

Thanks in advance

Gad Tavor
Reply With Quote
  #2 (permalink)  
Old 09-01-11, 23:16
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Quote:
On one computer compilation ends OK
In Link lately I get :
unresolved externals :
_WBRQSHELLINIT@4
_BTRCALL@28
_BTRCALL@32
For this one, you need to make sure that your project knows where the W3BTRV7.LIB is located.

For the precompiled header issue, make sure stdafx.h is in your project and is valid. If it's not, you should remove it from the cl command line.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 09-02-11, 03:22
Gad Tavor Gad Tavor is offline
Registered User
 
Join Date: Sep 2011
Location: Israel
Posts: 2
Pervasive 2000 in Visual C++ 6

Hi

Thanks for your prompt answer.

As for the unresolved externals - it fixed it on the 1st computer.

As for the precompiled header on the 2nd computer :
I had to delete the /Yu"StdAfx.h" from the cl line and then to resolved the externals as before and it works.

Thanks again.

I post my reply for the benefit of any one faced same problem(s).

Gad Tavor
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On