Jump to content
Registration disabled at the moment Read more... ×

Anna Blanca

Members
  • Content Count

    43
  • Joined

  • Last visited

Community Reputation

1 Neutral

Recent Profile Visitors

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

  1. Anna Blanca

    Can't change icons in my app

    So, i must open my DPROJ file with Notepad++ and edit it?
  2. Anna Blanca

    Why i can't hide Form1 in DLL?

    Thanks for your work. It's better!
  3. Anna Blanca

    Why i can't hide Form1 in DLL?

    May be, better make that: procedure Start(hwnd: HWND; hinst: HINST; lpszCmdLine: PAnsiChar; nCmdShow: Integer); stdcall; begin if Failed(CoInitialize(nil)) then begin CoUninitialize; end; end; Not?
  4. Anna Blanca

    Why i can't hide Form1 in DLL?

    I want make ShellLing object only with Delphi resources. How i can make it?
  5. Anna Blanca

    Why i can't hide Form1 in DLL?

    I'm creating plan DLL. I'm not acrossin DLL boundary. I'm just trying meke LNK-file in DLL, working through rundll32.exe, nothing more.
  6. Anna Blanca

    Why i can't hide Form1 in DLL?

    O'K, but LNK-file not created. But earlier, in Delphi 11, it's created normal.
  7. Anna Blanca

    Why i can't hide Form1 in DLL?

    Thanks for you all, but one problem is still now. I can't make LNK-file from my DLL: procedure TForm1.CreateLink(const PathObj, PathLink, Desc, Param: String); var IObject : IUnknown; SLink : IShellLink; PFile : IPersistFile; begin IObject := CreateComObject(CLSID_ShellLink); SLink := IObject as IShellLink; PFile := IObject as IPersistFile; SLink.SetArguments(PChar(Param)); SLink.SetDescription(PChar(Desc)); SLink.SetPath(PChar(PathObj)); PFile.Save(PWChar(WideString(PathLink)), FALSE); end; procedure TForm1.Timer1Timer(Sender: TObject); var S : String; begin S := TPath.GetHomePath + '\Linker.lnk'; CreateLink('FileName.jpg', S, 'Company', 'Argument'); Timer1.Enabled := False; end; When i use it in my DLL - nothing no happen. But when i use this in sample EXE - all working normal.
  8. Anna Blanca

    Why i can't hide Form1 in DLL?

    In this case, my DLL is main application. So, what library i must add in uses? And i want message you, if my DLL launch normal, when i not hide Form1, when i not use Application.ShowMainForm := False;
  9. Anna Blanca

    Why i can't hide Form1 in DLL?

    Hm-m-m, earlier, in Delphi 11, all worked normal and my library launched by rundll32.exe normal. So, and what is HINSTANCE? When i use it in my code, IDE underlining it by red.... No one module in uses not help.
  10. Anna Blanca

    Why i can't hide Form1 in DLL?

    Hello. I'm trying add Form in my DLL, and i hide it with next constraction: procedure Start; begin Application.Initialize; Application.CreateForm(TForm1, Form1); Application.ShowMainForm := False; Application.Run; end; exports Start; Earlier, in previous versions Delphi, my DLL worked normal, but exactly in 12-th Delphi version, all broked. When i launch my library through app, it's working normal, but when i launch through rundll32.exe - no one component on Form1 not working. What Embarcadero broked in this time and how fix it? P.S. I attach my project to this topic, you can open it and look all youselfe. Fucking DLL.zip
  11. Anna Blanca

    Can't change icons in my app

    Where is this notes must be? Android Manifest?
  12. Anna Blanca

    Can't change icons in my app

    I don't touch the splash screen, i only changed icons of app (36x36, 48x48, 72x72, etc).
  13. Anna Blanca

    Can't change icons in my app

    O'K. Test.dproj
  14. Anna Blanca

    Can't change icons in my app

    I not change splash screen
  15. Anna Blanca

    Can't change icons in my app

    Yes, i do. No reactions.
×