Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 07:29:31 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach SDK plugin questions and answers.
| | |-+  Mach3 Plugin Tutorial Document and Prototype File Set
Pages: « 1 2 3 4 5 6   Go Down
Print
Author Topic: Mach3 Plugin Tutorial Document and Prototype File Set  (Read 6191 times)
0 Members and 6 Guests are viewing this topic.
Jeff_Birt
Active Member

Online Online

Posts: 162



View Profile
« Reply #50 on: August 05, 2008, 09:57:27 AM »

Thanks! I wound up removing the dialog and recreating it and adding the event handler class again. In hindsight I probably could have gotten away with just removing and adding back in the event handler class but I was getting strange errors from the dialog header telling me the the IDC I gave the form was no good. This was a result, evidently, of not having the rest of the #includes in the header.

That compiler errors in C++ really stink. About 50% of the time what they say is useless....grump, grumble...., 45% of the time it is hard to relate what they say to changes you just made in your code, 5% of the time they are dead on....
Logged

Jeff
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Online Online

Posts: 770


Briceville, TN, USA



View Profile WWW
« Reply #51 on: August 06, 2008, 09:09:07 AM »

I FEEL your PAIN my Brother.................

scott
Logged

All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
Jeff_Birt
Active Member

Online Online

Posts: 162



View Profile
« Reply #52 on: August 14, 2008, 09:13:53 AM »

OK, so if one is using a modeless dialog with Mach, how do you obtain a pointer to the CXMLProfile when your dialog needs to write back to the profile? When using a modal dialog its not a problem as you create/show the dialog in 'void myConfig(CXMLProfile *DevProf)' and then save any changes when you dialog returns. DevProf evidently is NOT a static pointer as simply copying it for later use does not work..
Logged

Jeff
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Online Online

Posts: 770


Briceville, TN, USA



View Profile WWW
« Reply #53 on: August 14, 2008, 06:45:50 PM »

Hey Jeff,

    for what it is worth, that is why I use the Modal dialog, I am too stupid to make the modeless work...........
No probs with modal, as you say above.

Scott
Logged

All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
Jeff_Birt
Active Member

Online Online

Posts: 162



View Profile
« Reply #54 on: August 15, 2008, 07:18:55 PM »

I talked to Brian a bit about this and found out the problem. You can only access the profile in myConfig, or perhaps the myClose (not sure that is the right name) as Mach is using it the rest of the time. I decided to launch a separate modeless dialog when I want a diagnostic type dialog.
Logged

Jeff
TomHubin
Active Member

Offline Offline

Posts: 80


View Profile
« Reply #55 on: November 15, 2008, 05:43:57 AM »

Hello,

I am shopping for Visual Studio 2003 and have found the following variations:

•   Microsoft Visual Studio .NET 2003 Professional Edition
•   Microsoft Visual Studio .NET 2003 Enterprise Architect
•   Microsoft Visual Studio .NET 2003 Enterprise Developer
•   Microsoft Visual Studio .NET 2003 Academic Edition

I am planning to work on the 3d Video Plugin. Which of these VS2003 are suitable for compiling Mach3 plugins and which are not suitable?

Is there any other special  software that I will need to access USB cameras?

Is there any documentation on accessing USB cameras?

Tom Hubin
thubin@earthlink.net
Logged
jemmyell
Active Member

Online Online

Posts: 70


View Profile WWW
« Reply #56 on: November 15, 2008, 11:07:36 AM »

Hello,

I am shopping for Visual Studio 2003 and have found the following variations:

•   Microsoft Visual Studio .NET 2003 Professional Edition
•   Microsoft Visual Studio .NET 2003 Enterprise Architect
•   Microsoft Visual Studio .NET 2003 Enterprise Developer
•   Microsoft Visual Studio .NET 2003 Academic Edition

I am planning to work on the 3d Video Plugin. Which of these VS2003 are suitable for compiling Mach3 plugins and which are not suitable?

Is there any other special software that I will need to access USB cameras?

Is there any documentation on accessing USB cameras?

Tom Hubin
thubin@earthlink.net

Hi, I am using the Academic version.  The only real difference is that the Academic does NOT contain an optimizing compiler.  That said I usually compile non-optimized no matter what Microsoft compiler I am using.  The optimizations cause more trouble than they are worth.  Get the professional if you can afford it, but the Academic works just fine.  Search the Codeproject forum and the MSDN for info about USB camera interfaces.

-James Leonard
Logged

Pages: « 1 2 3 4 5 6   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!