Question about unix path request in 2 of the wine dlls
in urlmon umon.c calls cabextract for by requesting the unix path via wine_get_unix_file_name and in shell32 shelllink.c get_unix_file_name is used in a few locations. Does anyone have a suggestion on a clean simple way to handle both of these on non-nix platforms? Can this be moved to libwine? Thanks Steven __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com
Steven Edwards <steven_ed4153(a)yahoo.com> writes:
in urlmon umon.c calls cabextract for by requesting the unix path via wine_get_unix_file_name and in shell32 shelllink.c get_unix_file_name is used in a few locations. Does anyone have a suggestion on a clean simple way to handle both of these on non-nix platforms? Can this be moved to libwine?
Probably the right way is to use GetProcAddress to get a pointer to wine_get_unix_file_name, and simply skip the call if the function doesn't exist, this should do the right thing in all cases. -- Alexandre Julliard julliard(a)winehq.com
in urlmon umon.c calls cabextract for by requesting the unix path via wine_get_unix_file_name and in shell32 shelllink.c get_unix_file_name is used in a few locations. Does anyone have a suggestion on a clean simple way to handle both of these on non-nix platforms? Can this be moved to libwine?
Probably the right way is to use GetProcAddress to get a pointer to wine_get_unix_file_name, and simply skip the call if the function doesn't exist, this should do the right thing in all cases.
Thanks for the help, if more people would give a plain answer like that the learning this stuff might not be so hard =). I think there are enough examples in the wine source as to how to this that I can figure it out. I may send you some nasty patches regarding this in a few weeks. Thanks Steven __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com
participants (2)
-
Alexandre Julliard -
Steven Edwards