Menu

#21 Name conflict

open
nobody
None
5
2007-08-02
2007-08-02
Anonymous
No

C++ Builder VCL Component
When using winspool.h and ComPort in the same project, the line
#define SetPort SetPortA
in winspool.h, causes a Linker error:
Unresolved external '__fastcall CPort::TCustomComPort::SetPortA ...'

Of course this isn't a bug in ComPort, but it is still a problem.

contact cory@babtras.com for more info

Discussion