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:

Jaouad

Verified Members
  • Posts

    28
  • Joined

  • Last visited

Posts posted by Jaouad

  1. Hi,

     

    I need some help to run DLL on other machines.

     

    All the developped DLL (managed DLL and unmanaged DLL) are working fine on my development machine. The managed DLL calls the both unmanaged DLL.

     

    When I copy them and try to run them on other machines, the managed DLL runs fine but they unmanaged DLL could not be ran…

     

    I receive the following message : unable to load `C:/…/*.dll`. This specified application could not be ran because the configuration of the application is incorrect…. (Exception from HRESULT: 0x800736B1)

     

    I think the managed DLL loose the dependencies with the unmanaged DLL. What can I do to restore/keep this dependency? How to fix it?

     

    Thanks for your help

     

    Regards

     

    Jaouad

  2. KRESIMIR,

     

    There is no functions within NetHook which are able to create lofted surface, sweept surface... I searched about that before.

     

    Only surface that you can create is planar surface by using:

     

    DllImpExp MC_BOOL trim_surf_from_flat_chains(

    CHAIN *chains,

    DB_LIST_ENT_PTR *basesrf_ptr,

    surf_type *trim_surf,

    short *err_code);

     

    So, I didn't success to draw / display the created surface on mastercam!

     

    I'm still trying to figure out how!

     

    Jaouad

  3. Hi,

    I would like to have more precision about the following function how does it work?

     

    DllImpExp void make_nurbs_from_chains(CHAIN *chains, real max_error, short disp_orig,int disp_level,MC_BYTE color,int level,MC_BOOL *succf)

     

    I succeed to implement it but the function CFile_DoFileSave() loose his functionalities. I could anymore save those NURBS curves individually in order to be nested after.

     

    Thank you for your help

     

    Jaouad

  4. I followed the instructions you gave me.

    The wizard can run and asks to follow the 2 steps. But when clicking finish, I got the same message error.

     

    Creating project “Project1”.....Project creation failed

     

    Sometimes, Visual crushes.

     

    Did I do something wrong?

     

    you said later in the 3th step, the "template" file must here:

     

    3> And the 'template' files used by the Wizard will be here:

     

    Program FilesMicrosoft Visual Studio 9.0VCVCWizardsCHookWizardchookwizardTemplates1033

     

    Or here:

     

    Program FilesMicrosoft Visual Studio 9.0VCVCWizardschookwizardTemplates1033

     

    You put the chookwizard folder twice.

     

    Thanks Roger for your help.

  5. Hi Roger,

    I have SDK 4 and Mastercam X4 MU3

     

    I succeed to setup the visual studio 2008 with Mastercam. The environment variables are well configured.

     

    But I couldn’t run the CHookWizard when trying to start with a new project from it. I got an error message:

     

    Creating project “Project1”.....Project creation failed

     

     

    Also, I didn’t find any NetHook Surface class that permits to create a Net Surface (creating surface from rectangle). Can you please give some help on that?

     

    Thank you

     

    Jaouad

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