Documentation ¶
Index ¶
- Variables
- func CreateShortCut(...) bool
- func CreateURLShortCut(aDestPath, aShortCutName, aURL string)
- func Exclude(in interface{}, val ...uint8) uint32
- func ExtractFilePath(filename string) string
- func FileExists(filename string) bool
- func GetStringArrOf(p uintptr, index int) string
- func InSets(in interface{}, s uint32) bool
- func Include(in interface{}, val ...uint8) uint32
- func LcLLoaded() bool
- func MainInstance() uintptr
- func Move(src, dest uintptr, llen int)
- func SetPropertySecValue(instance uintptr, propName, secPropName, value string)
- func SetPropertyValue(instance uintptr, propName, value string)
- func SetReportMemoryLeaksOnShutdown(v bool)
- func ShortCutToText(val types.TShortCut) string
- func StrLen(str uintptr) int
- func SysOpen(filename string)
- func TextToShortCut(val string) types.TShortCut
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SysLocale 本地化相关 SysLocale types.TSysLocale )
Functions ¶
func CreateShortCut ¶ added in v1.1.21
func CreateShortCut(aDestPath, aShortCutName, aSrcFileName, aIconFileName, aDescription, aCmdArgs string) bool
CreateShortCut
CN: 创建一个快捷方式 EN: Create a shortcut 1. rtl.CreateShortCut("C:\\Users\\administrator\\Desktop\\", "govcl", os.Args[0], "", "", "") 2. rtl.CreateShortCut("C:\\Users\\administrator\\Desktop\\", "govcl", os.Args[0], "", "Description text", "-a -b")
func CreateURLShortCut ¶ added in v1.1.21
func CreateURLShortCut(aDestPath, aShortCutName, aURL string)
CreateURLShortCut
CN: 创建一个url的快捷方式 EN: Create a shortcut to a URL rtl.CreateURLShortCut("C:\\aaa\\bbb\\", "govcl", "https://github.com/ying32/govcl")
func GetStringArrOf ¶
GetStringArrOf 从一个Delphi/Lazarus字符串数组获取成员
func SetPropertySecValue ¶ added in v1.1.21
SetPropertySecValue 设置对象二级属性
func SetPropertyValue ¶ added in v1.1.21
SetProperty SetPropertyValue 设置对象属性
func SetReportMemoryLeaksOnShutdown ¶
func SetReportMemoryLeaksOnShutdown(v bool)
SetReportMemoryLeaksOnShutdown 程序结束时报告内存泄露,总有2-4字节的未知泄露位置
func ShortCutToText ¶
ShortCutToText 将ShortCut类型转为字符串
func TextToShortCut ¶
TextToShortCut 将字符串转为ShortCut类型
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.