Weird warning when using loadlibrary - said it created a library and an object??
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Philip Borghesani
2014년 5월 29일
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!