I try to be more clear:
I can successfully enumerate the composite dual virtual com device on a Win7 64 bit system, using the MS usbser.sys driver: the two COM port are correctly listed on the device manager window.
When I open the first COM port on a terminal program (Hyperterminal), I can send and receive data with no problem: the running application echoes the received characters.
But when I try to open the second COM port, I get the error "Unable to open COMx. Verify port settings" (translated from italian language).
Here is my doubt: When I initialize the CDC class with the USB_Class_CDC_Init function, I pass the references of the endpoints of the first port in the cic_send_endpoint, dic_send_endpoint and dic_recv_endpoint fields. How must I pass the references of the endpoints of the second port? Do I need a second call to USB_Class_CDC_Init function or use a different method?
Many thanks
Teckna