Search:

PmWiki

pmwiki.org

edit SideBar

Main / Visuals

To deal with spaces in the path names in the make file for make, put the path in quotes.

The Linker project properties has an entry point field - if it's filled with main but there is no main, as in maybe it's a DLL, you'll get an unresolved external symbol _main.

Build your own DLL

There are problems with the linker finding your DLL functions after it's been compiled, when referenced by another app.
http://www.technical-recipes.com/2012/how-to-link-dlls-to-c-projects/

An interesting tool for your DLL is the dumpbin.exe located in the VS bin folder. When run with dumpbin /exports <DLLname> it will show all the exported functions. Should be run in the VS developer shell.

Differences from GCC

__attribute__ is specific to GCC, not understood by MSVC.


Page last modified on September 18, 2015, at 04:31 PM