Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MSComm Control
#5
Quote:I am not familiar with serial port communications, and only can say that the code is correct. Maybe more properties must be set. Does it work in Visual Basic for example?

I still cannot test it. Error (RT) in Macro138: 0x80040112, Class is not licensed for use. Probably it must be installed together with Visual Studio, but I did not select ActiveX controls when installing.
I was afraid it wouldn't work without VB. I've used the control in the past with VB and it worked fine. I'll keep trying.
Quote:You cannot unload type libraries. A type library is loaded when compiling the macro (when you start the macro, or only compile) first time in QM session, and unloaded when QM session ends. Here "QM session" is time while that QM macro list file is loaded.
Does this mean I shouldn't be loading MSCOMM32 at the beginning of my code? Should it be in Init where it'll only get loaded once? It seems with all the QM examples, the libraries get loaded everytime the macro runs. Thanks again.
Matt
Matt B


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)