Hello
Guest
it is
March 29, 2024, 04:16:05 AM
Guest
Login
Register
Menu
Home
Help
Search
Calendar
Members
Members
View the memberlist
Search For Members
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
Mach4 General Discussion
/
How to programing C# with Mach4
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: How to programing C# with Mach4 (Read 4633 times)
0 Members and 1 Guest are viewing this topic.
lethang85
12
How to programing C# with Mach4
«
on:
February 29, 2016, 03:24:44 AM »
Hello,
In mach3, i can call API by C#. But in Mach4, i can't call API because i don't know define: const, type .... ex: MERROR_NOERROR,MINSTANCE , HMCDEV. How to programing C# with Mach4?
Rgs
Logged
FocusPaul
46
Re: How to programing C# with Mach4
«
Reply #1 on:
March 01, 2016, 02:30:58 AM »
Those defines are part of the SDK. If you have access to SDK, the C-header files are located in subfolder "SKD/include".
Logged
lethang85
12
Re: How to programing C# with Mach4
«
Reply #2 on:
March 01, 2016, 08:27:52 PM »
I have not access to SDK
. You can show header files.
Rgs
Logged
smurph
1,544
"That there... that's an RV."
Re: How to programing C# with Mach4
«
Reply #3 on:
March 01, 2016, 11:16:23 PM »
In order to have access to the SDK, you need to become a registered developer. Otherwise, the API is in the documentation that is distributed with Mach 4. You will have to make your own C# API wrappers.
Logged
lethang85
12
Re: How to programing C# with Mach4
«
Reply #4 on:
March 02, 2016, 04:03:32 AM »
Tks smurph. How do register a developer?
Logged
smurph
1,544
"That there... that's an RV."
Re: How to programing C# with Mach4
«
Reply #5 on:
March 02, 2016, 03:57:59 PM »
I would ask here:
http://www.machsupport.com/contact-us/
Logged
Steve Stallings
485
Re: How to programing C# with Mach4
«
Reply #6 on:
March 02, 2016, 05:44:19 PM »
Most of the information you want is distributed as part of a normal Mach4Hobby install.
You will find the file - Mach4CoreAPI.chm - in the DOCS folder of your install directory.
This is a compiled Windows help file and should open with a simple double click on the file name.
It does contain the calling convention descriptions, but may not be up to date will all of
the latest available calls.
Regards,
Steve Stallings
www.PMDX.com
Logged
Steve Stallings
www.PMDX.com
lethang85
12
Re: How to programing C# with Mach4
«
Reply #7 on:
March 02, 2016, 08:17:03 PM »
Tks for your infomation
Logged
Print
Pages:
1
Go Up
« previous
next »