I occured the same problem when start openvpn in GUI mode!!But I have resolve it!!!I found that it occur a error when I use method of serveice-win32 to start vpn !At last I force to set 3 for hStdInput , it run well!
like this!!

start_info.hStdInput = (HANDLE)0x3 ; //GetStdHandle(STD_INPUT_HANDLE);

And I don't know why this is??

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn

Reply via email to