Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MSComm Control
#2
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)