GetModuleFileName mysteries

Eric Pouech pouech-eric at wanadoo.fr
Wed Dec 24 08:12:10 CST 2003


> Well yes ... and ...
> 
> I don't get it I ask for foo.dll.so (GetModuleFileName) please give it 
> to me. What is this problems here? I would like to look into my self. 
> Any problems with that? Usually I Just need to know the full path of the 
> Installation. Built in or not give me the file strait, no Ice please.
the point is that .so files get loaded thru dlopen and we don't have a 
nice way to get back the actual path to the unix file. That's why we 
pretend all builtin DLLs are loaded from c:\windows\system, even if the 
.so file doesn't exist in the unix equivalent of c:\windows\system.

A+

-- 
Eric Pouech




More information about the wine-devel mailing list