LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

call dll function on Windows CE6.0 Device

I am trying to call a dll on a windows CE6.0 device, which is the KEBA KeTop T20techno.

In the "call library function" I added a selfmade WIN32 stub dll and in the build specifications I added the original Windows CE .lib file.

When I try to build an execution I always get the following build error:

 

THUMB is a missing VI or C file

ARM is a missing VI or C file

 

Can anyone give me a hand on this issue?

0 Kudos
Message 1 of 6
(2,752 Views)
Hi Oimel, Are you sure that the function name and function prototype for both libraries is the same?
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 2 of 6
(2,750 Views)

Yes, it is.

Otherwise I would get an error like function1 is a missing VI or C file...

0 Kudos
Message 3 of 6
(2,746 Views)

This is the build report by the way:

 

Main.c
Generating Code...
Compiling...
_lvcepda80ARMtemp_.cpp
Generating Code...
Compiling...
lvCEPDAMain.c
Generating Code...
PDALib0.lib(DAI.dll) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM'

0 Kudos
Message 4 of 6
(2,726 Views)

I think you can find the answer in this link.
http://digital.ni.com/public.nsf/allkb/517300B49212795986256DDD00623FEE?OpenDocument

best regards

0 Kudos
Message 5 of 6
(2,705 Views)

I have my answer now,

 

the C - .dll that I'm trying to use has THUMB instructions (16bit) the LV Toch Panel Module can only handle ARM instructions (32bit).

That's why Ing this error.

 

Thanks

0 Kudos
Message 6 of 6
(2,692 Views)