Up One Level
 
New Message
Reply
History
 
Previous in Thread
Next in Thread
Previous Unread
Next Unread
 
Print
 
About this Form
   
  Message Message Postmark    
 
Mon, 27 Oct 2003 12:35:39
From:
Philippe Ganter
Philippe Ganter
Subject: [ASG] Use of XX_Register commands/Commandes XX_Register 
To:
Plugs FAQ
Plugs FAQ
Click here for English version




60504_171438_0.gif?src=.PNG
Version française

`Exemple pour AreaList Pro:

C_ENTIER LONG
($result)

Au cas ou
        : ((Type application=4D Client ) | (Type application=4D Server ))  `Serveur -> déploiement/développement
        $result:=AL_Register ("Serveur Windows";"Serveur MacOS")

        : (Application compilee)  `Runtime, engine ou 4D compilé -> déploiement runtime
        $result:=AL_Register ("Runtime Windows";"Runtime MacOS")

Sinon   `interprété -> développement monoposte
        $result:=AL_Register ("Dev Windows";"Dev MacOS")
Fin de cas

Si ($result#1)
        ALERTE("Installation AreaList Pro infructueuse: "+Chaine($result))
Fin de si

NB: si vous ne possédez pas les codes pour les deux plateformes, passez une chaîne vide pour la plateforme manquante.





60504_174213_0.gif?src=.PNG 
English version

  `Example for AreaList Pro

C_LONGINT($result)

Case of
        : ((Application type=4D Client ) | (Application type=4D Server))  `Server -> deployment/development
        $result:=AL_Register ("Server Windows";"Server MacOS")

        : (Compiled application)  `Runtime, engine or 4D, compiled -> deployment runtime
        $result:=AL_Register ("Runtime Windows";"Runtime MacOS")

Else   `interpreted -> standalone development
        $result:=AL_Register ("Dev Windows";"Dev MacOS")
End case

If ($result#1)  ` error
        ALERT("AreaList Pro could not be registered: "+String($result))
End if


NB: if you haven't serials for both platforms, type an empty string ("") for the missing platform.