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.
--
                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to