how to create VSPAX dynamically(Read 13396 times)
how to create VSPAX dynamically on: May 07, 2008, 09:25:22 AM
Borland C++builder 6 VCL application, vspax-demo6, how to create vsp dynamically by code?

Put vsp in a form and create the form dynamically maybe will consume a lot of resources, are there other good ideas?



Re: how to create VSPAX dynamically Reply #1 on: May 07, 2008, 11:46:36 AM
To create virtual serial port dynamically, please execute new TVSPortAx.

To know more about how to create virtual serial port dynamically, please refer to the Manual for your IDE.



Re: how to create VSPAX dynamically Reply #2 on: May 07, 2008, 12:26:03 PM
"new TVSPortAx(...)" return new vsp successfully, but failed to CreatePort("another_name") later. It seems something inside TVSPortAx not initialized.

I know it is not problem of vsp, but using ActiveX is difficult, need to learn a lot of documents.

Very appreciate If you can provide a sample.



Re: how to create VSPAX dynamically Reply #3 on: May 08, 2008, 09:36:13 AM
I kindly ask you to look at our compiled example, which goes along with trial version download:

Start -> All programs -> Eltima Software -> Virtual Serial Port ActiveX Control DEMO -> Development Samples -> VC6



Re: how to create VSPAX dynamically Reply #4 on: May 08, 2008, 12:05:01 PM
Sorry for my errors.

"new VSPAX(form)" is OK now.

My previous error is due to "new VSPAX(hwnd_of_form)" according to declaration in ...ocx.h.

thank you!





Re: how to create VSPAX dynamically Reply #5 on: May 12, 2008, 10:12:41 AM
Please, don't hesitate to ask for technical help from me. We will be glad to provide you with Technical support.



 

Sitemap 1 2 3 4 5