Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2011
    Location
    Israel
    Posts
    2

    Unanswered: 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

  2. #2
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    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.

  3. #3
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •