What you're asking is not really a MATLAB/Simulink-related question (although I understand that you need to do this to be able to load your "wrapper" DLL in MATLAB), so this may not be the right forum to ask this question. At any rate, I did a web search and found this:http://www.codeguru.com/cpp/cpp/cpp_mfc/tutorials/article.php/c9855
In general, you will need to write C++ code that uses the functions LoadLibrary, GetProcAddress and FreeLibrary.
Best Answer