Search found 95 matches: getnetcardid

Return to advanced search

Re: GetNetCardID()

Chris,

>
Yes the function correctly returns a two element array with the MAC address of the Ethernet adapter and of the Bluetooth adapter.
>

very good :-)

Thanks for your feedback :-)
by Antonio Linares
Fri Feb 13, 2009 11:25 am
 
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 6664

Re: GetNetCardID()

Yes the function correctly returns a two element array with the MAC address of the Ethernet adapter and of the Bluetooth adapter.

My device is a TouchStar Technologies, TouchPC Falcon runing Win CE 5.0
by ChrisMillard
Fri Feb 13, 2009 11:22 am
 
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 6664

Re: GetNetCardID()

Chris,

> It now works perfectly, thank you again.

Is it properly showing the MAC address ?

Thanks for your feedback :-)
by Antonio Linares
Fri Feb 13, 2009 9:14 am
 
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 6664

Re: GetNetCardID()

Got an unresolved external: CEFUNC.obj : error LNK2019: unresolved external symbol "char * __cdecl WideToAns i(unsigned short *)" (?WideToAnsi@@YAPADPAG@Z) referenced in function "void __cd ecl GetMACaddress(void)" (?GetMACaddress@@YAXXZ) I have seen this before and figured out t...
by ChrisMillard
Fri Feb 13, 2009 9:08 am
 
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 6664

Re: GetNetCardID()

Chris,

Please replace this and try it again, thanks:

wsprintf( ( void * ) wText

with

wsprintf( ( WCHAR * ) wText
by Antonio Linares
Fri Feb 13, 2009 7:22 am
 
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 6664

Re: GetNetCardID()

Thankyou for the quick response, I have had a go this evening but get the following errors when compiling p:\vce\include\arm\mprapi.h(120) : warning C4068: unknown pragma p:\vce\include\arm\mprapi.h(1746) : warning C4068: unknown pragma CEFUNC.prg(1100) : error C2664: 'wsprintfW' : cannot convert pa...
by ChrisMillard
Fri Feb 13, 2009 12:36 am
 
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 6664

Re: GetNetCardID()

... >> msvc.tmp Test.prg  #include "FWCE.ch" function Main()    local aInfo := GetNetCardID()      if ValType( aInfo ) == "C"      MsgInfo( aInfo )   else  ...
by Antonio Linares
Thu Feb 12, 2009 4:06 pm
 
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 6664

GetNetCardID()

I have seen references to this function in the FiveWin forum. But I get an unresolved external with FWPPC. Am I missing something or is this function not available. Is there a simple way to get the MAC Address, or will I have to attempt to write a wrapper for SendARP in C. My C skills are limited un...
by ChrisMillard
Thu Feb 12, 2009 1:08 pm
 
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 6664

Re: NECESITO AYUDA URGENTE GetCpuSpeed

HOla, Usa el MacAdreess dela tarjeta de red para validar tu programa,,, no da errores Salu2 Function GetMacAdd() local aMac, cRet aMac := GetNetCardID() IF VALTYPE(aMac) = "A" // hay varias tarjetas de red cRet := aMac[1] Else cRet := aMac // una sola t de red EndIf Return(cRet)
by Willi Quintana
Thu Jan 22, 2009 3:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: NECESITO AYUDA URGENTE GetCpuSpeed
Replies: 6
Views: 914

Bueno, una última reseña con otro dato curioso: El dato entre paréntesis es el valor que devuelve GetNetCardId() He cogido la tarjeta de red del viejo ordenador (44-45-53-54-00-00) y la he pinchado en un ordenador nuevo con tarjeta de red integrada (00-1A-92-B4-88-C7). Ahora ...
by Manuel Aranda
Sat Nov 22, 2008 11:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Protección anticopia
Replies: 10
Views: 2798

Manuel, Esta es la función del API de Windows que usamos en GetNetCardID(): http://msdn.microsoft.com/en-us/library/aa365917(VS.85).aspx Y este es el código fuente: #include <WinTen.h> #include <Windows.h> #include <hbapiitm.h> ...
by Antonio Linares
Sat Nov 22, 2008 10:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Protección anticopia
Replies: 10
Views: 2798

Manuel, Tienes que comprobar el tipo de valor que devuelve GetNetCardId(). Si es de tipo array, entonces es que hay mas de un adaptador de red. Si solo hay un adaptador entonces debe devolver un valor tipo cadena. Si no hay adaptador de red, la verdad ...
by Antonio Linares
Fri Nov 21, 2008 10:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Protección anticopia
Replies: 10
Views: 2798

Gracias Antonio y Wiliam. Unas preguntas más : Ante la curiosidad de si GetNetCardId() proporciona siempre el mismo formato he probado en tres ordenadores diferentes y me ha dado un serial con el mismo formato en los tres: 00-1A-92-B4-88-C5 ¿Esto siempre es ...
by Manuel Aranda
Fri Nov 21, 2008 7:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Protección anticopia
Replies: 10
Views: 2798

Manuel,

Tienes que enlazar bcc55\lib\PSDK\iphlpapi.lib para usar GetNetCardId()
by Antonio Linares
Thu Nov 20, 2008 7:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Protección anticopia
Replies: 10
Views: 2798

Protección anticopia

... nSerialHD() pero hoy me han demostrado lo sorprendentemente fácil que es piratar un programa basado en esta protección. También he probado msginfo(GetNetCardId()) y me da el error siguiente: Error: Unresolved external 'GetAdaptersInfo' referenced from C:\FWH\LIB\FIVEHC.LIB|NETCRDID. Aunque esto ...
by Manuel Aranda
Thu Nov 20, 2008 7:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Protección anticopia
Replies: 10
Views: 2798
PreviousNext

Return to advanced search