FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour AntiDuplicate
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
AntiDuplicate
Posted: Tue May 18, 2010 05:31 PM
Hi,

Is anyone out there successfully using AntiDuplicate with FWH ?

http://www.alkonost.com/antiduplicate/
Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: AntiDuplicate
Posted: Tue May 18, 2010 09:06 PM

Hola,

did you test protect.prg from fivewin sample directory, I think this can do the same what AntiDuplicate do

regards

Marcelo

Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: AntiDuplicate
Posted: Tue May 18, 2010 10:28 PM

Yes I have used protect.prg the problem with it is that it requires the user to have Administrative Rights for it to function correctly.

AntiDuplicate does not require Admin Rights.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: AntiDuplicate
Posted: Thu May 20, 2010 12:35 AM

The software comes with samples for the following, maybe someone can convert to FWH ?

Borland C++ Builder
C#.net
Delphi
FoxPro
Visual Basic 6
Visual Basic.net
Visual C++ Ver 5
Visual C++.net

Please let me know and I can email you the sample for your language.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: AntiDuplicate
Posted: Thu May 20, 2010 04:22 AM

Jeff,

Could you please post here the example source code for Borland C++ Builder ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: AntiDuplicate
Posted: Thu May 20, 2010 11:09 AM
Hello Jeff


i tested protect.prg with standar user, without administrator privileges, and run fine to me

i hope other user can test

http://www.sitasoft.net/fivewin/samples/protect.zip
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: AntiDuplicate
Posted: Thu May 20, 2010 12:58 PM
Hi Antonio,

You can get the files for Borland C++ Builder here:

http://www.can-soft.net/BCB.zip
Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: AntiDuplicate
Posted: Thu May 20, 2010 01:00 PM

Hi Daniel,

I think there is a registry setting or something that can help but I have not found it.
I have tested on a few systems ... one system would work regardless of users access rights while all the others would not.

I have been testing this on Windows XP systems.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: AntiDuplicate
Posted: Thu May 27, 2010 08:01 PM

Hi Antonio,

Any luck with the conversion.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: AntiDuplicate
Posted: Thu May 27, 2010 08:38 PM

Jeff,

What is the name of the AntiDuplicate DLL file ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: AntiDuplicate
Posted: Thu May 27, 2010 10:14 PM

It is Aas973.dll

Please check your gmail account ... I sent you some files.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: AntiDuplicate
Posted: Thu May 27, 2010 11:09 PM
Jeff,

Please try this:
Code (fw): Select all Collapse
   MsgInfo( Fddig1( 0 ) )
   ...
  
DLL FUNCTION FDDIG1( n AS LONG ) AS LONG PASCAL LIB "Aas973.dll"

A value below 7 means that there is No Key drive in the USB port
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: AntiDuplicate
Posted: Fri May 28, 2010 01:30 AM

It returns "nil" with or without the usb memory stick connected.

I sent an email to your gmail account.
It has a link to some additional files that should help.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: AntiDuplicate
Posted: Fri May 28, 2010 06:45 AM

Jeff,

Please provide a url to download just the DLL, thanks

Or simply create a DEF file from it and publish it here:
c:\bcc582\bin\impdef.exe name.def name.dll

name.def will contain all the DLL exported functions names. It is an ascii file that you can copy here

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: AntiDuplicate
Posted: Fri May 28, 2010 12:53 PM
Antonio,

here it is:

Code (fw): Select all Collapse
LIBRARY     AAS973.DLL

EXPORTS
    Accdd1                         @1   ; Accdd1
    Accdd2                         @3   ; Accdd2
    Dscbf1                         @5   ; Dscbf1
    Fddig1                         @2   ; Fddig1
    FddigV                         @4   ; FddigV
Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)