Search found 27 matches: nstrcrc

Return to advanced search

Re: FWH or harbour function support CRC?

Natter wrote:nStrCRC(mystr)


Yes, I try it. But not work.
by richard-service
Thu Jan 11, 2024 5:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH or harbour function support CRC? ( Solved )
Replies: 16
Views: 2421

Re: FWH or harbour function support CRC?

nStrCRC(mystr)
by Natter
Wed Jan 10, 2024 11:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH or harbour function support CRC? ( Solved )
Replies: 16
Views: 2421

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: 301

Re: Antonio: nStrCrC()

Hallo Otto, nein bin nicht betroffen. Mache Software für (Schützen-)Vereine und den öffentlichen Dienst.
Liebe Grüße nach Osttirol!
by byte-one
Tue Jan 17, 2017 5:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: nStrCrC()
Replies: 3
Views: 1905

Re: Antonio: nStrCrC()

Hallo Günther,
vorerst liebe Grüße aus Osttirol.
Bist du mit deiner Software von der RKSV betroffen.
lg
Otto
by Otto
Tue Jan 17, 2017 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: nStrCrC()
Replies: 3
Views: 1905

Re: Antonio: nStrCrC()

Günther,

Included for next FWH version

thanks
by Antonio Linares
Fri Jan 13, 2017 8:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: nStrCrC()
Replies: 3
Views: 1905

Antonio: nStrCrC()

Antonio, above function seems not included in FWH-libs for Community 2015! (FWH 16/04)
by byte-one
Fri Jan 13, 2017 4:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: nStrCrC()
Replies: 3
Views: 1905

Re: Differences between result of nStrCrc in FW vs FWh

Hi!, check this link, this example and "C" program is clear!, regards. (lib_crc.zip)
Roberto Olaciregui
http://www.lammertbies.nl/comm/software/index.html
by Rolaci
Tue Mar 06, 2012 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Differences between result of nStrCrc in FW vs FWh
Replies: 11
Views: 2221

Re: Differences between result of nStrCrc in FW vs FWh

OMG... I will die when tell this to my clients ... :-|

But i understand you comment.

Thank you for the answers!
by hidroxid
Tue Jan 17, 2012 8:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Differences between result of nStrCrc in FW vs FWh
Replies: 11
Views: 2221

Re: Differences between result of nStrCrc in FW vs FWh

Gustavo,

Why don't you assume that all the DATA is bad and then recalculate all news CRCs using HB_CRC32() ?

Surely the CRC values between 16 and 32 bits are differents and its not easy to know where the difference comes from
by Antonio Linares
Mon Jan 16, 2012 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Differences between result of nStrCrc in FW vs FWh
Replies: 11
Views: 2221

Re: Differences between result of nStrCrc in FW vs FWh

Antonio, Nop, let me resume: With a simple string: "Hola" + Chr(0), i get: nStrCrc() -> Harbour + FiveWin: 254842013 nStrCrc16 -> Harbour + FiveWin: 23978 HB_CRC32 -> Harbour + FiveWin: 4040125282 nStrCrc() -> Clipper + FiveWin: 812493129 See? ...
by hidroxid
Fri Jan 13, 2012 8:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Differences between result of nStrCrc in FW vs FWh
Replies: 11
Views: 2221

Re: Differences between result of nStrCrc in FW vs FWh

Gustavo,

Your code nStrCrc() is like nStrCrc16() in Harbour


As far as I understand you need the same functionality between nStrCrc() in Clipper and nStrCrc16() in Harbour, and you already have it :-)

What is it missing ?
by Antonio Linares
Fri Jan 13, 2012 7:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Differences between result of nStrCrc in FW vs FWh
Replies: 11
Views: 2221

Re: Differences between result of nStrCrc in FW vs FWh

Antonio, Test again and get the same result: Your code nStrCrc() is like nStrCrc16() in Harbour i believe the problem is that nStrCrc() is to calc the CRC16. Reading the Help of FiveWin Functions for Clipper it say: "nStrCrc( <cText> ) ... ...
by hidroxid
Fri Jan 13, 2012 4:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Differences between result of nStrCrc in FW vs FWh
Replies: 11
Views: 2221

Re: Differences between result of nStrCrc in FW vs FWh

Antonio, Yes!, i test your code with Clipper + FW 2.1 and get the same result that using the function nStrCrc16() with Harbour + FWh 10.12, but not the same using nStrCrc() with Clipper + FW 2.1. Or you say test only in clipper without FW ?... is same not?.. well i test all ...
by hidroxid
Fri Jan 13, 2012 1:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Differences between result of nStrCrc in FW vs FWh
Replies: 11
Views: 2221

Re: Differences between result of nStrCrc in FW vs FWh

Gustavo,

Please try this code with Clipper and see if it works fine,

It may be a difference between 16 and 32 bits that has to be fixed
by Antonio Linares
Thu Jan 12, 2012 11:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Differences between result of nStrCrc in FW vs FWh
Replies: 11
Views: 2221
Next

Return to advanced search