Message-ID: <3739CF78.2D94EFE1@home.com> From: "Edward F. Sowell" X-Mailer: Mozilla 4.51 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: GetShortPathName() or DLL support Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 13 Date: Wed, 12 May 1999 18:53:03 GMT NNTP-Posting-Host: 24.0.195.218 X-Complaints-To: abuse AT home DOT net X-Trace: news.rdc2.occa.home.com 926535183 24.0.195.218 (Wed, 12 May 1999 11:53:03 PDT) NNTP-Posting-Date: Wed, 12 May 1999 11:53:03 PDT Organization: @Home Network To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com MFC has a GetShortPathName() function that, obviously, converts a path with long file names, spaces, etc to the 8.3 format. This is often needed because some functions don't accept the funny file names... e.g., spawnxx(). Is there an equivalent for DJGPP? If not, can I link to a DLL (or static lib) created with MSVC++ that provides a C function wrapper for the MFC GetShortPathName? Ed Sowell