Bob Copeland wrote:
> LoadLibrary and such, but I always get a segfault whenever wine
> accesses NtCurrentTeb(). The teb looks like a valid address but
The same problem occured to us when loading a .so c++ shared library.
But the problem was solved by loading the library after call to
MAIN_WinelibInit(). Wine was not getting initialised first and the
constructors
in c++ library were crashing the app.
> if I'm missing some initialization step. I've tried calling both
> MAIN_WineInit and PROCESS_Init within my .so but these don't change
Have u called MAIN_WinelibInit first. How r u loading shared library?
Please give more details.
vivek