MATLAB: Weird warning when using loadlibrary – said it created a library and an object?

ccppdllloadlibraryMATLABwarning

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

Best Answer

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.
Related Question