Recent

Author Topic: H2PAS error puzzle  (Read 7080 times)

physicsisfun137

  • Newbie
  • Posts: 3
H2PAS error puzzle
« on: August 07, 2010, 06:02:20 pm »
I am trying to convert some .h files.  When I run the H2PAS tool in Lazarus, I get the error message:

Error : only one filename supported.  Found also :Grey

"Grey" refers to the company that wrote the C code.  What does this message mean and how can I fix the probelm?  I tried to search the source code for the H2PAS tool for this message but could not find it.  Thanks.

Laksen

  • Hero Member
  • *****
  • Posts: 754
    • J-Software
Re: H2PAS error puzzle
« Reply #1 on: August 07, 2010, 06:37:50 pm »
What commandline do you use?

physicsisfun137

  • Newbie
  • Posts: 3
Re: H2PAS error puzzle
« Reply #2 on: August 07, 2010, 09:43:01 pm »
I am using the H2PAS tool in Lazarus.  So I didn't think there was a command line to enter.  I just select the .h files and then click the H2PAS "run" button at the bottom center of the H2PAS dialog.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: H2PAS error puzzle
« Reply #3 on: August 08, 2010, 12:03:16 am »
I am using the H2PAS tool in Lazarus. 
If you're using 0.9.29 Lazarus (or svn version) you could try this tool: http://wiki.freepascal.org/Chelper

physicsisfun137

  • Newbie
  • Posts: 3
Re: H2PAS error puzzle
« Reply #4 on: August 08, 2010, 04:56:02 pm »
Thanks for the suggestion to try CHelper.  I got it but the package failed to install.  Error was
..\extconvdialog.pas(114,117)Error: Wrong number of parameters specified for call to "DoOpenEditorFile"

I have Lazarus 0.9.28.2 which seems to be the latest available.  It is not obvious where to find version 0.9.29.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: H2PAS error puzzle
« Reply #5 on: August 08, 2010, 05:00:32 pm »
I have Lazarus 0.9.28.2 which seems to be the latest available.  It is not obvious where to find version 0.9.29.
you can download 0.9.29 from daily snapshots
« Last Edit: August 08, 2010, 05:04:54 pm by skalogryz »

 

TinyPortal © 2005-2018