Added additional check for validity of DDE server. Using the combination of ln = pyz.PyZDDE(); ln.zDDEInit(); ln.close(), it was possible to create a erroneous string handle resulting in a nonetype string handle. In turn, NoneType hszServName (a NoneType String handle) would connect to any available server (windows DDE docs). This resulted in erroneus command executions and raised exceptions
Added additional check for validity of DDE server. Using the combination of ln = pyz.PyZDDE(); ln.zDDEInit(); ln.close(), it was possible to create a erroneous string handle resulting in a nonetype string handle. In turn, NoneType hszServName (a NoneType String handle) would connect to any available server (windows DDE docs). This resulted in erroneus command executions and raised exceptions

indranilsinharoy/PyZDDE,indranilsinharoy/PyZDDE,ng110/PyZDDE,ng110/PyZDDE