Detect if PDA connected msg box if not
I'm trying to work out how to find out if theres a PDA connected. The first attempted connection to the PDA is as below:
${PPC-registry::CeRapiInit} $R0
${If} $R0 == '-1'
MessageBox MB_OK 'Remote device connection failed.$\n$\n\ Please reSync device and try again'
${ElseIf} $R0 == '0'
; MessageBox MB_OK 'Connection Success'
goto CheckdotnetCFVersion
${EndIf}
Should I be making sure that there is a PDA there before I try to initiate rapi? And if so, how?
Cheers