Hello Guest it is November 14, 2019, 09:08:54 PM

Author Topic: Issue with Plug In writing to device profile  (Read 1210 times)

0 Members and 1 Guest are viewing this topic.

Issue with Plug In writing to device profile
« on: June 01, 2012, 05:13:35 PM »
I'm completing a new plug-in for an USB BOB.

When my plug-in writes configuration data back to the profile file using "DevProf->WriteProfileInt" everything is fine, as I verify using a text editor on the .xml file, but when Mach3 exits, it writes the previous data back to the file. It seems like Mach3 (or some other plug-in) is holding on to an CXMLProfile handle until it exits, at which time old data is flushing back to disk.

Has anyone else noticed this? Is there any easy work-around without having to create a custom configuration/setup file for my plugin?

Thanks for your help.
Frank