|
From: Dair G. <da...@re...> - 2004-10-05 23:09:37
|
Tom Sanham wrote: >> Q3Renderer_NewFromType(kQ3RendererTypeInteractive) always returns 0 >> if the app was run from the Shortcut in the start bar, (as installed >> from .msi file). Obviously this causes the app not to work. >> >> However, all works fine if the app icon was double-clicked. > >One more clue I have just found - the problem only occurs when >QD3D.dll and related files are in their default location >(WINDOWS\SYSTEM), but works fine if these files are placed in the >application directory. Hmm, the only thing I can think of is that the PATH environment variable is different when launched from a shortcut vs double-clicked? Which would be a little odd, but it does sound like the problem is the library isn't being found; and as far as I know Windows just does a normal "grab a list of paths from an environment variable and check each directory" when resolving shared libraries. -dair ___________________________________________________ mailto:dair+refnum.com http://www.refnum.com/ |