View Single Post
Old 08-20-2019, 00:41
chants chants is online now
Join Date: Jul 2016
Posts: 530
Rept. Given: 5
Rept. Rcvd 35 Times in 21 Posts
Thanks Given: 441
Thanks Rcvd at 793 Times in 370 Posts
chants Reputation: 35
I would imagine the order is based on the .lib file being linked. Your code usage is irrelevant as is the declspec dllimport beyond indicating a cummulative inclusive filter on the final .lib linking. After all these imports are shared by all code modules. Maybe can change lib files or just use LoadLibrary/GetProcAddress to put them into an ordered array at runtime. Otherwise static modification as per above is okay. If willing to remap relocations maybe more complicated approaches than just name pointer swaps are possible.
Reply With Quote