Hi,all!
I have a problem while using an embeded resource print template to print html file in a dll. In my application,I have an exe file and a dll file all written in cpp. Dll file supplies function to print html files using CHtmlView's ExecWB,I give a custom template file to the third parameter of ExecWB.When the template file is embeded resource of dll file and is running in XP system with IE6,"permission denied" error happens ,but it works well if IE is IE8. If my template is not an embeded resource but a normal .html file on disk,running in XP system with IE6 works well too.what is the difference between embeded resource template and normal file template?
If I use embeded resource template file in an exe file,and the exe file executes ExecWB directly,it works well too,authough the os is with IE6. Is there any difference between exe file and dll file while using print template to print html files?
thanks.