On Sat, Sep 11, 2004 at 04:13:30AM +0600, Nikolay A. Liber wrote:
Hello
I am using winelib with Mono hack to load windows DLL into python module. There is a dummy function wine_pthread_init_thread in libwine.so. wine_pthread_init_thread implemented in winelib.so.exe from mono shared winelib. I link module.
gcc -shared mymodule.so module_code.o -lwine ./winelib.so.exe
But when I load module init_thread from ntdll calls dummy wine_pthread_init_thread. How to override that dumy function?
I think it's probably better to build python as a Winelib app instead of using the Mono hack. They had a very narrow set of requirements which may not be enough for Python, and you will experience all sorts of weird problems if that's the case.