From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p2QDDYjH000999 for ; Sat, 26 Mar 2011 14:13:34 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvABAEXljU3RVditkGdsb2JhbAClXwgUAQEBAQkJDQcUBCGIa58CilSCIYRpL4hcAQEDBYVkBIU0h0KGf4IMOg X-IronPort-AV: E=Sophos;i="4.63,247,1299452400"; d="scan'208";a="103725116" Received: from mail-qy0-f173.google.com ([209.85.216.173]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 26 Mar 2011 14:13:28 +0100 Received: by qyk36 with SMTP id 36so265306qyk.18 for ; Sat, 26 Mar 2011 06:13:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=ESl95f7e8SSGgIFr582Yfufay1Zieox7o/7FucyhpMg=; b=RjS1ZwmlfdDImbL8esXwrEvzkhEFXMUrg+jr7j10835/zkyteGgOHjWYtysadL0BvX k7ZM0zvxcnw3sKni3hrpbsukfPoQnt4lVGfQlkB6BAP18ls+hh1v+hq0/ustdsdaOvC6 CVVxTMdT2G6VZwKuGmTXHJaKF+PFncS9xDraM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=o5cweQA1/AWbkrR/UTG5Xl9Yp7OLOQ1IXeMu50iK+hZICBKKxj7F7xb/Xunp1xyDrl t9BJBqoERLCFDo38WEXE12ToLaR34AeDoOynGJwHv0Zqzj75SDyeFBqQVOS3rMsIqgXr YqHbQ5fo173kkCckAifiu8P5oZK5Gotkevoo4= MIME-Version: 1.0 Received: by 10.229.49.131 with SMTP id v3mr1601931qcf.256.1301145207571; Sat, 26 Mar 2011 06:13:27 -0700 (PDT) Received: by 10.229.38.68 with HTTP; Sat, 26 Mar 2011 06:13:27 -0700 (PDT) In-Reply-To: <4D8CBF59.9000608@gmail.com> References: <4D8C5071.2000403@gmail.com> <4D8C684D.3040702@imag.fr> <4D8C6C5D.8000502@gmail.com> <4D8C9130.6000009@imag.fr> <4D8CBF59.9000608@gmail.com> Date: Sat, 26 Mar 2011 16:13:27 +0300 Message-ID: From: Dmitry Bely To: Caml Mailing List Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p2QDDYjH000999 Subject: Re: [Caml-list] Java JVM is becoming more strict On Fri, Mar 25, 2011 at 7:14 PM, Matthieu Dubuget wrote: > Le 25/03/2011 13:57, Florent Ouchet a écrit : >> >> Then you should never use standard pipes within a Windows GUI application >> unless you're 100% sure that a console will always be available (either >> attached or allocated). > > Well, strictly speaking, I do not use it, ;-). There was just an unused > function  in my code that had a dependence on Printf… Where do your call caml_startup()? If it is inside DllMain() and there is some nontrivial initialization code that can use other DLLs, you are in trouble. > And what triggered my problem was the new version of the JVM. > > My original post was only to warn others and for archives, if it can have > somebody save time some day, because it was rather difficult to diagnose in > the real world, compared to my abstract. Sure, but I don't think you should blame Java for that. - Dmitry Bely