Re: [osg-users] delay-loading OSG DLLs?

2016-10-26 Thread Christian Buchner
Hi, here is my code that actually enables the delay loading to function. First I modify the PATH environment variable to actually contain the folders where the DLLs are expected to be found. Then using __HrLoadAllImportsForDll() I get all the import symbols from the delay loaded DLLS (which have

[osg-users] delay-loading OSG DLLs?

2016-10-25 Thread Christian Buchner
Hi, I was wondering if anyone of you has successfully used the /DELAYLOAD linker option with the OSG DLLs on Windows. For me, attempting this causes the creation of the graphics context to fail, because windowingSystemInterfaceRef() called by createGraphicsContext() returns an invalid reference.