>I am using the sys(3) function to assist in generating unique id's. I have over 300 clients using this functionality without a problem. However, I recently had a client who was receiving duplicate id's. There problem was fixed by replacing the computer. I now have another client with the identical problem and they are not willing to accept that their computer is to blame.
>
>Has anyone ever seen this kind of problem before. The problem is not related to CPU speed since the id is only generated per request and it would be impossible to input requests that quickly.
>
>Any help would be greatly appreciated.
Hi David,
Why not use the CoCreateGuid API call to generate your key. It calls the MS RPC function UuidCreate to generate a globally unique integer?
George
Ubi caritas et amor, deus ibi est