Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comm ports
Message
De
10/01/2003 11:40:15
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00740012
Message ID:
00740337
Vues:
17
that is the output string that is sent to the x10 controller. This is a key part in communicating with the controller. The controller receives commands in hexadecimal only.

If you recall I gave you replacement code for that sleep command. Well this one is the same deal. Back then I was using the Focus.fll to access kernel.dll . Focus just put together a library of commands that access the kernel.

I did this Just because I was not familiar with other ways to do things.
I would suggest finding an alternative method to using this. But in order for the num_hexa function to work you have to register the focus.fll library.

But if you want to see my program work as it stands now, you will have to register the focus.fll library it also requires the kernel.dll I still have all the documentation if you need it.

I would suggest finding replacement code instead of having to deal with this third party concotion. www.fastwrite.com
the num_hexa function returns the hexadecimal equivalent of an integer:

NUM_hexa() : Hexadecimal equivalent of an integer.
Syntax
NUM_hexa( n ) è cHexaNumber
Parameters
n number to process.
Returns
cHexaNumber hexadecimal equivalent of n.
Example
? NUM_hexa( 255 ) && "FF"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform