I am working with an old Borland 1999 C++ client\server application that I don't have the source code to... unfortunately there is no vendor support or alternative this app.
This is a bit of a head scratchier but the application doesn't work when first opened. If the application is closed and reopened, it works great. If around 2 minutes have expired since the application was previously opened... it goes back to not working again.
The issue is easy to reproduce but I'm not really sure what the next steps should be to get to root cause.
Some of my theories include a DLL that may not be loading on first launch, a TCP/IP port that gets initiated (and dies after 2 minutes), or perhaps a timing issue where a thread tries to access something before a library is loaded...
Any ideas would be appreciated. This is for a very noble cause... this application ensures quality control for 12 ounce glass bottles so that you can enjoy a cold beer.