07-25-2005, 04:23 PM
In COM and Visual Basic, Boolean type is two bytes, same as word in QM. True is 0xffff. To pass True from QM (by value), use 0xffff or TRUE or -1. To pass a boolean value by reference (when that argument is declared with &), at first declare a variable of type word.
I wanted to test this component, but did not find MSCOMM32.ocx on my computer.
When you type . after c, you should see events (lightning icons) in the list. When you double click an event, event handler function is created, and _setevents is inserted.
To receive events, that thread must stay running and able to process messages. Read more about events in the QM Help.
I wanted to test this component, but did not find MSCOMM32.ocx on my computer.
When you type . after c, you should see events (lightning icons) in the list. When you double click an event, event handler function is created, and _setevents is inserted.
To receive events, that thread must stay running and able to process messages. Read more about events in the QM Help.