Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#16

Re: Ressourcen aus anderen Pe Dateien auslesen

  Alt 18. Sep 2008, 13:46
Zitat von Larsi:
Ich habe noch nicht richtig was mit Console gemacht. Und warum kann man das nicht durch Result := ersetzen?
Delphi-Quellcode:
function EnumResTypeProcA(hModule: HINST; lpszType: PChar; lParam: LPARAM): BOOL; stdcall;
begin
  Writeln('RESOURCE TYPE: ', ResourceTypes(lpszType));
  EnumResourceNamesA(hModule, lpszType, @EnumResNameProcA, 0);
  Result := True;
end;
Dann will ich mal sehn wie du da Result := 'RESOURCE TYPE: ' + lpszType; setzt.

Ist dir denn ungefähr bewusst, was welche procedure/funktion macht? Wenn ja, dann ist das schonmal der erste Schritt.
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat