From: David L. P. <pa...@gm...> - 2008-04-25 19:49:49
|
I'm not really a developer, but this post should probably go there. In regards to a previous post, I noted that Windows manifest files were causing problems on my system for executing the OpenGL demos, specially atlantis.exe. I previously posted a kludge to embed the manifests in the exe files, but this approach would seem to go against the Chromium philosophy of not requiring mods to an existing OpenGL app. So, I dug into it a bit more and the problem seems to occur from the fact that crappfaker.exe copies atlantis.exe (for example) to a temporary directory and then copies crfaker.dll to that same tmp directory with the name opengl32.dll. In this manner, atlantis.exe (or whatever app) is fooled into thinking that crfaker.dll is the OpenGL library. BUT! The big problem here is that that file atlantis.exe.manifest doesn't get copied by crappfaker.exe, and thus Windows is unable to load the msvcr80d.dll. I am speculating, but I think this particular behavior would also cause problems for private dlls as well where a private dll is one that is located in the directory where an app exe is located AND that directory is not in the load path of Windows. So, a private dll would also not be copied to the tmp directory and thus would not be linked. A similar issue would seem to arise with .local files (i.e. app.exe.local). I don't have a good understanding of these, but I think they also would need to be copied to the tmp directory. That's what I've figured out so far. I have a modified version of app_faker.c working on my system. This mod avoids the need for mt.exe embedding of manifests into an app exe, i.e. no need to modify an OpenGL app. My coding practice is very much a hack job. Is there a developer out there that might have an interest is cleaning my mess up and including it in the development of Chromium? --Dave -- David L. Page, PhD dav...@ie... 865.607.8192 |