I'm trying to use a DLL which is developed by a third party.
I created wrappers using Import Shared Library Wizard.
When I call this function:
int _Initialize(char *ipAddress, int *cameraCount);
I get error 1097. I've checked the parameter setup, etc. I think it should be correct.
Only one thing seems a bit weird.If you look at the prototype definition in CLFN-configure window, the function name is something totally different than selected.
So, I'm wondering if this has anything to do with the actual problem?
Header looks like this:
#pragma once#include "PeakStructure.h"#include "Callback.h"#ifdef EXPORTING_DLLextern _declspec (dllexport) int _Initialize(char *ipAddress, int *cameraCount);#elseextern __declspec (dllimport) int _Initialize(char *ipAddress, int *cameraCount);#endif