可
可爱
Unregistered / Unconfirmed
GUEST, unregistred user!
1.我有*.fon的字体文件,我要用delphi写一个程序将这字体加到里,怎么写
2. if OpenDialog1.Execute then
addfontresource(OpenDialog1.Filename);
和if OpenDialog1.Execute then
copyfile(OpenDialog1.Filename,'C:/WINDOWS/Fonts/'+ExtractFileName(OpenDialog1.Filename),true)
都有错误,是怎么回事
2. if OpenDialog1.Execute then
addfontresource(OpenDialog1.Filename);
和if OpenDialog1.Execute then
copyfile(OpenDialog1.Filename,'C:/WINDOWS/Fonts/'+ExtractFileName(OpenDialog1.Filename),true)
都有错误,是怎么回事