Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. library coretest1;
  2.  
  3. uses
  4. SysUtils,
  5. Windows,
  6. ActiveX,
  7. ComObj,
  8. WebBroker,
  9. ISAPIApp,
  10. ISAPIThreadPool,
  11. Unit17 in 'Unit17.pas' {WebModule17: TWebModule},
  12. WS1Impl in 'WS1Impl.pas',
  13. WS1Intf in 'WS1Intf.pas',
  14. WS2Impl in 'WS2Impl.pas',
  15. WS2Intf in 'WS2Intf.pas';
  16.  
  17. {$R *.res}
  18. var I: Integer;
  19. lRoot: string;
  20. lApplication: string;
  21. exports
  22. GetExtensionVersion,
  23. HttpExtensionProc,
  24. TerminateExtension;
  25.  
  26. begin
  27. CoInitFlags := COINIT_MULTITHREADED;
  28. lroot := ExtractFilePath(GetModuleName(HInstance));
  29. lApplication := ExtractFileName(GetModuleName(HInstance));
  30.  
  31. LoadLibrary(PChar(IncludeTrailingBackslash(lroot)+'ws3lib.dll'));
  32.  
  33. Application.Initialize;
  34. Application.CreateForm(TWebModule17, WebModule17);
  35. Application.Run;
  36. end.
  37.  
  38. library ws3lib;
  39.  
  40. uses
  41. SysUtils,
  42. Classes,
  43. WS3Impl in 'WS3Impl.pas',
  44. WS3Intf in 'WS3Intf.pas';
  45.  
  46. {$R *.res}
  47.  
  48. begin
  49. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement