I have a shared library 'mylib.dll' with four header files. I created a new header file 'myheader.h' and used the '#include' directive to include all the four header files as follows:
//myheader.h#include "first.h"#include "second.h"#include "third.h"#include "fourth.h"
Then I used the LOADLIBRARY command as follows:
loadlibrary('mylib', 'myheader.h', 'mfilename', 'myproto', 'includepath', 'C:\myfiles')
where 'C:\myfiles' contains all the above header files.
The issue is that the 'myproto.m' file that gets generated is empty and it does not contain any of the defined datastructures.
Best Answer