Solved

TLockBox for D2006

Posted on 2006-10-31
5
454 Views
Last Modified: 2010-05-18
Can somebody to modify the TLockBox component http://sourceforge.net/projects/tplockbox/ for D2006.


Someone give me this information:
"i found this post on onguard forum explain something to work with d2005 and d2006.
http://sourceforge.net/forum/forum.php?thread_id=1316992&forum_id=241892"


0
Comment
Question by:carcotasu
  • 2
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 300 total points
ID: 17848026
Hello,

  I just installed it and run the Delphi samples, it worked fine with me

just open L207vd70.dpk from D2006, add the source folder to the library path, then combile, you will be notifed for some errors about the DsgnIntf not found, just replace this line {$IFDEF VERSION 6} with {$IFDEF VER180}

and you replace all the that, just install it, and it will be installed and working

HTH

Regards,
Mohammed
0
 
LVL 1

Assisted Solution

by:real_icecoke
real_icecoke earned 200 total points
ID: 17848264
yep mohammed is rigth - I simple commented the DsgnIntf stuff out:

//{$IFDEF Version6}
  DesignIntf,
  DesignEditors,
//{$ELSE}
//  DsgnIntf,
//{$ENDIF}

and lockbox is compiling fine under D2006

And read the comments in the manual - they offer some very insecure ciphers for compability reasons. So don't use them if you write a new application!

icecoke
0
 
LVL 1

Author Comment

by:carcotasu
ID: 17848296
Tanks, but don't work.

Compile ok, but if I select Install component D give this error messaj


 + $43[51F35B06]{rtl100.bpl  } Classes.Classes.TFileStream.Create (Line 5486, "classes.pas" + 11) + $43
 + $B[51F359C4]{rtl100.bpl  } Classes.Classes.TFileStream.Create (Line 5468, "classes.pas" + 2) + $B
 + $B[51FE9486]{vcl100.bpl  } Graphics.Graphics.TGraphic.LoadFromFile (Line 3724, "Graphics.pas" + 1) + $B
 + $10[20B64D89]{coreide100.bpl} ObjectRepos.ObjectRepos.TBaseRespositoryItem.LoadIcon (Line 779, "ObjectRepos.pas" + 8) + $10
 + $2[20B64FC9]{coreide100.bpl} ObjectRepos.ObjectRepos.TBaseRespositoryItem.LoadBasicData (Line 822, "ObjectRepos.pas" + 25) + $2
 + $4[20B686DC]{coreide100.bpl} Template.Template.TProjectRepositoryItem.LoadData (Line 276, "Template.pas" + 3) + $4
 + $7[20B62CEE]{coreide100.bpl} ObjectRepos.ObjectRepos.TObjectRepository.AddRepositoryItemFromNode (Line 174, "ObjectRepos.pas" + 11) + $7
 + $3F[20B6339C]{coreide100.bpl} ObjectRepos.ObjectRepos.TObjectRepository.LoadRepository (Line 307, "ObjectRepos.pas" + 45) + $3F
 + $7[20B6E44F]{coreide100.bpl} Gallery.Gallery.LoadGallery (Line 620, "Gallery.pas" + 17) + $7
 + $3[20CAC6C1]{coreide100.bpl} PaletteNewItems.PaletteNewItems.TToolPaletteNewItems.LoadNewItems (Line 367, "PaletteNewItems.pas" + 8) + $3
 + $2[20CACA25]{coreide100.bpl} PaletteNewItems.PaletteNewItems.TToolPaletteNewItems.ReloadItems (Line 432, "PaletteNewItems.pas" + 4) + $2
 + $2[20CAC3FF]{coreide100.bpl} PaletteNewItems.PaletteNewItems.TToolPaletteNewItems.BeforeEndupdate (Line 291, "PaletteNewItems.pas" + 3) + $2
 + $9[21BA9049]{delphicoreide100.bpl} ApplOpts.ApplOpts.TApplicationOptions.UnprepareEdit (Line 107, "Applopts.pas" + 27) + $9
 + $C[21BB5CE1]{delphicoreide100.bpl} BasePasProjOpts.BasePasProjOpts.TProjOptsManager.InstallPackage (Line 1855, "BasePasProjOpts.pas" + 17) + $C
 + $3[21BB671B]{delphicoreide100.bpl} BasePasProjOpts.BasePasProjOpts.TProjectOptions.InstallPackage (Line 2240, "BasePasProjOpts.pas" + 0) + $3
 + $5[21BA7F30]{delphicoreide100.bpl} PkgContainers.PkgContainers.TStdPackageProjectContainer.CommandHandler (Line 141, "PkgContainers.pas" + 4) + $5
 + $6[20BD4A0A]{coreide100.bpl} Containers.Containers.TStdProjectContainer.CommandHandler (Line 1783, "Containers.pas" + 0) + $6
 + $5[5202F0AD]{vcl100.bpl  } Menus.Menus.TPopupList.MainWndProc (Line 3374, "Menus.pas" + 2) + $5
 + $0[51F40BB0]{rtl100.bpl  } Classes.Classes.StdWndProc (Line 11572, "classes.pas" + 8) + $0
 + $6F[77D48706]{USER32.dll  } GetDC + $6F
 + $14F[77D487E6]{USER32.dll  } GetDC + $14F
 + $122[77D489A0]{USER32.dll  } GetWindowLongW + $122
 + $A[77D4BCC7]{USER32.dll  } DispatchMessageA + $A
0
 
LVL 1

Expert Comment

by:real_icecoke
ID: 17856525
did you cleaned up your dcus etc. that might be still in your system from the first compilation try?

I could send you my source, that is compiling fine under BDS2006, delphi, XP Pro SP2. But I guess the source itself is not your problem anymore. Try to find and remove everything from lockbox withing your pathes and compile, install again. This should do the trick hopefully.

gracias
icecoke
0
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 17858289
also make sure your paths is right, if there's old version on the path

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
System restore point 4 91
Virtuailstring tree add node to another virtuailstring tree list 4 106
Internet Explorer View Settings Question 15 107
How to debug For loops? 3 46
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now