Kevin Decker
New Member
I am using Progress V9.1C18, Procedure Editor, Win 2000.
I have written an application to ouput data to an Elton Orion tag printer. My application uses sample code submitted by Chris Schriber which used Kernel32.dll to output data to serial ports. This has worked without fail for Win 95 & 98, but fails when used with Win 2000. I have narrowed it down to Kernel32's GETCOMMSTATE. On Win 2000, GETCOMMSTATE is always returning a 0. I have researched this function on the MS web page, but found nothing helpful. I suspect the DCB Structure is different for Win 2000 than it is for Win 95.
I would appreciate any ideas which might help.
Thanks,
Kevin
I have written an application to ouput data to an Elton Orion tag printer. My application uses sample code submitted by Chris Schriber which used Kernel32.dll to output data to serial ports. This has worked without fail for Win 95 & 98, but fails when used with Win 2000. I have narrowed it down to Kernel32's GETCOMMSTATE. On Win 2000, GETCOMMSTATE is always returning a 0. I have researched this function on the MS web page, but found nothing helpful. I suspect the DCB Structure is different for Win 2000 than it is for Win 95.
I would appreciate any ideas which might help.
Thanks,
Kevin