Jump to content

cvex file reloading in standalone application


JoshJ

Recommended Posts

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.

 

 

Link to comment
Share on other sites

  • 3 weeks later...

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?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...