NO

Author Topic: Comment and Un-Comment buttons on the toolbar  (Read 496 times)

Offline John Z

  • Member
  • *
  • Posts: 508
Comment and Un-Comment buttons on the toolbar
« on: September 11, 2022, 03:26:37 pm »
This is an add-in that adds toolbar buttons to perform the Comment and Un-Comment functions. It demonstrates how easy it is to customize Pelles C UI, and how flexible Pelle and et al. have made the system.

All source code is included in the zip as well as the final BComment.dll, which needs to be copied to Bin-Addins64 directory and enabled under Tools - Customize - Add-Ins as "PellesC Button Comments"


John Z

Offline CandCPlusPlus

  • Member
  • *
  • Posts: 51
Re: Comment and Un-Comment buttons on the toolbar
« Reply #1 on: October 02, 2022, 06:40:50 pm »
This is a useful add-in. :)

Offline John Z

  • Member
  • *
  • Posts: 508
Re: Comment and Un-Comment buttons on the toolbar
« Reply #2 on: October 03, 2022, 02:55:31 pm »
Add-in Guru TimoVJL pointed out that basically since this add-in uses no common runtime calls the dll size can be reduced by using an alternative DLLMain.  The new dll is only 1/4th the size of the original preserving system resources.

Attached is the modified project code and new dll.  Original dll was 32K new dll only 8K  :)

Thanks TimoVJL!

John Z