Home » U++ Library support » U++ Core » DLI does not compile
DLI does not compile [message #13934] |
Fri, 01 February 2008 23:14  |
sheepdog
Messages: 2 Registered: February 2008
|
Junior Member |
|
|
I am new to U++ and attempting to write an app that calls a function in a DLL on Windows XP. The dli file looks like this:FN(long,LabView_wrapper,(int *array1, int array1len, int *array2, int array2len, int *array3, int array3len, int *array4, int array4len, int num1, int num2, int num3, int *num4, int *num5, int *num6))
and the BeatPickerTest.cpp file looks like this:#include <Core/Core.h>
#define DLLFILENAME "QrsOne_500sps.dll"
#define DLIMODULE QRSONE_500SPS
#define DLIHEADER <BeatPickerTest.dli>
#define DLLCALL LNPUBLIC
#include <Core/dli.h>
CONSOLE_APP_MAIN
{
}
and the error says,Quote: | BeatPickerTest.cpp
C:\MyApps\BeatPickerTest\BeatPickerTest.dli(1) : error C2146: syntax error : missing ')' before identifier 'LabView_wrapper_type'
C:\MyApps\BeatPickerTest\BeatPickerTest.dli(1) : error C2146: syntax error : missing ';' before identifier 'LabView_wrapper_type'
C:\MyApps\BeatPickerTest\BeatPickerTest.dli(1) : error C2059: syntax error : ')'
C:\MyApps\BeatPickerTest\BeatPickerTest.dli(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\BeatPickerTest\BeatPickerTest.dli(1) : warning C4183: 'LabView_wrapper_type': missing return type; assumed to be a member function returning 'int'
C:\MyApps\BeatPickerTest\BeatPickerTest.dli(1) : error C2143: syntax error : missing ';' before '*'
C:\MyApps\BeatPickerTest\BeatPickerTest.dli(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\BeatPickerTest\BeatPickerTest.dli(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\BeatPickerTest\BeatPickerTest.dli(1) : error C2065: 'LabView_wrapper' : undeclared identifier
BeatPickerTest: 1 file(s) built in (0:01.64), 1641 msecs / file, duration = 1656 msecs
|
I would be grateful for any help.
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 22:09:06 CEST 2025
Total time taken to generate the page: 0.00657 seconds
|