C++ binding plugin

This is where you talk about Plugins. How they are made and how they work, show examples.

Re: C++ binding plugin

Postby cncdrive » Sat Dec 16, 2017 2:41 pm

And so I wrote the Console plugin with redirecting the stdout to a listbox on a plugin Form.
Picture attached. :)
Attachments
console.png
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: C++ binding plugin

Postby Dan911 » Sat Dec 16, 2017 2:54 pm

Hi Balázs,
Where can we find to try?
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: C++ binding plugin

Postby cncdrive » Sat Dec 16, 2017 3:47 pm

Hi Dan,

I just wrote it, so it is not available yet in any UCCNC releases, but I'm attaching the plugin to this forum post if you want to try...
Attachments
Console.dll
(23.5 KiB) Downloaded 776 times
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: C++ binding plugin

Postby Dan911 » Sat Dec 16, 2017 3:52 pm

Thanks!
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: C++ binding plugin

Postby coon » Tue Dec 19, 2017 12:03 pm

cncdrive wrote:And so I wrote the Console plugin with redirecting the stdout to a listbox on a plugin Form.
Picture attached. :)


Very nice :)
coon
 
Posts: 15
Joined: Sat Dec 02, 2017 2:01 pm

Re: C++ binding plugin

Postby dezsoe » Tue Dec 19, 2017 12:18 pm

Very good and useful! I have two remarks:
- It would be better to use a fixed size font (e.g. courier). If you make some hex dump or anything, where you should see a change, it's better.
- A copy to clipboard button.
dezsoe
 
Posts: 2049
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: C++ binding plugin

Postby X3msnake » Wed Dec 20, 2017 11:24 pm

How do we activate this console

Just drop the dll on the plugins folder?
X3msnake
 
Posts: 23
Joined: Mon Dec 18, 2017 4:31 pm

Re: C++ binding plugin

Postby cncdrive » Wed Dec 20, 2017 11:39 pm

Yes, copy the plugin .dll file to the UCCNC/Plugins folder, run the UCCNC and enable the plugin in the plugins configuration menu and restart the UCCNC.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: C++ binding plugin

Postby X3msnake » Thu Dec 21, 2017 12:08 am

Cool

Thanks for the clarification
X3msnake
 
Posts: 23
Joined: Mon Dec 18, 2017 4:31 pm

Previous

Return to Plugins

Who is online

Users browsing this forum: No registered users and 11 guests