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:
Hi Roger,
All is going fine.
I succeed to run correctly all the DLLs. The problem is I should export the DLLs developped with CHook in release mode.
Thank you
Jaouad
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
Hello Roger,
Surprising, my program is working!! Sometimes, I don't get what I hope.
Nevertheless, I sent to you an email with my code.
Thank you
Jaouad
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
Hi,
Could you please tell me how I can run the following function within mastercam:
DllImpExp MC_BOOL trim_surf_from_flat_chains(
CHAIN *chains,
DB_LIST_ENT_PTR *basesrf_ptr,
surf_type *trim_surf,
short *err_code);
Any example on that will be appreciated.
Thank you
Jaouad
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
I use both C-Hook and NetHook to develop my mastercam application, because some functionalities don't exist within NetHook.
I would like to know if I can call or implement the C-Hook Dll inside NetHook programm without using VB Script?
Thank you.
Jaouad
Hi Roger,
Could you please send me all files that you have inside the folder:
Program FilesMicrosoft Visual Studio 9.0VCVCWizardsCHookWizardchookwizardTemplates1033
I would like to try them into my wizard.
Thank you
Jaouad
Hi Pete,
I would like to use the function surf_surf_intersect( … ). I make a search about this function, the documentation doesn’t exist in C-hook SDK.
Where can I find all about it?
Thank you
Jaouad
Hi Mike,
I solved the problem. My dealer helped me.
the solution is: in orther to run nesting VBScript program on mastercam, I should firt select a machine.
Thank you
Jaouad
Hi Mike,
Thank you for your reply.
I could not run this VB Script because I got a box message error:
Box title: Nesting vX4 r22.5
Warning - Nesting not available in this product
Could you please tell me what is the problem^
Thanks
Jaouad
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.