X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Wes" Newsgroups: comp.os.msdos.djgpp Subject: The system cannot execute the specified program Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Message-ID: Date: Thu, 02 Mar 2006 02:58:01 GMT NNTP-Posting-Host: 72.132.238.51 X-Complaints-To: abuse AT rr DOT com X-Trace: tornado.socal.rr.com 1141268281 72.132.238.51 (Wed, 01 Mar 2006 18:58:01 PST) NNTP-Posting-Date: Wed, 01 Mar 2006 18:58:01 PST Organization: Road Runner High Speed Online http://www.rr.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm getting this error whenever I run my program from a path that is longer than 64 characters. From what I have been able to find through Google is that this is the expected behavior for 16-bit applications (http://support.microsoft.com/kb/q241712/). The Microsoft page, however, does not mention if "16-bit Program" means a16-bit dos program or a16-bit windows program. DJGPP is a 32-bit compiler, so does the compiled executable count as a 32-bit program? Does windows treat all dos programs as 16-bit? Is there a way to flag the compiler to tell windows to treat it as a 32-bit program? Has anyone else seen this problem? What kind of work arounds have you found? - Wes