realbasic-nug.fr
[Top] [All Lists]

Re: Rapport de blurgs POUR STEPHANE

To: REALbasic NUG French <realbasic-nug dot fr at lists dot realsoftware dot com>
Subject: Re: Rapport de blurgs POUR STEPHANE
From: Stephane Pinel <stephane at realsoftware dot fr>
Date: Tue, 7 Aug 2007 16:32:50 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug dot fr at lists dot realsoftware dot com
References: <3B2F4A07-2765-4E5B-B6E8-695A76095862 at marine-label dot com>

Le 7 août 07 à 15:42, frael a écrit :

Hello le support en France

1) j'ai pondu ce rapport :

http://www.realsoftware.com/feedback/viewreport.php?reportid=wtburcqb

on me repond "not a bug", bicoz "DoCommand is for executing asynchronous commands, so your code shouldn't and doesn't work. Use the BuildApp *method* which is synchronous."

si je mets "BuildApp" au lieu de "DoCommand "BuildApp"" ds le script --> erreur 31

je ne comprends pas, qqn peut m'expliquer ???

Marc, c'est pourtant dans la doc (et en plus ça marche nickel) :


BuildApp
--------

Result :
        String

Parameters :
        Target as Integer

Builds the application for the passed platform. It takes one of the target constants listed below and returns the shell path to the built item (or empty string on error). The method is synchronous. Here are the constants for Target:

kTargetCarbonPEF = 1, kTargetCarbonMachOPowerPC = 2, kTargetWin32 = 3, kTargetLinuxGTK = 4, kTargetCarbonMachOi386 = 6, kTargetCarbonMachOUniversal = 8


Par ailleurs, concernant l'erreur 31, c'est assez clair (RBScript):

31
It is not legal to ignore the result of a function call.


Cordialement.


---
Stéphane Pinel - REAL Software
Support Technique en Français
43, Rue Marius Aufan 92300 Levallois-Perret (FR)
http://www.realsoftware.fr

Rejoignez la communauté francophone des développeurs REALbasic :
http://www.realsoftware.com/fr/support/listmanager/





<Prev in Thread] Current Thread [Next in Thread>