Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!microsoft!chrisg From: chrisg@microsoft.UUCP (Chris GUZAK) Newsgroups: comp.windows.ms.programmer Subject: Re: pathname Message-ID: <58959@microsoft.UUCP> Date: 10 Nov 90 00:19:50 GMT References: <0A541F131D9F40032C@njord.fek.su.se> Reply-To: chrisg@microsoft.UUCP (Chris GUZAK) Organization: Microsoft Corp., Redmond WA Lines: 10 In article <0A541F131D9F40032C@njord.fek.su.se> BLI@fek.su.se (Bengt Lindstr|m) writes: >.. needs to >know our programs pathname at runtime. GetModuleFileName() will do the trick. You may have to GetModuleHandle() on yourself, or perhaps you can pass your hInst as well... (david?) Chris Guzak