> At 11:01 PM +0000 1/11/04, Jonathan Worthington wrote: > >Hi, > > > >In t/examples/pni/win32api.t I have this:- > > > > # Load user32.dll library and the MessageBoxA API. > > .sym var libuser32 > > .sym var MessageBoxA > > loadlib libuser32, "user32" > > dlfunc MessageBoxA, libuser32, "MessageBoxA", "llttl" > > > >Which used to work fine, however now I get:- > > > >error:imcc:Unknown PMC type 'var' > > > >What should I now be using in place of var? > > That ought to be: > > .local pmc libuser32 > > though it looks like ".sym pmc" might work. > > Switching over from .sym to .local is probably the right thing to do, though. Thanks - and here's a patch.
Jonathan
win32api.imc.diff
Description: Binary data