Re: Why is IOUtil.testDirExec() needed?
Posted by
Xerxes Rånby on
Oct 21, 2015; 8:28pm
URL: https://forum.jogamp.org/Why-is-IOUtil-testDirExec-needed-tp4035542p4035544.html
the reason why this executable exist is that we need a way to determine which temp directorys on a windows system that allow us to extract and load dll's. On windows the only way to find out if a temp dir allows execution is by actually trying to launch an executable. The test executable jogamp_tst_exe is the most minimal executable possible, jogamp_tst_exe its like a hello world without printing hello world. When this executable executes and return then we know that the temp directory can be used to extract the jogamp native dll that we later use to access your opengl driver.