How would I not do the following:
Base my DLL at 0x10000000 because too many other DLLs are based there by default so you're virtually guaranteed a required relocation.
And turn off frame pointer generation, and enable optimizations?
The optimizations is going to be somewhere in the compiler options. Should be a checkbox or something.
If you're using visual studio, you can go to
Project Properties -> C/C++ -> Optimization.
Omit Frame Pointers -> Yes /Oy
Global Optimizations -> Yes /Og
The base address is editable under
Project Properties -> Linker -> Advanced. (/BASE:[address|filename, key])
Thanks ;)
Quote from: K on November 09, 2003, 10:19 PM
The base address is editable under
Project Properties -> Linker -> Advanced. (/BASE:[address|filename, key])
Somewhere under Linker there's an editbox for that..