Search found 16 matches: nfilecrc

Return to advanced search

Re: GetImageHash

Antonio Linares wrote:Dear Hakan,

Please try this:

MsgInfo( nFileCRC( "yourimage.png" ) ) // any image extension


I will try.

Thanks.
by Horizon
Thu Oct 24, 2024 7:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetImageHash
Replies: 2
Views: 314

Re: GetImageHash

Dear Hakan,

Please try this:

MsgInfo( nFileCRC( "yourimage.png" ) ) // any image extension
by Antonio Linares
Wed Oct 23, 2024 2:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetImageHash
Replies: 2
Views: 314

SHA256 CRC

Hi ,
Did we have a function in fivewin or harbour to check CRC SHA256 .

I see nFileCRC() but i am shure it is SHA256

Thanks,

Philippe
by Jack
Fri Nov 03, 2023 7:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SHA256 CRC
Replies: 2
Views: 299

Re: I have a question. Please help.

Dear Yun,

FWH provides the function nStrCrc( cString ) --> nCrc

also function nFileCrc( cFileName ) --> nCrc
by Antonio Linares
Fri Oct 20, 2023 8:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I have a question. Please help.
Replies: 2
Views: 294

Re: CRC of a file

Dear Yuri,

You can use FWH function nFileCRC( cFileName [, lJumpFirst32bytesForDBFs] )
by Antonio Linares
Tue Mar 28, 2023 9:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CRC of a file
Replies: 2
Views: 247

Re: Se necesita ayuda en el wiki !

... nAnd() nArgC() nBmpHeight() nBmpWidth() nColorToN() nDbl2Flt() nDDEGetErrorString() NDdeShareSetInfo() nDlgBox() NextDlgTabItem() nExtMem() nFileCrc() nGetBackRgb() nGetFileFilter() nGetFilter32() nGetForeRGB() nHex() nHiByte() nHiWord() nIcons() nLoByte() nLoWord() nMakeLong() nMciOpen() ...
by Cgallegoa
Sun Feb 21, 2010 10:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5823

Jeff,

You can use FWH DecToHex():

DecToHex( nFileCRC( cFileName ) )

DecToHex( nStrCRC( cString ) )
by Antonio Linares
Fri Feb 22, 2008 5:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Generating a CRC
Replies: 11
Views: 2133

Jeff,

FWH provides:

nFileCRC( cFileName ) --> nCRC

nStrCRC( cString ) --> nCRC
by Antonio Linares
Fri Feb 22, 2008 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Generating a CRC
Replies: 11
Views: 2133

Antonio,

You may use FWH function nFileCRC( cFileName ) --> nCRC to calculate the checksum of a file

If the file is modified, the CRC will be different
by Antonio Linares
Tue Dec 18, 2007 12:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Electronic documents digitaly signed - best soltution ?
Replies: 4
Views: 1245

... as I get to the 'nitty gritty' of the system. And by the way - don't go creating 5 000 000 records and run it on a network - I have not removed my nFileCRC( )'s yet!!! :) Regards, Dale.
by dpaterso
Thu Feb 23, 2006 4:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to go further with app
Replies: 16
Views: 7429

OK, OK, OK!

As always - you are right!

nFileCRC( ) OBVIOUSLY reads the entire file because with 50000 records the system becomes unuseable i.e. every time the timer ticks the system stalls for a time and then comes back to life!!!!!!

Back to the drawing board :x

Regards,

Dale.
by dpaterso
Thu Feb 23, 2006 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Network Programming - Refreshing Listbox Browse
Replies: 15
Views: 6467

... it reads or creates a checksum from the header though. Anyone know anything more about this? Anywhere I can look for more technical information on nFileCRC( )? Regards, Dale.
by dpaterso
Thu Feb 23, 2006 3:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Network Programming - Refreshing Listbox Browse
Replies: 15
Views: 6467

Hello Dutch, There is a function called nFileCRC( ) that returns the Checksum of a file. The Checksum of a file seems to change whenever any change is made to the file including just the simple flagging of a record for deletion. e.g. nFileCheckSum ...
by dpaterso
Thu Feb 23, 2006 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Network Programming - Refreshing Listbox Browse
Replies: 15
Views: 6467

João,

Sí, es un ejemplo de uso de nFileCRC()
by Antonio Linares
Mon Jan 23, 2006 1:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MD5
Replies: 3
Views: 971

Antonio Linares wrote:avs,

Puedes usar la función de FWH nFileCrc( <cNombreFichero> ) --> nCRC

No se si el valor retornado es exactamente el mismo que el MD5, pero es un CRC con lo que te sirve perfectamente.



Buenos dias Antonio.

El ejemplo ke tu ti referis, és TESTCRC.PRG???
by karinha
Mon Jan 23, 2006 11:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MD5
Replies: 3
Views: 971
Next

Return to advanced search