Order Id: I use GetTickCount.
Read my last posting.
That'll only work, if you dont have lots of orders going in on the
same tick. Since this application can literally generate orders by
the hundreds, and they often come in batches at the same time, that
wont work for me.