Support forwarding DLL call
For example:
#pragma comment(linker, "/export:CancelWaitableTimer=kernel32.CancelWaitableTimer")
You can see that this is used all over the place in this DLL:
https://github.com/cristianadam/api-ms-win-core-synch-Win7/blob/main/api-ms-win-core-synch-l1-2-0.c#L142
They are implementing the missing functions for older Windows systems. Applications will see the CancelWaitableTimer function implemented in this DLL as something from kernel32.dll. I only guess about how it works, though.
Is it possible to do something like this in Orange C?
Originally posted by @yh15kla9 in https://github.com/LADSoft/OrangeC/discussions/1100
so sure it was fine you made this, I hadn't realized the original issue was over in the discussions. Things to be fixed are easier found here... it will be just a bit before I get back to fixing stuff as I'm working on compiling covscript right now.....