NO

Author Topic: Line Counter Add-IN  (Read 39170 times)

Offline John Z

  • Member
  • *
  • Posts: 865
Re: Line Counter Add-IN
« Reply #75 on: October 24, 2021, 09:38:51 PM »
Thanks.
I’ll try to reproduce. From the picture it looks like some Unicode characters in the path name.
I don’t recall right off if I coded for Unicode path/file names.

John Z

Offline John Z

  • Member
  • *
  • Posts: 865
Re: Line Counter Add-IN
« Reply #76 on: October 25, 2021, 11:52:37 AM »
Looking at the source code it is coded to allow for Unicode filenames, so that is probably OK.

After the message box picture that you attached there should have been another
message explaining exactly what the error was.  The box title should have been
"FileName Creation"  if you can see that it would help.

My only thought at the moment is that a prior LC_Output.html was still open which locks
the file and would prevent opening the file again to write the new data.  The utility always
writes to the same filename. 


John Z

Grincheux

  • Guest
Re: Line Counter Add-IN
« Reply #77 on: October 25, 2021, 02:50:15 PM »
I make an other test.
These time I often use your add-in to locate the function and see if I don't call a function which is part of the previous called.
Example:
Code: [Select]
int Function_A(void)
{
    JohnFunction() ;
    return ;
}

int MyFunction(void)
{
     Function_A() ;
     JohnFunction() ;

     return
}

Offline John Z

  • Member
  • *
  • Posts: 865
Re: Line Counter Add-IN
« Reply #78 on: October 27, 2021, 01:49:41 PM »
Yes this is a handy feature I use quite a bit myself. 

Happy it is a useful Add-In, maybe more people will try it.....

Also I like my Named Bookmarks, very useful although it is not the only one ...

John Z

Offline John Z

  • Member
  • *
  • Posts: 865
Re: Line Counter Add-IN
« Reply #79 on: July 07, 2023, 03:41:07 AM »
Updated for Pelles C v 12.002.  No code changes so just posting the DLL.
Posted here and on the initial page.

Offline John Z

  • Member
  • *
  • Posts: 865
Re: Line Counter Add-IN
« Reply #80 on: August 14, 2023, 04:09:41 PM »
Updated with Pelles C 12.00.2 small bug fix for invalid file creation error message for HTML output.
It is always created...

Just replace the DLL in the AddIns64 folder.

John Z

Offline John Z

  • Member
  • *
  • Posts: 865
Re: Line Counter Add-IN
« Reply #81 on: November 01, 2023, 02:28:59 PM »
Updated with improved procedure detection under Win11 and Pelles v12
Added reporting of the number of calls to each procedure as a report option.

John Z