Hi Everybody.
I need some ideas how to get the unique number in the range 1-9999 for my
application. It has to be absolutely uniq for any instance of my application.
What I am doing is I try to create on my server file name with certain
prefix and
four digit number and try to see if I can open it exclusively. If I can then
it's uniq.
I am using Fcreate(MyFileName). The problem that I have is FCREATE function
works very slow when it cannot create file. Does anyone know how to bypass
FCREATE() to check for exclusive excess or may have any other ideas to my
problem?
Thanks in advance
Leon