PB v12.1 b7055
Client/Server app
Windows 7 64 bit SP 1
Is there a way to get a unique ID for my current app?
Ideally I'l liketo get a unique LONG of STRING value that uniquely identifies the current instance of the app. That way if I have 3 instances of the same app running, I can tell the difference between them.
BTW:
Handle(0) and FindWindowA() both return zero when APP_1 is running in a single instance.
Thanks,
Olan
Olan
I ran multiple instances of the same app and displayed the ll_pid value in a messagebox,: values were different.
I then started and stopped the module that was getting the ll_pid, and for the same instance of the app the same ll_PID was displayed each time.
Perfect! Thank youfor sharing this!
Later -
Olan
That is excellent news! :-)+
This is what I have used in my STD frameworks for ages to resolve this run-time unique instance aspect .
Regards ... Chris