View Single Post
Old 08-20-2019, 00:41
chants chants is offline
Join Date: Jul 2016
Posts: 478
Rept. Given: 2
Rept. Rcvd 33 Times in 19 Posts
Thanks Given: 404
Thanks Rcvd at 756 Times in 347 Posts
chants Reputation: 33
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