Itmight be possible to use External Object, but I'm not sure that's the best way to go about what you are after. Depending on what you are trying to do, including scripting support in a plugin might be the way to go...
I'd ask this on the SDK forum. You'll probably get better asnwers there.
Actually I am Using Extend Script Tool Kit SDK. i am able to communicate and transfer the data from extend Script to C++ dll by creating an instance of external lib. is there any way to communicate or send data from c++ to script withpout any request from script ?
Thanks & Regards,