Diono
asked on
Win API
Hi,
I need to download documentation containing windows API functions. Where can I do this(where exactly on the MSN website), as I need to trap the "connected to internet" message.
I preferably need both questions answered. I will need the documentation for future use.
Regards,
Dion.
I need to download documentation containing windows API functions. Where can I do this(where exactly on the MSN website), as I need to trap the "connected to internet" message.
I preferably need both questions answered. I will need the documentation for future use.
Regards,
Dion.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
listening...
hi,
if you installed delphi you most likely have a file called win32.hlp installed ,search your drives for it.
msdn is certainly the best place(usually more up to date), i recently bought vc6,it came with msdn on cds which i installed ,makes for fast searching ;-)
to see if your connected to the internet you can try this function from wininet :
Uses Wininet;
procedure TForm1.Button1Click(Sender : TObject);
var
dwConnectionTypes: dWord;
begin
dwConnectionTypes := 0;
if InternetGetConnectedState( @dwConnect ionTypes, 0) then
showmessage('connected')
else
showmessage('not connected');
end;
if that fails to work you can use the component here:
http://members.xoom.com/kirez/download.htm
if you installed delphi you most likely have a file called win32.hlp installed ,search your drives for it.
msdn is certainly the best place(usually more up to date), i recently bought vc6,it came with msdn on cds which i installed ,makes for fast searching ;-)
to see if your connected to the internet you can try this function from wininet :
Uses Wininet;
procedure TForm1.Button1Click(Sender
var
dwConnectionTypes: dWord;
begin
dwConnectionTypes := 0;
if InternetGetConnectedState(
showmessage('connected')
else
showmessage('not connected');
end;
if that fails to work you can use the component here:
http://members.xoom.com/kirez/download.htm
Listening :-)
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split points between motaz and mnasman
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Thank you,
Russell
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
Split points between motaz and mnasman
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Thank you,
Russell
EE Cleanup Volunteer