Yannick
-
Posts
2 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Yannick
-
-
Hi,
I have to send a structure to a dll, with a pointer to a char in. Here is the structure :
--------------------------
Struct Reference
Data Fields
unsigned long CamType
16 Bit used, hardware id of camera
unsigned long VendorID
24 Bit used, baumer ieee id
unsigned long ChipIDHi
8 Bit used, serial number of 1394 interface
unsigned long ChipIDLo
32 Bit used, serial number of 1394 interface
unsigned long Payloadsize
payloadsize of camera device
unsigned long Reserved [8]
char DspVersion [32]
SignProc null terminated ansii string.
char HwcVersion [32]
label
unsigned long CamLabel
32 Bit used, label as logical camera id
char * CamName
null terminated ansii string
------------------------------
Can I do this without using CIN method ? If I can't, could you help me, I tried but I failed !
here is the dll function
FX_DeviceInfo( devNum, &DevInformation ); where &DevInformation is the structure !
Thanks
char pointer in a stucture for dll
in Calling External Code
Posted
i used this method http://forums.lavag.org/index.php?act=Atta...ost&id=1974 to put a cluster in input of the dll, but the output is a different cluster.
At input there's 2 arrays of 32 chars, and at output, the arrays are only composed of 8 chars.
edit :
I succeeds with the .doc method. When I transformed the array in cluster, i didn't change the default size of cluster.
Thanks !