Thanks for the dll update. The demo.exe crashed when I tried to launch it, but the new dll works in my own code. The icon is switched to icon.ico as soon as the dll is loaded. The only problem is that the dll is still loaded after the engine compiles the script instead of before. I suspect this is because I'm still on the 6.40 version of the engine. Apparently the pre-compile dllmain call is a new development. I'll try migrating to 6.60 and test again to see if the pre-compile call was implemented in 6.60. If not, then it must be new in A7. (I'm not quite ready to trust my release to a beta version of the engine though.) Many thanks again. You've got my 5-star rating for this one.