Is there any way to force visual studio to link all symbols from a lib file into the dll as atm it is optimizing "unused" functions which are needed by the program using the dll at run time.
I tried using the /OPT:NOREF and /OPT:NOICF but they dont seem to work.
The reason i need them is because they are global class which register them selves with a controller and they are not being linked in the dll.
See Question&Answers more detail:os