Hi Richard,
My program is communicating with the BTRIEVE APIs to access the flat files.
Summary of the problem:
We have some exisiting programs written in MC6 (Microsoft C). We have to run (compile) these existing C programs in the VS.NET 2005 environment.
Also we are using Pervasive.SQL V8 / BTRIEVE APIs for the connections with the flat files because the existing application interacts with the BTRIEVE databases, which is flat files.
We are facing problems during the compilation process. We have to link the existing programs with the obj file "btrapi.obj", which is meant for accessing the BTRIEVE files. So ultimately, we are having problems while it is linking.
The build log has been attached along with this mail and the errors are listed in the attached build log. We got this build log as a result of the compilation of the existing C program in VS.NET 2005. Pls let me know if you would any additional information.
We wanted help in resolving the problem attached in the BuildLog.txt file.
Steps followed for the compilation:
1) In the Developer Studio programming environment, choose New from the File menu.
2) In the New dialog, on the Projects tab, do the following:
Set the type to Console Application.
Set the Name to Sample.
Set the location to your desired directory.
Click OK.
3) Choose Settings from the Project menu. On the C++ tab, do the following:
In the Preprocessor category, add BTI_WIN_32 in the Preprocessor Definitions box and add the current directory (.) in the Additional Include Directories box.
In the Code Generation category, set the Structure Member Alignment to 1 Byte.
Click OK.
4) Choose Rebuild All from the Build menu. Microsoft Visual C++ builds the program and places the exe in the project file directory.
We had tried many option through google search, but we are not able to get a breakthrough.
Any help is really appreciated....