About uninitalizing the length variable, if the tests bomb in windows, dont ask me. well i will put them in anew patch once this gets accepted. i have still some more tests and implementation to go. This is just the beggining. Thanks, Vijay
PS: ----- Why this always happens to me :( .
On 11/9/05, Dmitry Timoshkov dmitry@baikal.ru wrote:
"Vijay Kiran Kamuju" infyquest@gmail.com wrote:
In your Last suggestion if i initialize the length variable in the tests, the native simply gives garbage, thats inorder to make the test pass.
I too dont know much about how use the wininet apis, i just wrote a simple test prog to get test it, if you have any full pledged program source code. please send me that. i would like to experiment on it.
I just have read MSDN description of InternetQueryOption, nothing more. In your try4 you still forget to initialize buffer length before InternetQueryOption calls, and do not check buffer length in the implementation of INTERNET_OPTION_USER_AGENT.
-- Dmitry.