Hi,

Thanks for looking in to this.

While exprementing with scripting engine, facing some poblem regarding ParseScriptText, If I call this function from application's main thread then everyting works fine, but if I call this function from the thread derived from CWinThread it does't works and returns E_UNEXPECTED.

everyting initialization, script site is same except calling thread. even I tryed the initialization function CoInit.. OLeInitialize() from the threads InitInstance.

What can be the Issue ??

your help/suggestions would be really helpful for me.

Thanks
-Anant