he intentado cargar la libreria en matlap r2009a ó r2010b, de la siguiente forma:
[notfound, warnings] =loadlibrary ('mpusbapi', '_mpusbapi', 'alias', 'libreria')
si bien , desde la linea decomandos de matlab carga la libreria perfectamente y se puede usar perfectamente, pero:
da los sigueintes warnings
notfound =
Empty cell array: 0-by-1
warnings =
Type 'PCHAR' was not found. Defaulting to type error.
Found on line 49 of input from line 92 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'HANDLE' was not found. Defaulting to type error.
Found on line 142 of input from line 185 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'PCHAR' was not found. Defaulting to type error.
Found on line 142 of input from line 185 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'PCHAR' was not found. Defaulting to type error.
Found on line 142 of input from line 185 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'HANDLE' was not found. Defaulting to type error.
Found on line 173 of input from line 216 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'PVOID' was not found. Defaulting to type error.
Found on line 173 of input from line 216 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'PDWORD' was not found. Defaulting to type error.
Found on line 173 of input from line 216 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'HANDLE' was not found. Defaulting to type error.
Found on line 205 of input from line 248 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'PVOID' was not found. Defaulting to type error.
Found on line 205 of input from line 248 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'PDWORD' was not found. Defaulting to type error.
Found on line 205 of input from line 248 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'HANDLE' was not found. Defaulting to type error.
Found on line 236 of input from line 279 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'PVOID' was not found. Defaulting to type error.
Found on line 236 of input from line 279 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'PDWORD' was not found. Defaulting to type error.
Found on line 236 of input from line 279 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'BOOL' was not found. Defaulting to type error.
Found on line 246 of input from line 289 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'HANDLE' was not found. Defaulting to type error.
Found on line 246 of input from line 289 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'HANDLE' was not found. Defaulting to type error.
Found on line 267 of input from line 310 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'PVOID' was not found. Defaulting to type error.
Found on line 267 of input from line 310 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Type 'PDWORD' was not found. Defaulting to type error.
Found on line 267 of input from line 310 of file C:\Documents and Settings\Mis documentos\Adquisicion\_mpusbapi.h
Ty
El problema esta que al compilar el .m no anda el ejecutable debido a estos warning.
Agrege _stdcall (ya que cuando abri el proyecto no tenia stdcall ni _cdecl ) esto en el _mpusbapi.h y en _mpusbapi.cpp y compilar todo con c++ builder 6.
COMO RESULTADO LO MISMO QUE ANTES.
AGRADECIRIA ALGUN TIPO DE AYUDA.
SALUDOS