Jump to content

Jasonjac2

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Jasonjac2

    Delphi 11 first look issues

    I dowloaded: Offline CHM Help (Updated: 24th of September 2021) Offline Libraries CHM Help (Updated: 11th of October 2021) unzipped and put in the location (C:\Program Files (x86)\Embarcadero\Studio\22.0\Help\Doc) Pressing F1 still brings up Sydney and it didn't replace "Topics.chm" etc. If I double click it it still has:
  2. Thanks, I have used the Graph API helper in their online dev tools, which is great at testing out API calls, but still haven't managed to invest the time to build out any Delphi code for it. Hi thanks for the input, when did you look at the MS Docs? I found the API explorer app pretty good, just not put the effort into getting hooked up to the point of being able to issue commands and interpret the results.
  3. Hi, I have an immediate need to create folders, files and then create links and passwords for MS OneDrive for Business. I also have a pet project idea for drilling into OneNote. I have briefly looked at the MS Graph API for this and googles stack overflow, MS forums, GITHub. I have definitely not exhausted my time on this, BUT before committing to it I need to ensure I know how much effort it will be to get up to speed and pull together any resources. So: - is anyone driving MS Graph from Delphi (10.x (I am on the latest)). - can you share any code examples - Any Gotchas - Can you point me at any good resources or repos? For the primary usecase - based on some driver file / data I need to: - create a folder structure - not on the PC, but straight to Sharepoint (office 365) / OneDrive for business - upload files - create links & passwords to the folder that can be shared via e-mail (link via e-mail, password via another mechanism) -- these would be given to external intended recipients - probably about 75 folders, between 20 & 500 files in each, probably zipped for convenient download Secondary - to be able to report / track shares on folders, for audit - be able to track access - be able to cancel the shares - be able to tear it all down OneNote Project - I'll cover that another time. TIA if you are still reading. Regards Jason.
  4. You star - I don't know how I missed the FibPlus Repo. See "Later section" Update - I started this a couple of days ago and forgot to post: While I have a hiccup with The Delphi Parser (1), I thought I would try and split the problem into: JVCL / JCL - Just get that installed (2) CnWizards - Just get that installed (3) BDE & IBX (as I am hoping the Delphi Parser will sort almost all of that for me) FibPlus - Hoping to use the Delphi Parser, but need to know what needs translating Everything else (1) - Raised on Friday PM, so not a negative thing as I know the Author is very responsive, so expect to get that sorted when he is back in work (2) JVCL / JCL - had a strange one with the debug library paths confusing the compiler and pointing to the older version that was installed with Tokyo - not sure if something got dragged over with the upgrade, but meant I: refreshed my memory about the order that paths are used; cleaned my paths up a bit. (3) CnWizards - strange, the compiler directive doesn't seem to be working in 10.4 .... Some time later....... 27th August... I actually installed the BDE & BDE components in D10.4 and forked the FibPlus Repo. This isn't to continue with either in 10.4, but means I can move all migration effort to the 10.4 machine and not worry. To this end I have brought the project up in the IDE and realised I also use : 2 components I wrote, a TVersionControl and WPTools from WPCubed. Still planning on the scripted migration. Thanks for your time and hope this might help someone else some day. I'll try and do another update over the weekend. Regards, JAC
  5. Hi, OK, cool, "FIBPlus are available in more or less recent version." - where is this, I could only find a reference on: https://shareappscrack.com/fibplus/?token=75016374 which worried me a bit as it looks like a crack site. BDE - I actually installed the BDE a while back, but don't think the VCL components actually exist, so I agree.... completely dead 🙂 " Ansi=>Unicode transfer" - in practical terms, I am not sure what this is going to mean to me. Another issue is the system is still on Dialect 1 of an old version of FB. I need to work out the migration path for that also, but I thought to get it all over to latest Delphi and then worry about that. So Devrace aren't operating anymore, so would you stick with FIbPlus or migrate away? I don't see many dev's using it or a lot of recent hits regarding it, so worry that the ongoing maintenance for me might be high - but I would be keen to know if there is a group of dev's still using it. I loved FIB & FIBPlus by the way and have excellent memories of meeting up with Serge (sp) and Marina at the FB Conference. Regards & keen to get your input. Thank you for taking the time to reply. "The Delphi Parser" is a 3rd party tool that has scripts for converting Delphi code, so the classic is BDE -> FireDAC, it is more than refind and it understands context and the author can tweak the system to add new types of conversion for the .pas and .dfm. It is interesting stuff and I think much needed. Historically it has been out of my price range, but recently there have been promotions and the author is doing a webinar with EMBT this week I think.
  6. Hi, Sorry Fr0sT.Brutal I didn't explain the background very well. I was hoping that someone had done some work on migrating FibPlus code to a supported data access platform and at the same time was sharing my thoughts on migrating my 300K+ lines of code from D7 to D10.4. See (*) notes at the bottom. Update: While I have a hiccup with The Delphi Parser (1), I thought I would try and split the problem into: JVCL / JCL - Just get that installed (2) CnWiazrds - Just get that installed (3) BDE & IBX (as I am hoping the Delphi Parser will sort almost all of that for me) FibPlus - Hoping to use the Delphi Parser, but need to know what needs translating Everything else I took the simplest part of the system that I could get to compile in isolation and all the dependent units (basically the logging into the database and the datamodule that does the auditing, but required about 4 more units), got it compiling under D7, then moved to D10.4. Of course, without FIbPlus, it didn't compile, so I went back and forth creating Mocks by: 10.4 Attempt to Compile Take the error (undeclared class / property / method), goto the line and copy the exact line Go back to D7, find the line, ctrl click to the declaration, record the unit, etc Go back to 10.4 and create the stubb in the correct unit. Repeat until compile. This has left me with about 8 new units that mirror the declaration of the missing classes, but with no actual code. It compiles and of course, I can't view the DFMs in the designer as there are none of the fibplus components installed in D10.4. Of course, there could be lots of component properties stored in the .dfm's that doesn't exist in the code, so even though it now compiles, it won't run as the first property it finds as is streams the .dfms in is going to stop it. So next up was to use GExperts component to code back in D7 to pull in the different types of FIB+ components in and copy these to some extra unit in my new 10.4. Did this and got those to compile, so in my FibPlus mock units I have things like this: TpFIBDatabase = class(TFIBDatabase) public DatabaseName : String; Connected : boolean; DBParams : TStrings; SQLDialect : Integer; procedure close; procedure open; public // dfm Only DBName : String; DefaultTransaction : TFIBTransaction; Timeout : integer; DesignDBOptions : TDesignDBOptions; WaitForRestoreConnect : integer; end; So next up: work out what these should map onto in FirDAC Then either teach Delphi Parser to convert to FireDAC OR inherit these components from the suitable FirDAC components and add in mapping code. Oren of The Delphi Parser and it looks like is happy to give me a hand / work out the mapping with some examples. I realise there aren't any questions in this one, but I searched and searched and couldn't find any real help with the FIBPlus migration, so these notes may be of some help to someone, sometime. I'll post another update when it compiles and actually accesses the data! Have a good week all. (1) Delphi Parser- Raised on Friday PM, so not a negative thing as I know the Author is very responsive, so expect to get that sorted when he is back in work Had contact with the Author over the weekend and managed to get a conversion done, which is great. Now I need time to see how well it managed BDE -> FIREDAC conversion. (2) JVCL / JCL - had a strange one with the debug library paths confusing the compiler and pointing to the older version that was installed with Tokyo - not sure if something got dragged over with the upgrade, but meant I: refreshed my memory about the order that paths are used; cleaned my paths up a bit. (3) CnWizards - strange, the compiler directive doesn't seem to be working:
  7. Hi All, I have an old system: 2 x EXEs (D7) 330K combined lines of code BDE FibPlus IBX JVCL JCL TMS SMExport (very small amount) Custom Components (very small part) CNWizards – logging – (very small part) I want to end up with on DAC (FireDAC unless anyone talks me out of it) and D10.4 I have invested in "The Delphi Parser". The author is being very helpful, but ultimately for FIBPlus, I am going to get my hands dirty and modify the script to teach it what to convert into what. I was wondering if anyone else has travelled this path or is about to. Things I was interested in. How you did it, what gotchas you got etc. I like the idea of a "brighter than Grep" parser that understands the structure of a Delphi App.
×