Compiling problems under Borland C++Builder 5

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

Compiling problems under Borland C++Builder 5

Post by NJW »

Hi,

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.

Thanks!

Nik :?

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

Post by markspencer »

Hi,

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:

tech@picotech.com

requesting the file.

Best regards,
Regards,

Mark Spencer

Cristiano

Problems with symbols1.asm

Post by Cristiano »

Hi,

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 !!!
Cristiano

Cristiano

Information

Post by Cristiano »

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 !!
Cristiano

Post Reply