|
happybasic
中级用户
  
积分 298
发帖 118
注册 2006-3-1
状态 离线
|
『第 31 楼』:
使用 LLM 解释/回答一下
关于borland C开发库的制作,请教ecurb,
我做了一个显示汉字函数,并生成库.h与引用如下:
#ifndef __TCCH_H__
#define __TCCH_H__
int FontColor; //字体色彩
int FontLocaX; //x轴坐标
int FontLocaY; //y轴坐标
int PrintHZ(char *p);
#endif
在另外一个.CPP中此引用
PrintHZ("中国人");
, 编译时则会出现如下图的error: (注若将文件名改为.C结尾,则可以编译成功,但显示不出来, 但将函数直接copy到.cpp or .c中都是可以的)

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)

|

欢迎光临happyBASIC小站:http://yxbasic.51.net |
|
2007-5-24 21:45 |
|
|
happybasic
中级用户
  
积分 298
发帖 118
注册 2006-3-1
状态 离线
|
『第 32 楼』:
使用 LLM 解释/回答一下
关于borland C开发库的制作,请教ecurb,
我做了一个显示汉字函数,并生成库.h与引用如下:
#ifndef __TCCH_H__
#define __TCCH_H__
int FontColor; //字体色彩
int FontLocaX; //x轴坐标
int FontLocaY; //y轴坐标
int PrintHZ(char *p);
#endif
在另外一个.CPP中此引用
PrintHZ("中国人");
, 编译时则会出现如下图的error: (注若将文件名改为.C结尾,则可以编译成功,但显示不出来, 但将函数直接copy到.cpp or .c中都是可以的)

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("中国人");
, during compilation, the following error occurs as shown in the picture: (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 |
|
2007-5-24 21:45 |
|
|
happybasic
中级用户
  
积分 298
发帖 118
注册 2006-3-1
状态 离线
|
|
2007-5-31 19:32 |
|
|
ecurb2006
中级用户
   www.ecgui.com
积分 272
发帖 123
注册 2006-9-23
状态 离线
|
『第 34 楼』:
Borland编译器制作库
使用 LLM 解释/回答一下
由于个人爱好,喜欢使用命令行编译器,而不是开发环境。
这里以简单的例子说明,希望对happybasic有帮助(这几日有点忙,不好意思)
1.首先编译函数库。
文件 a.c
int fun(void)
{return 0;}
文件 a.h
int fun(void);
bcc -c a.c
2.建立二进制库
tlib a.lib +a.obj
Due to personal hobbies, I like to use the command-line compiler instead of the development environment.
Here, a simple example is used to illustrate, hoping to be helpful for happybasic (I've been a bit busy these days, sorry)
1. First, compile the function library.
File a.c
int fun(void)
{return 0;}
File a.h
int fun(void);
bcc -c a.c
2. Create the binary library
tlib a.lib +a.obj
|

eCGUI-微型嵌入式GUI/ DOS/Linux/uC/OS-II/等 图形界面开发
www.ecgui.com
|
|
2007-6-1 18:42 |
|
|
stockghost
中级用户
  
积分 215
发帖 105
注册 2007-6-2
状态 离线
|
『第 35 楼』:
使用 LLM 解释/回答一下
很好,下来看看,谢谢楼主.
Great, let's take a look below. Thanks to the楼主.
|
|
2007-6-4 20:59 |
|
|
lixun305
初级用户
 
积分 21
发帖 11
注册 2007-6-8
状态 离线
|
|
2007-6-8 10:43 |
|
|
allis8
新手上路

积分 16
发帖 8
注册 2007-6-8
状态 离线
|
|
2007-6-8 23:58 |
|
|
happybasic
中级用户
  
积分 298
发帖 118
注册 2006-3-1
状态 离线
|
|
2007-6-18 07:12 |
|
|
ecurb2006
中级用户
   www.ecgui.com
积分 272
发帖 123
注册 2006-9-23
状态 离线
|
『第 39 楼』:
sdk4dos开发包news.txt
使用 LLM 解释/回答一下
2007-6-23 增加退出函数。
void QuitWindow(HAND hd); /* hd 为当前窗口的HAND句柄 */
Added quit function on 2007-6-23.
void QuitWindow(HAND hd); /* hd is the HAND handle of the current window */
|

eCGUI-微型嵌入式GUI/ DOS/Linux/uC/OS-II/等 图形界面开发
www.ecgui.com
|
|
2007-6-23 13:29 |
|
|
yueluck
初级用户
 
积分 32
发帖 14
注册 2007-6-14
状态 离线
|
『第 40 楼』:
开发手册?
使用 LLM 解释/回答一下
好象开发手册内容不是很全面,我们该怎么用?
It seems that the content of the development manual is not very comprehensive. How should we use it?
|
|
2007-7-7 09:20 |
|
|
ecurb2006
中级用户
   www.ecgui.com
积分 272
发帖 123
注册 2006-9-23
状态 离线
|
|
2007-7-30 12:52 |
|
|
ecurb2006
中级用户
   www.ecgui.com
积分 272
发帖 123
注册 2006-9-23
状态 离线
|
『第 42 楼』:
可以参考开发包中的例子
使用 LLM 解释/回答一下
加入 应用开发QQ群 17440530
有任何疑问可以发邮件给我 ecurb2006 # gmail.com
Join the application development QQ group 17440530
If you have any questions, you can email me at ecurb2006 # gmail.com
|

eCGUI-微型嵌入式GUI/ DOS/Linux/uC/OS-II/等 图形界面开发
www.ecgui.com
|
|
2007-7-30 12:56 |
|
|
ecurb2006
中级用户
   www.ecgui.com
积分 272
发帖 123
注册 2006-9-23
状态 离线
|
『第 43 楼』:
修正CheckBox及Tab支持
使用 LLM 解释/回答一下
修正CheckBox及Tab支持
使CheckBox可以接受键盘操作(空格),还有 焦点 的响应
Correct CheckBox and Tab support
Make CheckBox accept keyboard operations (space) and focus response
|

eCGUI-微型嵌入式GUI/ DOS/Linux/uC/OS-II/等 图形界面开发
www.ecgui.com
|
|
2007-7-30 12:59 |
|
|
ecurb2006
中级用户
   www.ecgui.com
积分 272
发帖 123
注册 2006-9-23
状态 离线
|
『第 44 楼』:
DJGPP版本基本完成,预计明天晚上就可以上传了
使用 LLM 解释/回答一下
屏幕分辨率:640*480
颜色:256色
(ps:可能会有一些显卡不兼容)
API 与16位版本保持兼容.
微型嵌入式GUI应用开发QQ群 17440530
有什么建议或者想法,请发邮件 ecurb2006#gmail.com
MSN:ecurb2006#hotmail.com
Screen resolution: 640*480
Color: 256 colors
(ps: Some video cards may be incompatible)
The API is compatible with the 16-bit version.
Micro embedded GUI application development QQ group 17440530
For any suggestions or ideas, please send an email to ecurb2006#gmail.com
MSN: ecurb2006#hotmail.com
|

eCGUI-微型嵌入式GUI/ DOS/Linux/uC/OS-II/等 图形界面开发
www.ecgui.com
|
|
2007-8-8 19:11 |
|
|
ecurb2006
中级用户
   www.ecgui.com
积分 272
发帖 123
注册 2006-9-23
状态 离线
|
|
2007-8-11 22:38 |
|