delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-WM-Posted-At: | avacado.atomice.net; Sun, 8 Sep 02 21:15:29 +0100 |
From: | "Chris January" <chris AT atomice DOT net> |
To: | "Cygwin AT Cygwin DOT Com" <cygwin AT cygwin DOT com> |
Subject: | RE: Problem using Unicode Windows API with g++ |
Date: | Sun, 8 Sep 2002 21:15:29 +0100 |
Message-ID: | <LPEHIHGCJOAIPFLADJAHAEBPCMAA.chris@atomice.net> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
In-Reply-To: | <LPEHIHGCJOAIPFLADJAHIEBJCMAA.chris@atomice.net> |
> When I compile and run the program below with g++ version 2 or 3 under > Cygwin it crashes. It makes no difference whether I use the -mno-cygwin > parameter or not. The same program using the ANSI APIs doesn't crash. What > am I doing wrong? > Oops - I didn't read the Platform SDK: lpCommandLine [in, out] Pointer to a null-terminated string that specifies the command line to execute. Windows NT/2000/XP: The Unicode version of this function, CreateProcessW, ****will fail if this parameter is a const string****. Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |