Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HttpSendRequest and InternetErrorDlg - timing issue

16 views
Skip to first unread message

AnkurM

unread,
Aug 5, 2009, 9:17:03 AM8/5/09
to

Hi,

I am using HttpSendRequest() funtion to Http Request. I am using smart card.

So it fails with ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED error.

I am using InternetErrorDlg() API to show the cerificate present on Smart
card.

Issue:
Dialog(InternetErrorDlg()) is not coming up when I am login into my xp
machine since my program is present in startup. So as soon as i login into
the machine my program launches.

troubleshoot:
I placed two message box one before HttpSendRequest() and one before this
InternetErrorDlg().
So dialog with certificate comes up.

So I found HttpSendRequest() API needs some time. So can you please tell me
why it needs time during login?

0 new messages