我在网上下载了个能实现“繁简转换”的函数包c.pas,我将其在delphi中安装成功了。cvcode.pas 的前几句是
unit CVCode;
interface
function GBtoBIG5(value: string): string;我在程序中这样调用
uses .............................,cvcode;
type
TForm1 = class(TForm)
cvcode1:Tcvcode;
private
function cvcodeGBtoBIG5(value: string): string;
可是在"cvcode1:Tcvcode"一句处总是提示"[Error] Unit1.pas(11): Undeclared identifier: 'Tcvcode'
明明我已经声明cvcode了为什么还是错呀?
请问如果我想调用其中的函数GBtoBIG5(value: string): 除了在uses 中包含cbcode外,我还应该怎么调用呀?
unit CVCode;
interface
function GBtoBIG5(value: string): string;我在程序中这样调用
uses .............................,cvcode;
type
TForm1 = class(TForm)
cvcode1:Tcvcode;
private
function cvcodeGBtoBIG5(value: string): string;
可是在"cvcode1:Tcvcode"一句处总是提示"[Error] Unit1.pas(11): Undeclared identifier: 'Tcvcode'
明明我已经声明cvcode了为什么还是错呀?
请问如果我想调用其中的函数GBtoBIG5(value: string): 除了在uses 中包含cbcode外,我还应该怎么调用呀?
解决方案 »
- TFormSkin这个控件谁有?发我一下。先谢
- 数组相关问题
- 如何发送一个点击消息给目标程序Tlistview的第一个ITEM
- 如何更新与dbgrideh邦定的dataset的值
- MDI窗体中有什幺方法可以使DLL子窗体的菜单融合。
- 做《传奇》或是其他游戏外挂的朋友请进
- 在delphi中如何将数据库(paradox)进行压缩,如同fox中的pack?
- COM+分布式的基础问题。请高手帮个忙!!!!
- 为什么安装了天网防火墙,REALPLAY就不能在线播放了??
- 为什么使用ServerSocket接收数据时,服务器端总要重启一边,而客户端程序没有问题
- &&&&&&&&&高手帮忙改进一下这个控件&&&&&&&&&&&&&&
- 请教各位大虾!
procedure TForm1.Button1Click(Sender: TObject);
begin
GBtoBIG5('asdf');
end;不要别的东西就可以了