Hello Guest it is December 02, 2024, 02:54:58 PM

Author Topic: Data structure change  (Read 3634 times)

0 Members and 1 Guest are viewing this topic.

Data structure change
« on: November 27, 2011, 11:44:59 AM »
I've been working on a plugin for a LCD display and had the device working quite well except there was no config dialog. I ended up crashing mach3 so I installed the most recent non-release beta version. Now I have a problem in that the display is not picking up the mach3 machine data structure correctly. Has there been a change in the structure between the release and the current beta version?  Also, I've been able to create a problem with mach3 in that I am able to trigger a 9991 art code consistantly. Closing the dialog, causes mach3 to crash. this is extremely repeatable. I'm not modifiying the structures at all, just set up a dialog box and obviuosly incorrectly.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: Data structure change
« Reply #1 on: November 27, 2011, 05:32:54 PM »
Probably best to email Andrew and give him details of exactly what happens and likely also your plugin etc so he can repeat the issue there.
andrewm@machsupport.com

Hood
Re: Data structure change
« Reply #2 on: November 28, 2011, 08:06:00 AM »
Are you using VS2003?  If not, that could be your problem as some of the class sizes have changed and will cause memory corruption.
Re: Data structure change
« Reply #3 on: November 28, 2011, 08:08:55 AM »
well that is maybe it then as I'm trying to use vs2010. I knew i should not have upgraded from 2003.
Re: Data structure change
« Reply #4 on: November 28, 2011, 09:28:33 AM »
If you look in the plugin forum, there is a guy there that did a great job and doewrote some new headers so you can use VS2008, but it does not support MFC.
Eric
Re: Data structure change
« Reply #5 on: November 28, 2011, 08:50:58 PM »
Thanks for the heads up Eric. Once I recompiled using the headers from the MachPluginWizard 1.1a I can say that  it actually works with VS2010. my LCD DRo is now working again.