Jump to content

rudy999

Members
  • Content Count

    60
  • Joined

  • Last visited

Everything posted by rudy999

  1. rudy999

    Delphi 12.1 is available

    "A Previous Version of RAD Studio 12 was found on your system" - How can I thoroughly clean up file(s) or registry setting to get past this? "The previous version is not removed. Unable to continue" TIA
  2. rudy999

    Delphi 12.1 is available

    I tried to install the web installer and it said that it could not find BDS.EXE. Then I tried to completely un-install, and now an install attempt says "The previous version is not removed. Unable to continue" Am I screwed? I can not install the original 12.0 web install either -same message. Would the ISO image be the next step? TIA
  3. I have an application that sends emails via outlook office 365. The application uses the Overbyte components sslsmtpclient, sslcontect, icsrestemail and was developed in Delphi 11 on Windows 10 (ICS v8), and the co ordination to obtain 'tokens' etc with a web page initially popping up to log in to MS and verify the user continues to work. With the release of Delphi 12 last year I am using ICS v9. The application behaves the same on an initial email send attempt to obtain tokens and authorize against the microsoft outlook com user, HOWEVER the web page login now 'redirects' to a GITHUB LOGIN to get to microsoft... THIS IS different than ICS v8 application. I have a GITHUB account but my users DO NOT.. (and do not need one) It has been over 1 year since I developed the Delphi 11 ICS v8 application - is there some low level source code settings that I need to modify 'not' to use GITHUB or a setting in one of the components I am missing? Thanks in advance all - PS Happy New Year!
  4. I changed the setting from consumers to common - I think it may work
  5. what are the options - I see that this is a new entry - at the moment it says consumers. Can I leave it blank? tia😮
  6. Yes my experience is with a VCL application..
  7. Yes- on my clean VM, when trying to start a test app with no dll - Runtime error 217 with dll- working so - the appropriate dll needs to be deployed
  8. ok, I think I know what may be happening. I cannot test on the application I am working on but can test it on a test app. --I 'enabled' SKIA via the IDE but that was all. I have no SKIA components in use. So I think that is why the app ran with or without the dll. If I drop a skia component then I expect errors,,
  9. I just ran it on a VM Windows 10 without Dephi 12 installed and just the exe and not the sk4d.dll file. --It still ran....
  10. Delphi was behaving fine in regards to startup until recently, when the IDE 'freezes' upon startup, after loading all design time packages. The splash screen shows the added component packages loading, and then nothing. If I set BDS.exe to run as admin it opens as before. There must be(maybe?) a file somewhere that a security setting has changed (maybe I did without knowing in a previous IDE session). I have re-installed some of the components, with no change. I do not plan to re install Delphi - I will wait for 11.3... Any suggestions or feedback is appreciated.
  11. " Is there a Nexus db connected component in one of the apps of yours, which is active at design-time, but which db cannot be reached from your PC? " < The issue should not be with an app since no project is loaded on start up. If the IDE is running the nexus components are not design-time active. This is strange indeed. -I have another PC where I run new releases of Delphi as a test before going to my dev PC. The IDE has nexus installed and run non-admin mode just fine.
  12. More Info 1. I identified the VCL component install that is involved in the IDE freeze on start up. --I did an uninstall (complete as far as I know) of 11.3 and re-installed Delphi. I then started to re-install the 3rd party components. The issue is involved with the installation of the NexusDB component (4.700 or 4.701 - I did not try to install earlier vns) There is the Design time BPL that if 'checked' in the component palette will cause the freeze upon start up, or if removed and the IDE is started in non-admin ok and that BPL is added - the IDE is ok until I try to close and the the IDE freezes.!! 2. I have another PC for test installs of software and Delphi 11.3 and the Nexus component works just fine in non-admin mode. ??? regards all
  13. Thanks for some information - more information on my situation - If I login as another user and start Delphi 'normally' it is ok... user registry... rgds
  14. I do not use the ttreeview alot. I recently started to use it and while the application was in DEBUG mode there were no issues. No changes or ifdefs in code but simply changing to release - and it does not work! Delphi 11.2 with latest patches. example code snippet: calling: TfrmMain.ttreeViewChange(Sender: TObject; Node: TTreeNode); //.... if Node.HasAsParent(myParentNode) then begin myParentNode := Node.Parent; strParentText := myParentNode.Text; end; when in DEBUG = strParentText string has a value (which I use to compare and branch later in the code) when in RELEASE = strParentText is empty... Has anyone seen this before? I am do more tests and my plan is to make a dedicated pre populated treeview to test against. (and send to Embarcadero) Thanks in advance
  15. Thank you for your responses, I changed my code to the following and it works: no need for a 'myParentNode' if Node.Level > 0 then begin strParentText := Node.Parent.Text; end; regards all
  16. Something curious is occurring in one of my VCL projects: The application works perfectly, and has several buttons, list boxes and one datagrid. The TOP property of only 1 button, the HEIGHT property of the Listobx and the TOP property of the datagrid change back to a fixed value when the form is closed. For example the button in question upon opening after a close unit, is off the form. (top value greater than form height). I move the button so it is visible again on the form. Close form. Open form - button TOP is back to the other value, 'out of sight'. Short solution is to redefine the respective property in the on form create event....? Not a real solution. Is this a DFM issue? This is a new application, other apps - seem ok. Thanks in advance
  17. rudy999

    Delphi 11 first look issues

    (Windows 10 - I am admin on PC) 1. install did not work on one PC (this had 10.4-and was-is my'new version test PC'. (I could install it on another PC no issue) 2. IDE modification -settings do not get save between IDE sessions. -- Fonts --customizing toolbars Once Delphi is started again -back to initial installation settings.
  18. I have seen the ICS demos and have successfully used the following components: TSslSmtpCli TSslContext TIcsRestEmail to connect and send emails from a user - based application, = outlook office, Microsoft Azure with proper API permissions for authentication. However, I cannot see this working for a Service-based application where there is no one logged in for the web page to appear. (send emails only, no need to read) Is there a demo or instructions if this is possible to implement? thank you in advance
  19. update: I have it working to my satisfaction. Thank you for your pointing me in the direction to a solution. I did have to 'store' the token securely and update it if it is refreshed. (I might have the terms wrong, but it works) Best regards all
  20. Update - I just noticed that if I initially use a RefrToken for the SslSmtpClient when sending, I get a NEW RefrToken. so if I save this new RefrToken and re-use it the next time this can continue and never need the web page authorization? regards
  21. Angus, I know I am confused... Thank you for your patience. I see that I am obtaining both a RefrToken string AND AccToken string. I am NOT saving the RefrToken string, at the moment. The AccToken has an expiry datetime which is one (1) hour into the future of the request moment. As a test, I did hard code the RefrToken into the SslSmtpClient.OAuthToken property and when I sent an email, there was NO web login authorization web page and the email was sent successfully. As you indicated, the RefrToken is the long-lived token. Is there a property on SslSmtpClient or ICsResetEmail that shows the expiry date of this token? A quick web search shows it is 90 days vs 1 hour for the AccToken. Question=with a proper RefrToken can I then use GetNewToken(False) or how would that be done? thanks in advance
  22. " I assume you are referring to an OAuth2 login page appearing in a browser during authentication " <<That is correct. The token I use with Microsoft Azure seems to be for 1 hour. For the non-service app this is not an issue and the browser pops up but the app continues. " Your service can email an admin to update the token manually if it expires. " <<Is this practical?How can the service email without a valid token? **The service runs on an unattended PC that is not the same as the working app** Thunderbird is a non-MS app that uses OAUTH2 and the browser pop up does not occur. So I thought that it was possible, even for an interactive app. Any ideas are appreciated. thks
  23. Martin thank you for this information. I had to set the PE Versions to 5.0 to get the O/S to recognize it, and now it runs. regards and all the best!
  24. rudy999

    Delphi 11 first look issues

    I had not tried the F1 - but yet it does not open a specific version 11 help - it refers to 10.x Doc Wiki link goes to Delphi 11 Alexandria page.
  25. rudy999

    Delphi 11 first look issues

    More feedback. 1. When I have a win application project open- and switch from win32 to win64 -- and I need to add a new library path to the Win64 environment- The Library .. Selected Platform DOES NOT FOLLOW - the initial Selected Platform is STILL win32.... 2. Exes generated by Delphi11 are 'slightly smaller' than those for the equivalent app generated in 10.4.2 The look and feel for Delphi 11 is nice but it seems to me the concentration was on eye candy and new code candy, not on basic IDE usability in regards to 10.x IDE (font, toolbar persistence, library path selection matching project)?
×