ADS function list

ADS function list

Postby sambomb » Thu Jul 28, 2011 7:16 pm

Where can I find a list with ALL functions, parameters and returns of ACE32.LIB/DLL ?
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

Re: ADS function list

Postby ukoenig » Thu Jul 28, 2011 9:22 pm

Have a look here :

http://help.sap.com/businessobject/prod ... _lr_en.pdf

Best Regards
Uwe : :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: ADS function list

Postby sambomb » Fri Jul 29, 2011 11:43 am

UWE thx for reply BUT it is not what I want....
I want ADS function list, that is contained in ACE32.DLL OR ACE32.LIB if already converted.

Sample: ADSEncryptTable(), ADSDecryptTable(), AdsEnableEncryption(), etc...
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

Re: ADS function list

Postby kok joek hoa » Sat Jul 30, 2011 3:46 am

Dear Sambomb,

I have sent a list of ADS Function to your email.

regards,

kok
kok joek hoa
 
Posts: 117
Joined: Tue Jan 03, 2006 6:18 pm

Re: ADS function list

Postby sambomb » Mon Aug 01, 2011 1:13 pm

Thx! I'll take a look and then I post here again...

PS.:
Can anyone do a test and send me a sample of how to correct?
Encrypt a DBF
Open the DBF with DBW or another Database manager, modify the value of a field. (PRODNAME From "&%!%¨@" to "TEST")
Encrypt the DBF again, the modified value should be encrypted again, right? It happen, but ALL OTHER FIELDS IN ALL OTHER RECORDS lose the encryption!
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

Re: ADS function list

Postby reinaldocrespo » Wed Aug 03, 2011 3:46 pm

Mr. Kok;

Would you please also email the same list to me?

Thank you,


reinaldo dot crespo at gmail dot com.


Reinaldo.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: ADS function list

Postby sambomb » Wed Aug 03, 2011 4:49 pm

Forwarded
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

Re: ADS function list

Postby reinaldocrespo » Wed Aug 03, 2011 4:56 pm

Sambomb;

Got it.

Thank you.


Reinaldo.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: ADS function list

Postby sambomb » Wed Aug 03, 2011 5:23 pm

Reinaldo, do you have ADS 9.x ?
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

Re: ADS function list

Postby reinaldocrespo » Wed Aug 03, 2011 5:38 pm

I work with 8, 9, and 10.


Reinaldo.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: ADS function list

Postby sambomb » Wed Aug 03, 2011 6:23 pm

Can you do a test for me?

1- Encrypt a DBF
2- Check the DBF and look if all records are crypted.
3- Open the DBF with DBW.exe, DBU.exe or another DataBase viewer
4- Change the value of one field in a single rec
5- Encrypt the same DBF again
6- Check the DBF and look if all records are crypted.

Litle sample of how to crypt the DBF

Code: Select all  Expand view


Public pDir := "C:\Test\"

****************************************************************************
function OpenDbf(cFile, cIndex, lExclusive, cAlias, lEncrypt)
****************************************************************************
*
*  Abrir arquivos em rede e mante-los criptografados
*  Parametro: cFile, cIndex, lExclusive, cAlias, lEncrypt
*  Retorno: Lógico - sucesso ao abrir
*
****************************************************************************

local Result := .T., cChave := 'P'+'A'+'S'+'S'+'W'+'O'+'R'+'D'+'.'+'A'+'D'+'S'+'1'+'2'+'3'
   
   default lExclusive := .F.
   default lEncrypt   := .T.
   default cIndex := ''

   if ValType(cAlias) != "
C"
   
      cFile  := AllTrim(Upper(cFile))
     
      if Right(cFile,4) == "
.DBF" .or. Right(cFile,4) == ".ADS"
         cAlias := Substr( cFile, 1, Len(cFile) -4 )
      else
         cAlias := cFile
      end
   
   end
   
   select 0

   if lEncrypt
      Try
         dbUseArea(.T., "
ADS" , pDir + cFile, cAlias, .not. lExclusive)
      catch
         Return .F.
      end
   else
      Try
         dbUseArea(.T.,"
DBFCDX",pDir + cFile, cAlias, .not. lExclusive)
      catch
         Return .F.
      end
   end

   if .not. empty(cIndex) .and. file(pDir + cIndex)
      set index to (pDir + cIndex)
      dbsetorder(1)
   end
   
   if lEncrypt
      AdsEnableEncryption(cChave)
   end
   
   Result := .T.
   
return Result

/*------------------------------------------------------------------------*/
Function Test()

   If !OpenDbf("
C:\Test\MyDBF.DBF", ,.T. , , .T.)
      MsgInfo("
Erro ao abrir a tabela")
      Return .F.
   end

   If ADSEncryptTable() != 0

      AdsShowError("
Erro ao criptografar a tabela")

   else

      MsgInfo("
Tabela criptografada")

   end

Return nil
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

Re: ADS function list

Postby ukservice » Wed Aug 03, 2011 7:26 pm

I am also interested in ADS functions.

Thank you very much.

My email is ukservice.software@gmail.com

Regards,
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: ADS function list

Postby Gale FORd » Wed Aug 03, 2011 7:28 pm

Gosh, I would love a copy also.
Gale.Ford@wwrowland.com

Thanks
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: ADS function list

Postby sambomb » Wed Aug 03, 2011 8:22 pm

Forwarded.
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

Re: ADS function list

Postby TimStone » Wed Aug 03, 2011 10:51 pm

Same for me ... but I'd like it for the Harbour compiler.

Thanks.

Tim
"timstone@masterlinksoftware.com"
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: cmsoft and 83 guests