Test and Measurement Forum

Difficultion in compiling sample code

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

Difficultion in compiling sample code

Postby tyu » Sat Feb 04, 2006 5:13 pm

I have trouble compiling sample programs to get DrDaq work. namely Drdacon.c

I tried with Borland 4.53 but the drivers package is missing 16 bit library
drdaq16.lib that is needed.

I am running Windows 2000.

I tried with Borland 4.53 Win32 but got error message "Declaration was expected in function __declspec
There is probably some error on declaration
#define PREF2 __declspec(dllexport) __stdcall
What should it be?

Microsoft Visual Studio .NET refused to link with various problems.

I've tried also using the 3rd part io driver inpout32.dll

Pico Datalogger seem to work OK. What I'm trying to record is voltage. Nothing fancy just that I have 5V on not.

Do you have a very simple ANSI C code example that does not need external libraries?

Or do you have source code sample for Microsoft Visual Studio .NET?
tyu
User
User
 
Posts: 2
Joined: Sat Feb 04, 2006 4:59 pm

I got it running using Watcom

Postby tyu » Sun Feb 05, 2006 11:36 am

I got Drdacon.c to compile and run using Open Watcom.

I used drdaq32.lin and drdaq32.dll without any problems.
tyu
User
User
 
Posts: 2
Joined: Sat Feb 04, 2006 4:59 pm


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests