>Sergei,
>Adding the code here it returns this message:
>
>"The system couldn't find the specified file."
>
>I dont know what that means, which file ??
>I also tried the same Apierr function in win98 returning the same message.
>
>Where can I find more information about the reason it doesnt work, or whats wrong with the function ???
>
>Thanks a lot for the Help.
>Peter
I just tested the code under WIn 98 and it works.
Did you include the ApiErr function code in your program?
--sb--