R.Wieser
2022-07-19 15:36:23 UTC
Hello all,
I'm using Borlands Tasm32 (v5.0) and just ran into a situation where I had
to call 'DllGetVersion' inside ComCtl32. The problem is that that function
exists in several other DLLs (shell32 to name another).
IOW, although I can write 'call DllGetVersion, ...' I never know which DLL
will actually get called.
My question:
Does anyone here know if Tasm32 knows an assemble-time syntax to call a
function from a specific DLL ? (would be handy for a few other functions
too)
Remarks:
I currently used the runtime "LoadLibary", "GetProcAddress" solution, but
thats cumbersome.
I could also rename the function itself (from "DllGetVersion" to something
like "ComCtl32_GetVersion") and rebuild the libarary, but thats a ... well,
not a solution I'd really like either.
Regards,
Rudy Wieser
P.s.
Anyone knows where I can find ComCtl32 v6.x ?
I'm using Borlands Tasm32 (v5.0) and just ran into a situation where I had
to call 'DllGetVersion' inside ComCtl32. The problem is that that function
exists in several other DLLs (shell32 to name another).
IOW, although I can write 'call DllGetVersion, ...' I never know which DLL
will actually get called.
My question:
Does anyone here know if Tasm32 knows an assemble-time syntax to call a
function from a specific DLL ? (would be handy for a few other functions
too)
Remarks:
I currently used the runtime "LoadLibary", "GetProcAddress" solution, but
thats cumbersome.
I could also rename the function itself (from "DllGetVersion" to something
like "ComCtl32_GetVersion") and rebuild the libarary, but thats a ... well,
not a solution I'd really like either.
Regards,
Rudy Wieser
P.s.
Anyone knows where I can find ComCtl32 v6.x ?