http://bugs.winehq.org/show_bug.cgi?id=2257
fenix@club-internet.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
------- Additional Comments From fenix@club-internet.fr 2005-08-11 19:36 ------- This crash occured on call of GetCurrentDirectoryA here:
char* _getcwd(char * buf, int size) { char dir[MAX_PATH]; int dir_len = GetCurrentDirectoryA(MAX_PATH,dir); ...
Because msvcrt.dll.so don't have been loaded using wine dll loader who resolver import tables. In you case the import table is unitialised so it crsh when you call imported call GetCurrentDirectoryA
Please use winelib and LoadLibrary if you want to do dynamic loading of wine libraries.
Regards, Raphael