Jump to content

Die Holländer

Members
  • Content Count

    302
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Die Holländer

  1. Die Holländer

    Looking for Coder in Gilbert, AZ

    Sorry for this reaction but I'm in the same situation and warn to not overwelm nowadays developers.. Here is the chance that I'll find a junior programmer that will start/learning development on a 30 years Delphi codebase, also want to develop Online apps in PHP and Javascript, is willing to understand "outside systems", also work without the possibility to do home-office and beiing availble full-time (40 hours?) is almost 0.. Here young developers are thinking in frontend OR backend online development and only some do "full-stack". Not even mentioning the lack of understanding database SQL. The worst scenario is that, because of this, the management can decide to also convert these Delphi enterprise systems into online webapplictions.
  2. Die Holländer

    Delphi MT940 implementation (reader, writer)

    Hello, I've sent you both a DM with a basic reader.
  3. I've tried to use these Azure Functions with Delphi but never succeded and I find it quite complex, while using Azure MS-SQL database with Delphi applications and FireDac is very easy. Because it was only a try and not really needed for a project I stopped the attempt. I see that the blogpost is from 2021 and wonder if Glenn publised a plugin to get arround using VS-Code. >>Visual Studio Code – For the time being, until my RAD Studio Azure plugin is ready, VS Code has the Azure >>Extension which makes it easier to create and deploy Function Apps. @DebbyAre you planning to publish how to use Azure Functions in Delphi at a later moment?
  4. You are right. It seems the e-mails talk about AI, according to the first poster, but on the site I only see "Machine Learning" mentioned. I was just wondering how a model trained specific with Delphi code will perform compared with general models like OpenAI, Microsoft or Google.
  5. On the other hand.. what if you train a 70B model with only Delphi code?
  6. Die Holländer

    What do you think of "Local Global variables"

    Some times I use nested methods if I discover that in the main procedure a small function is needed and need to be called serveral times in that main procedure. When the function gets larger then I move the function to the main object in the private section and pass the parameters. The only sad thing that happens in the Delphi editor when using nested methods is that the auto complete, like automatic adding "end;" after typing Begin<enter> is not working anymore..
  7. Die Holländer

    Convert Visual Studio 2012 code to Delphi

    How to get external (public) IP in Delphi DELPHI – Client and Server using TIdTCPServer and TIdTCPClient components indy-project-demos
  8. Die Holländer

    Convert Visual Studio 2012 code to Delphi

    Please post your Delphi code and maybe you can get some help here. What SSH/TCP/UDP component did you use? Your basic task is to setup a small tcp/udp server that can listen to these 4 ports..
  9. Die Holländer

    Proj finding wrong VCL

    Not sure, but if you think the dproj is invalid. Make a copy, delete it from the project folder and open the *.dpr file and rebuild. It will create a new dproj. <edit> Ah, I see your last message and it errors on the *.dpr file.. You should look into this file..
  10. Die Holländer

    hourglass and freezing problem with Firedac

    Maybe it depends on which SQL driver the FD is using on the users machine. It uses a loop from the most recent driver (Delphi 11 : from version 17) to the least one and tries to find the most recent one. Look in the ODBC settings which drivers are installed on the machine. I've used many versions of MS SQL servers (also 2012) and had never problems with FD connecting them. Look at SQL Sever Native Client 10. for older SQL sever, like 2012. MSSQL Driver overview
  11. Die Holländer

    Desktop Icons

  12. Die Holländer

    import C# Dll in delphi 10.4

    unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; procedure Encrypt(sr: PAnsiChar; key: PAnsiChar; var encryptedText: PAnsiChar); stdcall; external 'YourDLLName.dll'; procedure Decrypt(sr: PAnsiChar; key: PAnsiChar; var decryptedText: PAnsiChar); stdcall; external 'YourDLLName.dll'; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); var inputText, key, encryptedText, decryptedText: PAnsiChar; begin inputText := 'Hello World'; key := '12345678'; // Encrypt Encrypt(inputText, key, encryptedText); ShowMessage('Encrypted Text: ' + encryptedText); // Decrypt Decrypt(encryptedText, key, decryptedText); ShowMessage('Decrypted Text: ' + decryptedText); end; end.
  13. Die Holländer

    ...cannot contact a domain controller..

    >As I result, I have been running Delphi under my admin account. However, all of my Windows Credentials were created under my regular account. OK, I understand. You could not connect the database because your credentials where not avaible in your admin account. I think because Delphi has a user license not everyone using your computer with another login can use Delphi.
  14. Die Holländer

    A gem from the past (Goto)

    Ahh, a typical reaction that started in that time.. My Commodore 64 is much better. My Apple is much better than your Windows My Iphone is much better than you Android phone. My Javascript language is much better than ...
  15. Die Holländer

    ...cannot contact a domain controller..

    Would be nice when you tell us what resolved the issue..
  16. Die Holländer

    ...cannot contact a domain controller..

    What is your MSSQL server version? I Remember I had some problems when I used in the config under "Server" the servername instead of the ServerIP. Maybe you check that also. So, not xx.xx.edu but the real IP of the server, like 102.x.x.x Basically the FireDac config is creating a connectstring. Since you can login with the MS SQL Server Management Studio you can ask for the connectstring when logged in: SELECT 'data source=' + @@SERVERNAME + ';initial catalog=' + DB_NAME() + CASE type_desc WHEN 'WINDOWS_LOGIN' THEN ';trusted_connection=true' ELSE ';user id=' + SUSER_NAME() END FROM sys.server_principals WHERE name = suser_name() See also: ConnectStrings
  17. Die Holländer

    A gem from the past (Goto)

    In the early BASIC times, like for the ❤️ ZX-Spectrum ❤️ there were no functions or procedures but instead they introducted a way to jump to another part of the source and return to the next line after the jump. The statements: Gosub and Return. 10 LET A=0 20 PRINT "ENTER A NUMBER: " 30 INPUT N 40 GOSUB 100 50 PRINT "THE RESULT IS ";A 60 END 100 A = N * 2 110 RETURN
  18. Die Holländer

    WebUI framework: Technical preview. Part 1.

    Any link to the webUI website?
  19. Die Holländer

    ...cannot contact a domain controller..

    This is the config that works here.. Note, the DatabaseName is added two times. (Also MetaDefCatalog) "dbo" as the MetaDefSchema. Play with the OSAuthent and MARS properties. (switch Yes/No)
  20. Die Holländer

    RAD Studio 12.1 Athens Patch 1 Available

    I'm still on 11.3 and soon will switch to 12. I just see in the video that this new JSON feature is now in Delphi 12... Is it working as I think it's working ?? After reading the JSON it's possible to directly access the keynames (email, address.street, ..) to get the values as weaktype languages can do, like Javascript.
  21. Die Holländer

    Looking for a couple of good "starter" Delphi books

    Books by dr. Bob (Bob Swart)
  22. Whatever you program in Delphi, compared with most other languages, it will stay RAD and you can focus on you actual problem instead for example fighting how to put things on the screen. It takes the Online department, with Node, Javascript and pumping JSON files through the internet, with three developers (backend, frontend and HTML/CSS designer) about one week for one screen. They calling Delphi old fashioned while I look to their source and problems as if they still live in the 1980's.
  23. Die Holländer

    {$Defines xxxx} not working at design time..

    I have noted something like this by the {$IFDEF DEBUG} switch in D11.3. When switching the "Build Configurations" from Debug to Release nothing happens. When staying in the Unit and do Compile or Build nothing happens. but When I switch in the editor from that source/unit tab to another source and back it works and the editor will gray-out the proper sourcecode.
  24. If you just did a first login then you have to wait some time before you can see reports...
  25. Die Holländer

    C Libraries to Delphi

    Yes, but the use is not to get a clean 100% translation. It will give you a lot of insight of the differences between Delphi/Pascal and C keywords/declarations etc.. >It will probably be a bit stubborn since it's so much code, so you'll have to step through it Yes, like the programmer that has to translate the code..
×