alebo prestat pouzivat delphi (nezmyselne v tomto pripade) a zacat pouzivat C++ a priame volania WinAPI.