How to Read and Write Text Files Using the C++ SDK
How to Read and Write Text Files Using the C++ SDK.
I also want to know how to obtain the path to the folder containing my own PlugIn.
How to Read and Write Text Files Using the C++ SDK.
I also want to know how to obtain the path to the folder containing my own PlugIn.
Have a look at IPluginList::GetPathName if you still need your plugin path.
ScriptData knows how to pass an IDFile, and RunScriptParams knows how to pass a list of ScriptData. You'd then pick it up from "arguments" array, but beware - UXP chose a more convoluted way.
Not sure what you're doing with the stream, but in general separate execution paths for read + write can get avoided.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.