I can't start Peer Host from Delphi 5 (Access Violetion in ntdll.dll). I wroute same code in c++ and all work ok. If some one know how to run Peer Host from Delphi please describe it for me. Thanks.
If it works using C++, probably the problem is the wrong parameter passing to the system functions. In Delphi, some Windows API headers are converted to Pascal incorrectly.