Hi Xavi,
_Przemek, thank you very much for answering me directly_
It's is possible. Just like many other things which still do
not exists in MS-Windows and we will have to wait next 10
years until MS discover them and add some support for it in
WinSOCK.X.Y.Z which will work correctly in versio
> BTW in which Windows version GetAdaptersInfo() was added?
It is missing from Win95 (and BCB 3.0)
It exists in WinNT4.0 inside iphlpapi.dll (and in BCB 5.0 iphlpapi.h but is not
documented in Win32 API that arrive with BCB 5.0)
Chen.
___
Harbour mai
On Sat, Feb 20, 2010 at 6:07 PM, wrote:
> Please use this code on different non MS-Windows platforms:
>
> proc main( noAlias )
> local iface
> ? os(), version()
> ? "interfaces:"
> for each iface in hb_inetIfInfo( !empty( no
Hi Przemek,
> If not then storing pointer to GetAdaptersInfo() in static variable
> seems to be a little bit risk because such address may change.
> BTW in which Windows version GetAdaptersInfo() was added?
The whole .dll is not available on my Win95 system, but
it's there already on Win98.
Brg
On Mon, 22 Feb 2010, Xavi wrote:
Hi Xavi,
> Okay. Well..., If it's not possible know the type of adapter
> (Ethernet, Token Ring, ...) on other OS not Windows. :(
It's is possible. Just like many other things which still do
not exists in MS-Windows and we will have to wait next 10
years until MS
Hi Xavi,
I think we should remove Windows-only stuff from
this function. Harbour core is meant to be portable,
so anything where there is no provision for support
on other platforms, should be moved to hbwin
(like GUID).
I also don't understand "type". It's vague, and
it returns a human reada
On Sun, 21 Feb 2010, Mindaugas Kavaliauskas wrote:
Hi,
> Xavi has mentioned a popular GetAdaptersInfo() way to get interface
> list. Windows also support another method that is more similar to
> your implementation (but less info could be obtained using with
> method):
> http://tangentsoft.net/ws
Hi,
+ added new C function:
PHB_ITEM hb_socketGetIFaces( int af, HB_BOOL fNoAliases );
it returns array with existing interfaces description.
This code was added for non MS-Windows based platforms only.
Support for MS-Windows has to be added yet.
Xavi has mentio
Revision: 13937
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13937&view=rev
Author: druzus
Date: 2010-02-20 17:07:00 + (Sat, 20 Feb 2010)
Log Message:
---
2010-02-20 18:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/task.c