Comments (6)
这么奇怪?我看 widget_style.h 有导出 Widget_AddTaskByStyle
,widget_style.c 里也有它的定义。
from lcui.
from lcui.
提供一下具体信息:
- dll 是自行编译的还是在 releases 页面下载的?
- 用的哪个版本?
from lcui.
from lcui.
我下载 Releases 页面中的 LCUI-2.2.0_x64-windows.lcpkg.zip 测试了一下。
运行 dumpbin LCUI.lib /EXPORTS
命令输出的内容中有 Widget_AddTaskByStyle
:
编写测试程序直接调用 Widget_AddTaskByStyle()
,能够编译通过:
然而改用你贴的代码后,编译会报错:
在 css_fontstyle.h
前面插入它所依赖的头文件 LCUI/font.h
和 LCUI/gui/css_library.h
后,可编译通过:
复制 exe 和 dll 文件到 dist 目录内:
然后运行 exe 文件,效果如下图所示:
from lcui.
from lcui.
Related Issues (20)
- Modal Window Still Clickable HOT 3
- Text input not working for keys, which are symbol on Shift hold (such as $ or £) HOT 2
- TextEdit 删除文字BUG
- GPU Backend HOT 2
- 老哥,LCUI好像没办法创建多窗口? HOT 2
- 主页上的例子直接编译好多都编译不过去,老哥不改改嘛? HOT 1
- 默认的例子最大化后再最小化,控件都没了。 HOT 1
- Keyboard Input Doesn't Work (Windows x64) HOT 6
- 请问支持C++吗 HOT 1
- C++ 相关问题 HOT 2
- File Dialog? HOT 1
- textedit相关问题 HOT 4
- 希望可以添加对android的支持 HOT 1
- Failed to build on MSYS2 MINGW64 HOT 1
- Please add cmake based build script HOT 1
- Make documentation page open source, for translation HOT 1
- 请问哪里能下载比v0.12.4更早版本的源代码? HOT 1
- 希望能够支持 mac 平台(M1 OR INTEL) HOT 1
- 尝试用 ziglang toolchain 编译LCUI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lcui.