Function Order

In VC2010 there is a linker option for function order.
How would i use that function so i could organize my functions rather than the compiler organize it automatically?

For example:-

Default order:

FunctionA
FunctionB
FunctionC

I would like it to be in this order:

FunctionC
FunctionA
FunctionB

etc

Actually i want all my function in a random order.
You you mean the export order in a DLL? Is so you need to specify a .def file.

If not, please tell us.
Kinda hard to explain but the info is on the link below xD

http://msdn.microsoft.com/en-us/library/00kh39zz.aspx
That takes me back to the days of overlay linkers.

Anyway, back to the point. I've never done this before in Windows, but the answer may be related to that link.
http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.vcprojectengine.vclinkertool.functionorder.aspx
Topic archived. No new replies allowed.