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:

nostromo

Verified Members
  • Posts

    6
  • Joined

  • Last visited

nostromo's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. David, I don't think it has anything to do with the file extension or with mspaint. If the file is 0, it means that one of verisurf's dll's couldn't load. If you open the "Verisurf settings (general)", the last entry in verisurf's menu, do you get a warning message? If not, can you turn on the Verisurf Watermark in the preferences? If it gives a warning, then you need to check the path to the chooks in Mastercam Settings: Files, "Custom Add-in (DLL)", make sure it is set to C:MCAMX3CHOOKS and not to C:MCAMXCHOOKS
  2. something else to consider: In Mastercam: Settings, Files, "Temporary files root". What is set for that folder, and is that folder writable? The screenshot is placed in the mastercam temporary files folder, with the same name as the file but with extension png. If this can't be created, paint won't be opened either.
  3. The one I saw today was in the level manager, right click menu, contrast rows. The bitmap used for the check mark has resource id 7008, which was also in use for one of our bitmaps. The easy solution for us is to simply change our resource id. And that has nothing to do with us actually using that resource or not. If the resource handle isn't set correctly in that Mastercam function, windows/mfc will use the resource with the requested id from the last (shared resource) dll loaded. And since the c-hooks are loaded after all other dll's.... [ 09-02-2008, 06:27 PM: Message edited by: nostromo ]
  4. It took me less than 5 minutes to reproduce takashi's problem. As said before, problem is in mastercam, not in his code. I added a string with resource id 5092 in one of our c-hooks/dlls, started mastercam, created 2 solids, preformed a boolean operation (remove) on them and then hit the undo btn. result: I got my string in the mastercam dialog... Please note: I didn't do anything in my code with that string! I just added a string with the same resource id.
  5. What Takashi is saying, is that the problem is not in his dll, but in Mastercam. Mastercam is loading his string instead of the one in mcres.dll. I guess that that ChangeResCL isn't used everywhere inside X itself... I just also had to change a resourcenumber in our product, because X was loading our bitmap.

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...