Jonathan Worthington <[EMAIL PROTECTED]> wrote:
> Thanks, that works great.  I now have a .pbc with loadlibs and dlfuncs for
> pretty much the entire Win32 API.

Fine.

> ... The next thing I want to look at is
> constants.  At first I thought I could do something like:-

> .constant MB_YESNOCANCEL 3

> But when I compile the pasm file containing that to a .pbc to use with
> load_bytecode, these constants appear to just get dropped.

Yep. Just generate F<runtime/parrot/include/win32.pasm> or such and put
the constants there. Then C<.include> the file in main.

> Jonathan

leo

Reply via email to