Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 09:21:42 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Data structure change
Pages: 1   Go Down
Print
Author Topic: Data structure change  (Read 216 times)
0 Members and 1 Guest are viewing this topic.
cd_edwards
Active Member

Offline Offline

Posts: 27


View Profile
« 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.
Logged
Hood
Active Member

Online Online

Posts: 17,368


Carnoustie, Scotland


View Profile
« 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
Logged
AiR_GuNNeR
Active Member

Offline Offline

Posts: 15


View Profile
« 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.
Logged
cd_edwards
Active Member

Offline Offline

Posts: 27


View Profile
« 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.
Logged
AiR_GuNNeR
Active Member

Offline Offline

Posts: 15


View Profile
« 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
Logged
cd_edwards
Active Member

Offline Offline

Posts: 27


View Profile
« 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.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!