We're using BoxedApp SDK with a Delphi native 32bit application. Since it takes about 6 seconds for BoxedApp to create the virtual Environment (4 virtual files, 1 ActiveX Control and 1 .Net Assembly),
I have chosen to do this in a separate thread created from the main program. This thread is running with a lower priority.
In the mean time (while the virtual environment is beeing established), the main program connects to a database and initializes the rest of the application.
The main program seems however to have problems to do DNS lookups while the BoxedApp environment is beeing established in the secondary thread.
The program is unable to connect to the database if, and only if, the address to the database is in a name format that requires a DNS lookup. (e.q. 'database_server.domain.se').
Using 'localhost' or a numeric IP as the database address works fine though.
Also, if we wait to connect until the secondary thread has terminated (i.e. the virtual environment is fully established), the program connects to the database just fine.
Does anybody have any clue what might cause this problem?
