Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 01/08/20 in all areas

  1. David Heffernan

    Writing DLL functions unit

    Automatic header convertors tend not to be very effective in my experience. Don't expect to be able to get a working import unit without human intervention.
  2. Dave Nottage

    iOS Firebase Push Notifications

    If by "setup" you're referring to how to set up a project in Firebase Console, you should start here: ..and watch until the 4:52 mark (the rest is not relevant to Delphi) For Delphi code to implement FCM on iOS, you could refer to this article: https://www.delphiworlds.com/2020/01/expanding-embarcaderos-fcm-implementation-revisited/
  3. FredS

    SHOpenFolderAndSelectItems 64-bit

    On Windows 10 1903.18362.476. Also your code doesn't `CoUninitialize` if IIDL is nil. ..and what does GetLastError say when you get IIDL=nil?
  4. stijnsanders

    Writing DLL functions unit

    If the Visual Studio project has a .h file with the same function declarations as the DLL, you should try Dr Bob's HeadConv or a more modern alternative if you can find one.
  5. David Heffernan

    Writing DLL functions unit

    If you have a demo program written in C or C++ then it is easy enough to translate to Delphi. But you'll want to learn some basic C or C++ in order to do so.
  6. Lars Fosdal

    Writing DLL functions unit

    Without documentation about the parameters of these functions and their types, you will be unlikely to succeed.
  7. Daniel

    Topics are showing not condensed

    In german language, we call this "putzig": It is indeed an error in the forums-software related to the recent change of the year. So kind of a "year 2020 bug". I do have a bugfix and will it apply this evening. Other customers reported a successful patch - so I think it will work here also.
  8. Kryvich

    Splash screen doesn't show icon in taskbar

    @Mike Torrettinni Check my demo app (attached). Works as needed in Windows 7 (I haven't Win10 here, sorry). Look at the project source: program SplashApp; uses SysUtils, Vcl.Forms, uSplashMain in 'uSplashMain.pas' {Form1}, uSplashForm in 'uSplashForm.pas' {Form5}; {$R *.res} begin Application.Initialize; Form5 := TForm5.Create(nil); try Application.MainFormOnTaskbar := True; Form5.Show; Form5.Update; Application.CreateForm(TForm1, Form1); Sleep(3000); finally Form5.Free; end; Application.Run; end. Form5 is a splash form, and Form1 is a app's main form. Also check menu Project | Options | Application | Forms. The splash Form5 is in the list of available forms (the right list). SplashApp.zip
  9. Kryvich

    Splash screen doesn't show icon in taskbar

    I tried this suggestion for Delphi 7, and it still works in Rio and Windows 7. In TForm5: protected procedure CreateParams(var Params :TCreateParams); override; ... procedure TForm5.CreateParams(var Params: TCreateParams); begin inherited; Params.ExStyle := Params.ExStyle OR WS_EX_APPWINDOW; end;
×