![](/img/trans.png)
[英]Where can I find an introduction to using DUnit with Delphi 2007 or newer?
[英]Where to find string constant srStandard in Delphi 2007?
RegisterComponents
規范並未指出可以在哪個單元中找到常量srStandard
(工具選項板中的“Standard”類別的名稱)。
首先,您需要使您的設計時包“指定”。 然后你可以使用單位DsnConst,它包含srStandard字符串常量。 它並不作為獨立的dcu存在,而是存在於designide包中。 它僅用於設計時包。 它不能在運行時包中使用,因為designide不是可再發行的。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.