D
dylpkls91
I am writing a program that uses the Palm handheld as a sort of input
device. However, the code that communicates with it thru the serial
port locks the port up, so if the user initiates a HotSync on the
device, the operation fails. I would like to have a setup where the
user presses a button on my Palm application to initiate a HotSync and
then continue with the Python program.
It would go like this: user presses special button on Palm, computer
closes Python/Palm connection, HotSync is executed by Python program,
computer reopens Python/Palm connection.
I know how to get the program to wait for a process to finish, but I'm
having trouble initiating a HotSync through Python. While poking around
the Palm Desktop and HotSync system files, I found a DLL called "HSAPI"
with the title "HotSync API", but I'm not sure if this is what I need.
There is no HotSync COM type library in my PythonWin COM browser.
Any and all help will be greatly appreciated. Thank you very much!
device. However, the code that communicates with it thru the serial
port locks the port up, so if the user initiates a HotSync on the
device, the operation fails. I would like to have a setup where the
user presses a button on my Palm application to initiate a HotSync and
then continue with the Python program.
It would go like this: user presses special button on Palm, computer
closes Python/Palm connection, HotSync is executed by Python program,
computer reopens Python/Palm connection.
I know how to get the program to wait for a process to finish, but I'm
having trouble initiating a HotSync through Python. While poking around
the Palm Desktop and HotSync system files, I found a DLL called "HSAPI"
with the title "HotSync API", but I'm not sure if this is what I need.
There is no HotSync COM type library in my PythonWin COM browser.
Any and all help will be greatly appreciated. Thank you very much!