Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rename VCX. Any problems doing this?
Message
 
À
12/02/1999 13:59:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00186661
Message ID:
00187192
Vues:
21
>>I have no idea if Justok's reboot command works, but if it does it probably needs to be placed in a exe or com file with a hex editor.
>
>You can use the DEBUG.EXE program, it still comes with Windows (at least 95/98). It's been a long time, so I don't remember quite how (I think you have to start at address 100, set up some register values for length, etc, and use the DEBUG N command to name/save it), but you can create a .COM type program file using just DEBUG. Note this is not a COM object, but .COM executable type file for the OS.

Ugh, that 5 byte reboot code translates to: JMP FFFF:0000

This may force a reboot, but it does not shut down the OS properly. If you need to reboot I would suggest an API call to close down windows in a clean manner.

Regards,
Mike
Michael McLain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform