The anser does not help at all. I know where I can find documentation about NI-IMAQ functions.
<p>I have run the following code snippnet (I've done it with a lot of nii*.dll, but the most probable should be niimaqci.dll),
<br>A few DLL effectively load-in, but none contains the expected symbol "imgInterfaceOpen", nor "_imp__imgInterfaceOpen".
<p>Thus : I continue stuck with a niimaq.lib, that cannot be linked with GCC calls to basic NI-IMAQ finctions:
[Linker error] undefined reference to `_imp__imgInterfaceOpen@8'
<br>And my attempts to directly load from dlls do not work.
<pre>
/* Load the DLL and get the addresses of the functions */
static int LoadDLLIfNeeded(void)
{
if (DLLHandle)
return 0;
DLLHandle = LoadLibraryA("niimaqci.dll.dll");
if (DLLHandle == NULL) {
return kFailedToLoadDLLError;
}
if (!(dllimgInterfaceOpen_Ptr = (void*) GetProcAddress(DLLHandle, "imgInterfaceOpen")))
goto FunctionNotFoundError;
return 0;
FunctionNotFoundError:
FreeLibrary(DLLHandle);
DLLHandle = 0;
return kCouldNotFindFunction;
}
</pre>