Re: [Lazarus] OnGuard
Graeme, Thanks for updating that, I am just about to implement into one of my projects. Richard On 8 March 2014 16:58, Graeme Geldenhuys mailingli...@geldenhuys.co.ukwrote: On 2014-03-08 11:50, Richard Mace wrote: Found that the CCR svn repository seems to work. I've updated the source file locations in the design time package (Github repository). It compiles and installs 100% now into Lazarus IDE and on the component palette. Regards, Graeme Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] OnGuard
Thanks Reinier. Found that the CCR svn repository seems to work. On 7 Mar 2014 09:33, Reinier Olislagers reinierolislag...@gmail.com wrote: On 06/03/2014 20:47, Richard Mace wrote: Hi all, I tried to add the OnGuard package to Lazarus 1.2 and am unable to compile because it is complaining of a missing unit ogreg. Has anyone got this working recently? Thanks in advance, and many thanks for all who were involved in making 1.2 happen. Similar thread/question that may be helpful: http://forum.lazarus.freepascal.org/index.php/topic,23495.msg142005.html#msg142005 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] OnGuard
On 2014-03-08 11:50, Richard Mace wrote: Found that the CCR svn repository seems to work. I've updated the source file locations in the design time package (Github repository). It compiles and installs 100% now into Lazarus IDE and on the component palette. Regards, Graeme Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] OnGuard
On 06/03/2014 20:47, Richard Mace wrote: Hi all, I tried to add the OnGuard package to Lazarus 1.2 and am unable to compile because it is complaining of a missing unit ogreg. Has anyone got this working recently? Thanks in advance, and many thanks for all who were involved in making 1.2 happen. Similar thread/question that may be helpful: http://forum.lazarus.freepascal.org/index.php/topic,23495.msg142005.html#msg142005 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] OnGuard
Hi all, I tried to add the OnGuard package to Lazarus 1.2 and am unable to compile because it is complaining of a missing unit ogreg. Has anyone got this working recently? Thanks in advance, and many thanks for all who were involved in making 1.2 happen. Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] OnGuard - Install
On Thu, Sep 13, 2012 at 7:50 PM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 13/09/12 22:12, Marcos Douglas wrote: Anyone here use the OnGuard? Yup, we use it in our current projects. https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/onguard I have my own maintained OnGuard repository. Most commits I made was to support fpGUI, but there was some code clean-up and reorganising as well. eg: There are now separate runtime and design time packages, making it possible to use OnGuard in console or CGI apps too (this was one of our company requirements). Here is a summary list of commits I have in my OnGuard repository. -- d064080 2012-04-18 EOL style was mixed in this unit. Now it is consistent. 2d5679b 2012-04-18 Moved LCL specific source units into a 'lcl' sub-directory. 1916812 2012-04-18 Code formatting and removed pointless code comment (revision) tags 02cc430 2012-04-18 Fixes midSystem under Linux's CreateMachineID() 1918fef 2012-04-18 Temporary disabled midDrives under Linux's CreateMachineID() 4013a7b 2012-04-18 Implement midUser in Linux version of CreateMachineID() e0c5fbc 2012-04-18 Removed Win16 CreateMachineID() implementation. 2db55c8 2012-04-18 Fixes spelling mistake in code comment 0aab958 2012-04-18 Added $AppType to make sure the app is a GUI app under Windows. 702521f 2012-04-18 tponguard.lpk package is now a Runtime-only package 97e3632 2011-05-14 Further implementation to Code Generation form. c19aaed 2011-05-14 Moved 'exdmod' example into 'lcl/exdmod' directory. aacc764 2011-05-14 Updated demo 'exdmod' to work with Lazarus 0.9.30 and FPC 2.4.3 f6faa4f 2011-05-13 Added a new gui package for use with fpGUI toolkit. 2f5c6eb 2011-05-13 new Code Generation example implemented for the fpGUI toolkit. 95edb45 2011-05-13 new Key Maintenance example implemented for the fpGUI toolkit. d3e898d 2011-05-13 Hide all debug calls behind IFDEF statements. e4ef01c 2011-05-13 Code Generation form (fpGUI) completed for TogDateCode usage. d87ab3f 2011-05-13 Further impovements and implementation details to the (fpGUI) GUI forms. 2073cbf 2011-05-13 minor tweak to package settings db25832 2011-05-13 latest standards are to use lowercase file names 8330153 2011-05-13 Created forms used for generating keys b94b5f4 2011-05-11 add more ideas for identifying markers and HDD serial numbers 27bb491 2011-05-11 added a gitignore control file 23e35af 2010-02-10 some other ideas to implement 532da37 2010-02-10 Split single packages into two packages 028abe8 2010-02-10 Used when building console applications. 05f7104 2010-02-09 Initial commit. A conversion of SubVersion to Git. -- I must admit, I haven't tested with LCL recently, but I definitely know the core (non-GUI parts) of OnGuard definitely works under Linux and Windows, 32- and 64-bit systems. If you want, you can grab a copy from my repository on GitHub. https://github.com/graemeg/onguard Ok, I will take a look in your version... but about the error that I was talking, do you know what could be wrong? If you don't have Git installed, you can grab a zip archive (snapshot) of the latest code - also found in the above URL. Just click the ZIP button. The maintainers of the Lazarus-CCR version is welcome to merge changes from my repository if they want. I use Git too. Take a look in one of my projects: http://github.com/mdbs99/Greyhound Thanks. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] OnGuard - Install
On Thu, Sep 13, 2012 at 7:50 PM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: [snip] I must admit, I haven't tested with LCL recently, but I definitely know the core (non-GUI parts) of OnGuard definitely works under Linux and Windows, 32- and 64-bit systems. Take a look in the paths. The LCL sources are in source/lcl tponguard_design.pas(10,5) Fatal: Can not find unit ogreg used by tponguard_design. Check if package tponguard_design is in the dependencies. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] OnGuard - Install
On Thu, Sep 13, 2012 at 6:12 PM, Marcos Douglas m...@delfire.net wrote: Hi, Anyone here use the OnGuard? https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/onguard I installed, but do not know if there is something wrong with the package. - open the lpk - compile - install (rebuild IDE) - components appear in the palette - create a new project - add a component in the form - IDE automatically adds the onguard unit - IDE automatically adds the tponguard dependency But to build the project: Unit1.pas (8,68) Fatal: Can not find unit OnGuard used by Unit1. Check if tponguard is in the package dependencies. There's something wrong with the package or Lazarus (version 1.1 r38643 FPC 2.6.1) is not updating the paths correctly? I found the solution: http://www.lazarus.freepascal.org/index.php/topic,12346.msg63393.html?PHPSESSID=c30454bc8659879a833d02381a064f63#msg63393 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] OnGuard - Install
Hi, Anyone here use the OnGuard? https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/onguard I installed, but do not know if there is something wrong with the package. - open the lpk - compile - install (rebuild IDE) - components appear in the palette - create a new project - add a component in the form - IDE automatically adds the onguard unit - IDE automatically adds the tponguard dependency But to build the project: Unit1.pas (8,68) Fatal: Can not find unit OnGuard used by Unit1. Check if tponguard is in the package dependencies. There's something wrong with the package or Lazarus (version 1.1 r38643 FPC 2.6.1) is not updating the paths correctly? Thanks, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] OnGuard - Install
On 13/09/12 22:12, Marcos Douglas wrote: Anyone here use the OnGuard? Yup, we use it in our current projects. https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/onguard I have my own maintained OnGuard repository. Most commits I made was to support fpGUI, but there was some code clean-up and reorganising as well. eg: There are now separate runtime and design time packages, making it possible to use OnGuard in console or CGI apps too (this was one of our company requirements). Here is a summary list of commits I have in my OnGuard repository. -- d064080 2012-04-18 EOL style was mixed in this unit. Now it is consistent. 2d5679b 2012-04-18 Moved LCL specific source units into a 'lcl' sub-directory. 1916812 2012-04-18 Code formatting and removed pointless code comment (revision) tags 02cc430 2012-04-18 Fixes midSystem under Linux's CreateMachineID() 1918fef 2012-04-18 Temporary disabled midDrives under Linux's CreateMachineID() 4013a7b 2012-04-18 Implement midUser in Linux version of CreateMachineID() e0c5fbc 2012-04-18 Removed Win16 CreateMachineID() implementation. 2db55c8 2012-04-18 Fixes spelling mistake in code comment 0aab958 2012-04-18 Added $AppType to make sure the app is a GUI app under Windows. 702521f 2012-04-18 tponguard.lpk package is now a Runtime-only package 97e3632 2011-05-14 Further implementation to Code Generation form. c19aaed 2011-05-14 Moved 'exdmod' example into 'lcl/exdmod' directory. aacc764 2011-05-14 Updated demo 'exdmod' to work with Lazarus 0.9.30 and FPC 2.4.3 f6faa4f 2011-05-13 Added a new gui package for use with fpGUI toolkit. 2f5c6eb 2011-05-13 new Code Generation example implemented for the fpGUI toolkit. 95edb45 2011-05-13 new Key Maintenance example implemented for the fpGUI toolkit. d3e898d 2011-05-13 Hide all debug calls behind IFDEF statements. e4ef01c 2011-05-13 Code Generation form (fpGUI) completed for TogDateCode usage. d87ab3f 2011-05-13 Further impovements and implementation details to the (fpGUI) GUI forms. 2073cbf 2011-05-13 minor tweak to package settings db25832 2011-05-13 latest standards are to use lowercase file names 8330153 2011-05-13 Created forms used for generating keys b94b5f4 2011-05-11 add more ideas for identifying markers and HDD serial numbers 27bb491 2011-05-11 added a gitignore control file 23e35af 2010-02-10 some other ideas to implement 532da37 2010-02-10 Split single packages into two packages 028abe8 2010-02-10 Used when building console applications. 05f7104 2010-02-09 Initial commit. A conversion of SubVersion to Git. -- I must admit, I haven't tested with LCL recently, but I definitely know the core (non-GUI parts) of OnGuard definitely works under Linux and Windows, 32- and 64-bit systems. If you want, you can grab a copy from my repository on GitHub. https://github.com/graemeg/onguard If you don't have Git installed, you can grab a zip archive (snapshot) of the latest code - also found in the above URL. Just click the ZIP button. The maintainers of the Lazarus-CCR version is welcome to merge changes from my repository if they want. Regards, - Graeme - -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] OnGuard component: CreateMachineID not working?
2011/4/28 John Repucci john.repucci@gm*: I did see the conversation about OnGuard in early 2010 about drive ID's, so I'm getting leery of using the drive ID information. I finally got to the stage in our company project to start implementing security, and working on OnGuard improvements. I haven't looked at the OnGuard code for a long time, but looking at it today again, it is in a royal mess! GUI and non-GUI code all mixed up. Lots of IFDEF's. InstantObject framework dependencies etc. Yikes!!! Anyway, I created a fork of subversion Lazarus CCR's OnGuard repository. My new repository is located on GitHub. I don't know if my goals for OnGuard are on par with the Lazarus CCR, so to reduce friction, I decided to rather work on a fork instead. The original OnGuard maintainers are welcome to back-port anything from my repository if they want. https://github.com/graemeg/onguard Changes so far: * split the single package into two. One non-gui and one Lazarus IDE design time package. * Some minor code changes to get things to build on my side * Added a text file with some new ideas I have for OnGuard My goals over the next few days * Split the GUI units from the 'source' into various gui toolkit directories. eg: source/lcl source/fpgui * Split the demos between toolkits too. * Create some console demos to see what actually works and what not. * Implement the new hard drive serial number detection under Linux. Without requiring root access, and that supports USB and SATA drives too. * Probably add some unit tests too, seeing that I can't program without unit testing code. If this is going to solve your problem... I don't know. I guess it is too soon to tell. But maybe give it another try in a few days. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] OnGuard component: CreateMachineID not working?
I'm seeing an oddity with the CreateMachineID function within the OnGuard component. Is there anyone who has used this component in depth? Any idea who I would submit a ticket to or who can tell me if I'm doing something wrong? I'm using the CreateMachineID code to pull an id for networking, drives and then Networking + Drives and the values I'm getting do not seem correct: Network,Drives, Network + Drives 42312D6C, CA7CFA8F, 42312D6C I would not expect that Network = Network + Drives? I did see the conversation about OnGuard in early 2010 about drive ID's, so I'm getting leery of using the drive ID information. var InfoSet : TEsMachineInfoSet; HWInfo : LongInt; HWInfoNW : LongInt; // the Network HWInfo HWInfoDr : LongInt; // the Drive HWInfo sHWInfo, sHWInfoNW, sHWInfoDr : String; Begin try InfoSet := []; InfoSet := InfoSet + [midNetwork]; HWInfoNW := CreateMachineID(InfoSet); // Request just the Network Info sHWInfoNW := BufferToHex(HWInfoNW, SizeOf(LongInt)); InfoSet := []; InfoSet := InfoSet + [midDrives]; HWInfoDR := CreateMachineID(InfoSet); // request just the Drive Info sHWInfoDr := BufferToHex(HWInfoDr, SizeOf(LongInt)); InfoSet := []; InfoSet := InfoSet + [midDrives] + [midNetwork]; HWInfo := CreateMachineID(InfoSet); // Request both Network Drive Info sHWInfo := BufferToHex(HWInfo, SizeOf(LongInt)); Edit1.Text := sHWInfoNW + ', ' + sHWInfoDr + ', ' + sHWInfo;// Display the HWInfo except on E:Exception do ShowMessage(E.Message); end; end. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] OnGuard component question
On 2 April 2011 03:36, John Repucci john.repucci@gm wrote: Last year you (Graeme) mentioned that you had split the OnGuard package in two. Did you release any of your work? tponguard_lcl.lpk / tponguard.lpk I honestly can't remember, but I'll be able to check for you on Monday when I am back at work. Alternatively, checkout the latest code in Lazarus-CCR in the SubVersion repository (if you haven't already). -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] OnGuard component question
Graeme (or others...) Last year you (Graeme) mentioned that you had split the OnGuard package in two. Did you release any of your work? tponguard_lcl.lpk / tponguard.lpk (http://www.mail-archive.com/lazarus@lists.lazarus.freepascal.org/msg06252.html) I want to create a license manager using the codegen program as a starting point and am struggling to untangle the example program from the package. I also need to fix a portion of codegen. The special data is defined as longint, but the special data field in the codegen form does not accept negative numbers. I am wondering if I can change that to a longword or fix the code to accept a negative sign. TIA. John -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] OnGuard component
Hi, I need help with installing OnGuard component ( http://wiki.lazarus.freepascal.org/OnGuard ) Someone is developing this component ? if anyone with experience with components can see why it can't install on Lazarus 0.9.29 ? Probably it is not difficult to solve that problem (can't find propedits.pp), but my knowledge in this case is insufficient I will appreciate if someone will check it Best regards, faber -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus