Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Recommended Posts

Guest CNC Apps Guy 1

Unfortunately Butch, I've got to tell you that "It's who you know". Unless you have somebody that you know that writes C-Hooks, it's virtually impossible to learn. You can learn C++ Programming but ther are some specific issues with "Hooking" to Mastercam.

I count myself Blessed because Dave Friedman (a long time writer of C-Hooks) lives about 4 miles from my house and he is teaching me. His only requirements of me are 1) ambition to learn and 2) That I pass on what I learn to at least two other people. Basically there are only a handful of people in the world doing this type of stuff. A few at CNC Software, 4-D Engineering, In-House Solutions(The marvelous hosts of this wonderful Forum), Moldplus, Camaix, Cimsoftek, and Dave. That's pretty much it.

James Meyette

Applications Engineer

 

Link to comment
Share on other sites

James,

I thought about getting into C-Hooks, why don't they have VB-Hooks?? eek.gif

How much of a learning curve will be involved in learning C-Hooks if I already know Visual Basic??

Thanks,

Rekd

Link to comment
Share on other sites

butch_shaw,

The C-Hook Developer's Guide that is included with the SDK in DOC format is what got me started. The "shapes" sample is good example to get a basic understanding of how C-Hooks are launched, input/output data and a little MFC GUI developement is thrown in for good measure smile.gif C-Hooks will keep MFC alive since Microsoft is trying killing it off with C# and Visual Studio .Net frown.gif

 

Link to comment
Share on other sites

Thank you all for your insight. I am a beginning C++ programmer and a long time user of Mastercam. I will dig into the sample files in the CHDEV directory. Take one thing at a time. It sure would have been nice if Mastercam would of had a HELP file to write C++ programs like Cadkey does. Right now I have a C++ program that runs in Cadkey to output NC code. But I would like to use the Operations Manager in Mastercam to provide the user with more flexibility of defining the operations than he already has. Have to make things as automatic as possible to remain competitive. Thank You All. smile.gif

 

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Webmaster, I was sincere about that comment.

Rekd, Basic is more "language" oriented and C seems to be more statement/declaration oriented (from my limited perspective so far)

The doc is pretty good. Of course I'd like to see more in it but look at the post book (Sorry CNC), it's pretty lean when it comes to showing you how to actually accomplish building a post.

Bullines, what's going to hapen when they (MS) kills off C?

PDG, It's not as easy as writing a post unfortunately.

Butch, Keep on plugging away. Maybe someday we'll meet and we can swap beginner compiling stories. biggrin.gif

James Meyette

 

 

Link to comment
Share on other sites

James,

With Visual Studio .NET, Microsoft is heavily pushing its new C# (pronounced C-sharp) language. C#, IMO, is a retaliation against Sun and Java. C# aims to be a Java-killer and I think it's a step backwards; we already have Java, we don't need another one.

Hopefully, the new incarnations of Visual C++ .NET and Visual Basic .NET won't be too web-oriented (but it's shaping up that way). If my MSDN subscription was more prompt, I'd have a beta to play with by now frown.gif.

If the next version of Visual Studio leaves C-Hook and application developers in the cold, I'd be more than happy to fall back onto Borland's products; they're what I used the most in university smile.gif.

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.

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.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...