fpcylix.pp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. Kylix compatibility unit
  3. The stuff in this unit might be rather linux or even
  4. i386-linux centric and even contain windows like stuff.
  5. This file is part of the Free Pascal run time library.
  6. Copyright (c) 2005 by Florian Klaempfl
  7. See the file COPYING.FPC, included in this distribution,
  8. for details about the copyright.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY;without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. **********************************************************************}
  13. {$mode objfpc}
  14. unit fpcylix;
  15. interface
  16. uses
  17. cwstring,dynlibs;
  18. var
  19. MainInstance: PtrUInt;
  20. function GetModuleName(Module: HMODULE): string;
  21. function GetModuleHandle(ModuleName: PChar): HMODULE;
  22. function GetModuleFileName(Module: HMODULE; Buffer: PChar; BufLen: Integer): Integer;
  23. implementation
  24. function GetModuleName(Module: HMODULE): string;
  25. begin
  26. result:='';
  27. end;
  28. function GetModuleHandle(ModuleName: PChar): HMODULE;
  29. begin
  30. result:=NilHandle;
  31. end;
  32. function GetModuleFileName(Module: HMODULE; Buffer: PChar; BufLen: Integer): Integer;
  33. begin
  34. result:=0;
  35. end;
  36. end.