programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

- some questions and possibly a bug

From: ForthCAD <pop_at_forthcad.com>
Date: Sun, 23 Jan 1999 13:12:50 -0800

I have some questions and possibly I have found a bug (SwiftForth 1.50.1)

* A problem when using Dll import words:

>AS MyBeep 1 IMPORT: MessageBeep \ OK

>0 MyBeep drop \ !!! MyBeep - NOT FOUND !!!

>0 MessageBeep drop \ OK

* How to call directly a WindowProc adress of a DLL function ?

  I want to do something such as...

>GETWINPROC: MessageBeep VALUE BeepAddr

  ...and later

    0 1 BeepAddr CALLPROC drop

  The same in a definition...

>: ABEEP ( -- )
        [GETWINPROC:] MessageBeep >R
        ......
        0 1 R> CALLPROC drop ;

With best regards from Belgium
Charles Melice

Bureau d'Etudes Informatique MELICE SPRL
Zoning Industriel
B-5650 CHASTRES
Belgium
Phone/Fax: 00 32 (0)71 614 842
e-mail: mail_at_forthcad.com

.
Received on Sat Jan 23 1999 - 13:12:50 PST

This archive was generated by hypermail 2.2.0 : Thu Nov 20 2008 - 03:04:27 PST