Regarding the creation of the Borland C development library, I would like to consult ecurb,
I made a function to display Chinese characters and generated the library .h and the reference as follows:
#ifndef __TCCH_H__
#define __TCCH_H__
int FontColor; // Font color
int FontLocaX; // X-axis coordinate
int FontLocaY; // Y-axis coordinate
int PrintHZ(char *p);
#endif
In another .CPP, this is referenced
PrintHZ("Chinese people");
, during compilation, the following error occurs as shown in the following figure: (Note: If the file name is changed to .C, it can be compiled successfully, but it does not display. But if the function is directly copied to .cpp or .c, it is all okay)

I made a function to display Chinese characters and generated the library .h and the reference as follows:
#ifndef __TCCH_H__
#define __TCCH_H__
int FontColor; // Font color
int FontLocaX; // X-axis coordinate
int FontLocaY; // Y-axis coordinate
int PrintHZ(char *p);
#endif
In another .CPP, this is referenced
PrintHZ("Chinese people");
, during compilation, the following error occurs as shown in the following figure: (Note: If the file name is changed to .C, it can be compiled successfully, but it does not display. But if the function is directly copied to .cpp or .c, it is all okay)
欢迎光临happyBASIC小站:http://yxbasic.51.net

DigestI
www.ecgui.com