Weird warning when using loadlibrary - said it created a library and an object??

1 vue (au cours des 30 derniers jours)
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

Réponse acceptée

Philip Borghesani
Philip Borghesani le 29 Mai 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.
  1 commentaire
Yoav Romach
Yoav Romach le 29 Mai 2014
This is more or less what I thought, Just wanted to make sure...
Is it the compiler fault (windows SDK) or Matlab?
Thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by