http://blog.163.com/xd8171@126/blog/static/62081043200910179332166/
http://topic.youkuaiyun.com/t/20061118/18/5168153.html
The DLL will not use the same classes as the main program even when compiled from the same source. Objects will look the same, but their classes will not compare equal. That 's why assigning a TFont value from the DLL to a TFont property in the main program (or the other way around) doesn 't work: the Assign procedure is looking for the main program 's TFont class, and never recognises the DLL 's TFont object.
关于Dll中“cannot assign a tfont to a tfont ”问题
最新推荐文章于 2022-08-12 01:10:21 发布