
Anyone worked with CommInput and CommOutput Functions?
Well, I am working on a program which uses a voice modem to be an answering
machine. Those voice modems work with data compression, and what my program has
to do, as a kind of basic task, is to exchange this data with the COMM port.
Visual Basic includes the Communication Control, which has property values
which contain the data which is in the Output or Input buffer. This data is
internally stored as a Null-Terminated-String. Since the data-compression used
contains ZERO's I cannot use those properties. However, there are two functions
included in MSCOMM.VBX named CommInput and CommOutput. Has anybody used them?
Where can I get the pointer to the data block to transmit or receive from?
Visual Basic itself does not give the possibility to access directly to memory.
Which functions can I use to get the pointer to a Visual Basic value. In which
DLL can I find them?
Many thanks in advance!
Ralf
P.S. The project is about to fail without help... or do I have to change
programming language?