Jaouad
-
Posts
28 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Posts posted by Jaouad
-
-
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 Markov,
Did you success to find a C-hook way to replicate "Xform->Offset Contour" functionality ?
Thank you for your help.
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 Markov,
Thank you for your reply.
Pete described me how to implement it.
I am going to try what Pete sent me.
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
-
-
Hi,
I'm looking to create some surfaces as lofted surface, sweept surface and Net Surface within NetHook API.
There is no instruction about that within NetHook API.
Can someone give me some help on that.
Thanks
Jaouad
-
I download and installed a new CHook-SDK kit development. Still the same error on creating project.
Creating project “Project1”.....Project creation failed
What is the problem?
Thanks
Jaouad
-
Hi,
I tried the VB Script example program above to implement DoNest VBScript function. I get a warning message box:
Box title: Nesting vX4 r22.5
Warning - Nesting not available in this product
But when I'm doing it manually (XForm/Geometry Nesting...), it works.
Someone can give me some help on that
Thanks
Jaouad
-
Do you have any download Page?
Thanks
-
Hi Roger,
I tried what you advised me to do step by step. I’m still receiving the same error.
I suppose the Chook-SDK installation kit given to me is corrupted.
Could you please send me a new CHook-SDK development kit to try it?
Thanks
Jaouad
-
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.
-
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
-
Hi,
I am looking for some help to implement CHook-SDK and to start building new project on Visual Studio with CHook-SDK.
I have a nice background on C/C++ programming.
Can someone help me?
Thank you
Jaouad
-
Hi Roger,
I have a problem with MFCS90d.dll when compiling in debug configuration.
Below the error I got :
mfcs90d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in CHookParams.obj
Have you any idea how can I fix that!
Thank you
Jaouad
-
Hi,
Have you any documentation to describe how to implement SDK C-Hook into Visual studio?
Thank you
Jaouad
Explanation of nesting parameters
in Mastercam C-Hook, NET-Hook and VBScript Development
Posted
Hello,
I am looking for some explanations about nesting parameters used within INI file for DoNest().
Thank you
Regards
Jaouad