Compiling problems under Borland C++Builder 5

Post general discussions on using our drivers to write your own software here
Post Reply

Compiling problems under Borland C++Builder 5

Post by NJW » Mon Feb 02, 2004 3:49 pm


I'm having problems getting the drdaqtes example running under Borland C++ Builder 5. I get the following link errors:

[C++ Warning] ctype.h(172): W8058 Cannot create pre-compiled header: code in header

[C++ Warning] drdaqtes.c(264): W8069 Nonportable pointer conversion

If I comment these out it links and runs but doesn't show a window and can only be shut down by ending the process. I also get a variable set but never used error, but I can live with that.

I'm running on Windows XP.

Any help would be greatly appreciated.


Nik :?

User avatar
Site Admin
Site Admin
Posts: 598
Joined: Wed May 07, 2003 9:45 am

Post by markspencer » Tue Feb 03, 2004 8:50 am


Unfortunately, I do not know enough about Borland Builder to tell you how to comile the file, although I belive it is possible with some changes.

We do however have an example written for Borland C++ Builder 4, for the ADC-11, the function calls are similiar and it would not take long to re-write the program for the DRDAQ.

If you would like a copy of this could you please send and email to:

requesting the file.

Best regards,

Mark Spencer


Problems with symbols1.asm

Post by Cristiano » Fri May 27, 2005 12:39 pm


I´m trying to compile a software with Borland 5.01 and I´m receiving the following message:

Compilando "symbols1.asm"
Assembling: symbols1.asm
symbols1.asm(62): error A2005: symbol redefinition : SDK_STATUS
symbols1.asm(66): error A2005: symbol redefinition : SDK_STATUS
symbols1.asm(70): error A2005: symbol redefinition : SDK_STATUS
symbols1.asm(74): error A2005: symbol redefinition : SDK_STATUS

When a openned the symbols1.asm and looked at line 62, I found the following:

60 APLIC__ equ 23824
61 public SDK_STATUS
62 SDK_STATUS equ _I?_+2988
63 public MNPERIF__
64 MNPERIF__ equ 24365
65 public SDK_STATUS
66 SDK_STATUS equ _I?_+3015

I have already tried to found in Web some document that give me some information about this symbols1.asm, but unfortunatly I didn´t found any. So, I´d like to ask if anyone can help me. Thanks !!!



Post by Cristiano » Fri May 27, 2005 12:44 pm

Sorry, I´ve forgott to say that I´m writing a software in C/C++ using some classes, each class is defined through one .tcc file and one .h files.
thanks !!

Post Reply