Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rename VCX. Any problems doing this?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00186661
Message ID:
00187192
Views:
20
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform