Einzelnen Beitrag anzeigen

Benutzerbild von Mavarik
Mavarik

Registriert seit: 9. Feb 2006
Ort: Stolberg (Rhld)
4.130 Beiträge
 
Delphi 10.3 Rio
 
#2

Re: Wie erhalte ich aus einem hdc: _RemotableHandle ein HDC?

  Alt 24. Apr 2006, 15:39
Habe folgende Antwort gefunden:

Zitat:
Change the declaration to

function Draw(rcBounds: tagRECT; rcUpdate: tagRECT; lDrawFlags:
Integer; hdc: hdc; pvDrawObject: Pointer):
HResult; stdcall;

Notice I removed "var" from the hdc and pvDrawObject parameters.

Also, _RemoteableHandle could be declared as THandle.

For more information check out my blog post where I specifically talk
about this problem.

http://blogs.borland.com/stevet/arch...1/01/1725.aspx

-Steve
Delphi R&D
Borland Software Corp.
http://blogs.borland.com/stevet
Habe ich irgentwo nicht aufgepasst??? Wie soll das den gehen?

Frank
  Mit Zitat antworten Zitat