Announcement

Collapse
No announcement yet.

PowerGen Usage

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PowerGen Usage

    I've just started my first PBDLL program using
    PowerGen and DLGEDIT. I've found that Microsoft's
    DLG generates a .H file with equates using C++
    hexadecimal format 0x. These values Are used by
    PowerGen but it outputs PB code that contains the
    orginal format and it is necessary to edit them to
    the &H syntax each time DLG/PowerGen is used.

    Is there any way around this?

  • #2
    Deselect OPTIONS | HEX MODE in DLGEDIT.EXE.



    -------------
    Lance
    PowerBASIC Support
    ( mailto:[email protected][email protected]</A> )
    Lance
    mailto:lanceed[email protected]

    Comment


    • #3
      Thanks. I went back and created a new dialog with the
      hex option off, and the .h file was indeed created with
      decimal values. I had previously created three dialogs
      in the same file with the hex option set ON. I reset it off
      and treid to regenerate them with decimal values. But it
      did not work. Apparently once a .RES file is created with
      hex set ON, it can not be reset. That did not occur to me.

      I will reenter the dialogs and start over. Thanks for your
      help!

      Comment

      Working...
      X