AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Suchfunktion Ergebnis der Suchanfrage

Ergebnis der Suchanfrage


Datum des Suchindex: Heute, 20:47

Parameter dieser Suchanfrage:

Suche in Thema: D3D9 Hook bzw. als "proxy.dll"
Suche alle Beiträge, die von "Remko" geschrieben wurden
• Suchmethode: "Suche nach allen Begriffen"
• Nach Datum (firstpost) sortiert
• Zeige Treffer als Beiträge
Zeige 4 von insges. 4 Treffern
Suche benötigte 0.002s

Es liegen Ergebnisse in folgenden Bereichen vor:

  • Forum: Multimedia

    Re: D3D9 Hook bzw. als "proxy.dll"

      Delphi
      by Remko, 28. Okt 2009
    Just a tip: if you want to define a function where you are not going to modify the results or when you do not know the number of parameters or the type (or are just too lazy too declare them all ;-) you can declare it like this:

    var
    FunctionPtr: Pointer;

    GetProcedureAddress(FunctionPtr, 'my.dll', 'SomeExternalFunction');

    procedure SomeExternalFunction;
    asm
    jmp dword ptr...
  • Forum: Multimedia

    Re: D3D9 Hook bzw. als "proxy.dll"

      Delphi
      by Remko, 27. Okt 2009
    The only workaround I see is by declaring result as pointer...
  • Forum: Multimedia

    Re: D3D9 Hook bzw. als "proxy.dll"

      Delphi
      by Remko, 27. Okt 2009
    Well, the way I see it it's not a design discussion (although I agree that the Delphi (Safecall) solution is elegant) but what's happening here is that Delphi put's 2 pointers on stack while the dll expects only one. Another example where this happens is SHOpenRegStream2.
  • Forum: Multimedia

    Re: D3D9 Hook bzw. als "proxy.dll"

      Delphi
      by Remko, 27. Okt 2009
    I think this is a Delphi bug, I remember it because I had a problem with some other winapi call that returned an interface.
    I quickly tested this (I used IUnknown because I don't have DirectX):


    function Direct3DCreate9(SDKVersion: Cardinal): IUnknown; stdcall; external 'd3d9.dll';

    procedure TForm2.Button1Click(Sender: TObject);
    var
    Unknown: IUnknown;
    begin


URL zu dieser Suchanfrage:

https://www.delphipraxis.net/dp_search.php?do=usersearch&search_username=Remko&search_exact_username=1&search_sortby=dateline&search_resulttype=post&search_matchmode=0&searchthreadid=142249
Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:02 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz