Recent

Author Topic: H2PAS tool is in disarray  (Read 481 times)

jamie

  • Hero Member
  • *****
  • Posts: 6529
H2PAS tool is in disarray
« on: September 04, 2024, 11:14:29 pm »
I will be removing that tool from the TOOL options, I never really used it anyways. I wrote my own utils to help with the conversion of C files over the Pascal etc.

 But, I want to let whoever wrote that code To know its in terrible shape.

 It has bad redraw, buttons start to fall out of position just navigating around in it.
 
 and when you shut down the IDE after closing this tool at some point, you get several dialogs asking you to save your work and if you ignore, etc. It most likely causing an access violation.


 I did install this in the 64 bit IDE so maybe so cellar based coder will using casting pointers to 32 bit!


The only true wisdom is knowing you know nothing

Thaddy

  • Hero Member
  • *****
  • Posts: 15556
  • Censorship about opinions does not belong here.
Re: H2PAS tool is in disarray
« Reply #1 on: September 05, 2024, 11:32:14 am »
It is not. It is still best effort. And people who know C have no problems with it.
People who know C and Pascal do not have any issues, because they know the limitations.
You are expecting too much from a simplistic tool.
Advice? Improve it.
If I smell bad code it usually is bad code and that includes my own code.

ccrause

  • Hero Member
  • *****
  • Posts: 934
Re: H2PAS tool is in disarray
« Reply #2 on: September 05, 2024, 02:39:07 pm »
Thaddy, I suspect Jamie is referring to problems related to the H2Paswizard GUI wrapper specifically and not the command line tool h2pas itself.

Thaddy

  • Hero Member
  • *****
  • Posts: 15556
  • Censorship about opinions does not belong here.
Re: H2PAS tool is in disarray
« Reply #3 on: September 05, 2024, 03:56:36 pm »
It is either way "Great Expectations".
Using such a tool as a beginner is not really feasable: You need to know both languages to quite some extend. (that is mildly expressed)
You and I do not suffer from that, but it is an always recurring problem.
h2pas is a great tool, just as the helpful h2paspp is, but it really requires C knowledge to interpret its result. It is definitely not a tool for beginners.
( The chance that a header conversion by h2pas compiles out of the box is zero!)

It is an advanced tool for advanced programmers, be it commandline or wizzard.
« Last Edit: September 05, 2024, 04:09:40 pm by Thaddy »
If I smell bad code it usually is bad code and that includes my own code.

Seenkao

  • Hero Member
  • *****
  • Posts: 585
    • New ZenGL.
Re: H2PAS tool is in disarray
« Reply #4 on: September 05, 2024, 07:34:28 pm »
Не удивительно, что графическая оболочка не справляется, ведь даже в командной строке иногда надо произвести много предварительной работы для перевода заголовков.

Google translate:
It's not surprising that the graphical shell can't cope, because even in the command line, sometimes you have to do a lot of preliminary work to translate the headings.

Video where I helped h2pas translate the titles. Sorry, the video language is Russian.
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

jamie

  • Hero Member
  • *****
  • Posts: 6529
Re: H2PAS tool is in disarray
« Reply #5 on: September 05, 2024, 08:21:55 pm »
Thaddy, I suspect Jamie is referring to problems related to the H2Paswizard GUI wrapper specifically and not the command line tool h2pas itself.

That is exactly what I am referring to.

It's so bad when installed in the 64bit version of the IDE that strange things happen to the IDE and editing sessions!'

Reminds me of another app where the author used DWORD casting on pointers and that does not work so well when compiled in 64 bit mode.



The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018