Wininet.dll Internet dial function.

  • Thread starter Thread starter Sean Barnes
  • Start date Start date
S

Sean Barnes

Hello all,

I am having a bit a problem with the InternetDial function in the
wininet.dll.

The problem is that despite passing in a null terminated string as the
lpszConnectoid param to the function it simply picks the top connection in
an alphanumerically sorted list obtained from the rasapi32.dll
RasEnumEntries function.

Stranger still it works fine on XP but 2K shows this problem. I have
searched MSDN and there is no indication that I should employ different
methods of calling the function to achieve this.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/internetdial.asp

This is the page dealing with this function.

Other than this the function works correctly, dialing and establishing a
connection and passing back a connection number that I later use via
InternetHangup to end the call.

Any one seen this one before or know a fix?

Thanks in advance Folks.

Sean.
 
Guys,

I withdraw the question. I was incorrectly terminating the string "/0" not
"\0" DOH!!!!!!!!!!!!!!!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top