tags:

views:

51

answers:

0
[DllImport(pathimportdll)]
static extern int InitiateSession(ref _SESSION_INFO sinfo, ref _DEVICE_INFO pDevInfo);

[DllImport(pathimportdll)]
static extern int StartAcquisition();

DLL functions are imported properly. After the call, application is asserting in tcscpy.inl with the message Expression: (L"Buffer is too small" && 0).