Weird warning when using loadlibrary - said it created a library and an object??
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Yoav Romach
il 28 Mag 2014
Commentato: Yoav Romach
il 29 Mag 2014
Hey,
I'm trying to load a c++ dll file and I'm getting a weird warning, this is the code:
shrlib = 'C:\Users\Public\PI\PI_Programming_Files_PI_GCS2_DLL\PI_GCS2_DLL_x64.dll';
hfile = 'C:\Users\Public\PI\PI_Programming_Files_PI_GCS2_DLL\PI_GCS2_DLL.h';
libalias = 'PI';
[~,warnings]=loadlibrary(shrlib,hfile,'alias',libalias)
And this is the warning I'm getting:
PI_thunk_pcwin64.c
Creating library PI_thunk_pcwin64.lib and object PI_thunk_pcwin64.exp
Anyone has any idea what this warning means?
I should point out that it seems everything works fine, it is just out of curiosity! I've attached the dll and h file, but digging into the h file I couldn't find out what the hell it is.
p.s.
I'm using windows SDK 7.1
0 Commenti
Risposta accettata
Philip Borghesani
il 29 Mag 2014
Creating those files is harmless, and a side effect of building the thunk file, but unneeded. It sounds to me like there is a minor bug in the processes of building the thunk file. Minimally the message you are seeing should have been suppressed.
If it bothers you I suggest you contact support and/or file a bug report.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su C Shared Library Integration in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!