package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Nov 26, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
¶
自定义加载指定位置的libvcl或者liblcl
要自定义加载dll或者so之类的,需要按照go初始包的规则来做。
Go是按文件名排序的,也就是说要创建一个自定义的包,这个包的文件名必须比以下这个包的
github.com/energye/golcl/lcl 的文件名小,要能在main包里排在这个之前
package main
import "yourpackage" // 必须在自动排序后,排在vcl包之前方能生效。
import "github.com/energye/golcl/lcl"
Documentation
¶
LibPath
获取 lib 动态库目录
优先级
tempDllDir > 当前目录 > 用户目录 > LCL_HOME > ENERGY_HOME
func SetTempDllDir(dir string)
SetTempDllDir 设置内置dll释放后加载目录
Source Files
¶
Click to show internal directories.
Click to hide internal directories.