[Q] win ce::internet connectivity (hi-level)
-
hello dear ce coderz, i have some questions regarding internet connectivity on windows ce (.net 4.2) devices. 1) wininet some important wininet methods, e.g. InternetDial InternetHangup InternetAutodial InternetAutodialHangup seem to be non-existent in many sdks (no implementation in wininet.lib), even the pocket pc 2003 sdk. ms/msdn says these are standard-wininet methods. what is going on? is it possible to initiate auto-dial and get a valid handle for wininet methods (e.g. those for ftp sessions) without these methods? 2) 'connectoids' how is it possible to either - copy an existing dial-up connectoid to another win ce device (identical os version) - or change a connectoid's settings (dial-string, ip/dns settings etc.) automatically from a c++ program? i did not find any connectoid settings in the registry (only the connectoid name) and i was not able to identify files which represent connectoids. any hints regarding these subjects are very welcome!! :) thank you in advance, patrick
-
hello dear ce coderz, i have some questions regarding internet connectivity on windows ce (.net 4.2) devices. 1) wininet some important wininet methods, e.g. InternetDial InternetHangup InternetAutodial InternetAutodialHangup seem to be non-existent in many sdks (no implementation in wininet.lib), even the pocket pc 2003 sdk. ms/msdn says these are standard-wininet methods. what is going on? is it possible to initiate auto-dial and get a valid handle for wininet methods (e.g. those for ftp sessions) without these methods? 2) 'connectoids' how is it possible to either - copy an existing dial-up connectoid to another win ce device (identical os version) - or change a connectoid's settings (dial-string, ip/dns settings etc.) automatically from a c++ program? i did not find any connectoid settings in the registry (only the connectoid name) and i was not able to identify files which represent connectoids. any hints regarding these subjects are very welcome!! :) thank you in advance, patrick
hello again, i also realized that on my system (win ce.net 4.2 prototype board), the wininet methods 'InternetGetConnectedState'/'InternetGetConnectedStateEx' are implemented, but do not behave like expected. the returned dword value is always the same (18), regardless of the system currently being connected or not. the string value returned by the Ex-method is always empty. is this behaviour normal? how is it possible to find out if the system is currently connected via (w)lan or gprs, or not at all? thank you in advance, greetings from berlin, patrick
-
hello again, i also realized that on my system (win ce.net 4.2 prototype board), the wininet methods 'InternetGetConnectedState'/'InternetGetConnectedStateEx' are implemented, but do not behave like expected. the returned dword value is always the same (18), regardless of the system currently being connected or not. the string value returned by the Ex-method is always empty. is this behaviour normal? how is it possible to find out if the system is currently connected via (w)lan or gprs, or not at all? thank you in advance, greetings from berlin, patrick
Windows Mobile is a little bit different on connection. You might have been looking at the wrong place. Try APIs for Connection Manager. Cheers. Yongki C. Andyka Jong Adisasta Software Don't know much < I, don't care much > I, while I am here ... just be happy :)
-
Windows Mobile is a little bit different on connection. You might have been looking at the wrong place. Try APIs for Connection Manager. Cheers. Yongki C. Andyka Jong Adisasta Software Don't know much < I, don't care much > I, while I am here ... just be happy :)
hello mr.jong, thank you for your reply! i am actually developing for windows ce (.net 4.2) devices, not for windows mobile / embedded devices. my questions should be placed correctly, because there is no specific message board for windows ce development and this message boards' description says it should be used for mobile, embedded and ce development?! greetings from berlin, patrick
-
hello mr.jong, thank you for your reply! i am actually developing for windows ce (.net 4.2) devices, not for windows mobile / embedded devices. my questions should be placed correctly, because there is no specific message board for windows ce development and this message boards' description says it should be used for mobile, embedded and ce development?! greetings from berlin, patrick
Yes indeed, this forum, I believe is also for Windows Mobile (the new name for Pocket PC/WinCE)be it version wce420 or previous version. While researching to start this product I was also spending quite a lot of my time trying to make the functions you mentioned above worked, IMHO it is not supported, after many tries, I gave up. Cheers, Yongki C. Andyka Jong www.adisasta.com Don't know much < I, don't care much > I, while I am here ... just be happy :)