I am trying to create a stand-alone Windows application in J.
The appliation is entirely self-contained, and does not require
any of the J standard libraries. It only uses the windows driver.

I am currently launching j.exe via "j.exe -jprofile script.ijs"
but I would rather have a stand-alone executable that directly
invokes j.dll without j.exe, if that is possible.

The script contains:
  value=:42
  11!:0'mb Title Begin mb_iconexclamation mb_ok'
  value=:73

I can sucessfully load and call j.dll. However,
JDo returns 3 (domain error), and JGetM retrieves value=42,
indicating that the script runs, but the Windows driver 11!:0 fails.
This script operates correctly if loaded from within a J session,
or from within j.exe as above.

Does this mean that the Windows driver is not available when
running j.dll directly? I tried to find some information about this
by searching the web site and the wiki, but couldn't find anything
that was on point.

-- Mark D. Niemiec <[email protected]>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to