Error using calllib, unable to load C/C++ libraries

I'm using following code to load C++ library. After successful load of DLL file , unable to access libray file using calllib
loadlibrary('toupcam.dll','toupcam.h') libfunctions toupcam
Functions in library toupcam:
Toupcam_AwbOnePush....
calllib('toupcam.LIB','Toupcam_AwbOnePush')
"Error using calllib Library was not found"
please help me to resolve this error.

 Respuesta aceptada

James Tursa
James Tursa el 6 de Mayo de 2015

1 voto

In the calllib statement, try using 'toupcam' as the library name instead of 'toupcam.LIB'.

Más respuestas (0)

Categorías

Preguntada:

el 6 de Mayo de 2015

Comentada:

el 7 de Mayo de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by