in reply to Re: Odd scalar behaviour
in thread Odd scalar behaviour
Yes, you understand it correctly. I just wasn't sure how else to get the thread to access the parent object without passing in a reference to the object. (I'm all ears if someone could explain how I could do this in a better way?)
I've just gone with that style, as it is a style that everyone in the office here will understand.
peekMessage is a wrapper around the OLE PeekByLookupId, intended to do a little bit of verification before attempting to access the OLE interface to MSMQ. You appear to be quite right in that it depends on stringification of the ID. I've added an sprintf to peekMessage and it now works perfectly without attempting a print
|
|---|