JoshJ Posted November 19, 2015 Share Posted November 19, 2015 I'm experimenting with processing data with cvex in a standalone application. Everything is working except for the following issue: Reloading an existing .vfl file doesn't seem to update. Loading a new .vfl file does update. Explanation: I load and run a hand-coded cvex .vfl file, then modify the .vfl file and resave. My application releases and cleans up the objects which held the cvex contexts, then creates new cvex contexts and loads the updated .vfl file. However, the cvex processing doesn't reflect the new resaved .vfl file, it still runs the originally loaded code. If I resave the .vfl file as a new name, and load that new file, the processing updates as expected. I've tried running cvex_context::clearAllFunctions(), but whether I call it in the destruction of the old cvex contexts, or right at the creation of new cvex contexts, I have only had it result in a crash. Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted December 10, 2015 Share Posted December 10, 2015 I've experienced the same issue with vexexec utility! I think this is a bug and should be reported. Quote Link to comment Share on other sites More sharing options...
JoshJ Posted December 13, 2015 Author Share Posted December 13, 2015 well, even with inlinecpp (using python and ctypes), it looks like a new library name with a random string is created and reloaded. Is this a limitation of c or c++ itself, which prevents easy reloading of dynamic libraries? or is it a limitation of the way its implemented in houdini? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.