Offtopic question (windows, C)

Thomas Heller thomas.heller at ion-tof.com
Fri May 18 09:34:35 EDT 2001


This is probably offtopic, but needed for a python project,
so here we go:

I want to create a DLL exporting a function (DllCanUnloadNow).
This DLL _uses_ a function also named DllCanUnloadNow, exported
from another DLL. How can I do this?

In the past, I would have written a def-file:

IMPORTS
    other_DllCanUnloadNow=pythoncom20.DllCanUnloadNow

and would be able to write

STDAPI DllCanUnloadNow(void)
{
    blabla...
    return other_DllCanUnloadNow();
}

but IMPORTS sections are not supported any longer...

Does anyone have a solution?

Thanks,

Thomas

PS: I know about /EXPORT:DllCanUnloadNow=pythoncom20.DllCanUnloadNow,
but this does not help me.






More information about the Python-list mailing list