如何用wxWidgets 2.8.7 写一个DLL来导出一个UI
如何用wxWidgets 2.8.7 写一个DLL来导出一个UI
各位前辈,经朋友介绍,刚加入这个论坛,心里非常高兴,很高兴认识大家(因为我们都在用wxWidgets)。
我现在用VS2003+wxWidgets2.8.7做一个跨平台的UI,要做成DLL的形式供其他程序使用,但是在编译时出现了批量的连接错误,郁闷ing~~~
附件是我的代码,有兴趣的给看一下问题何在?
哪位兄台有没有现成的例子给参考一下,非常感谢!
我现在用VS2003+wxWidgets2.8.7做一个跨平台的UI,要做成DLL的形式供其他程序使用,但是在编译时出现了批量的连接错误,郁闷ing~~~
附件是我的代码,有兴趣的给看一下问题何在?
哪位兄台有没有现成的例子给参考一下,非常感谢!
- Attachments
-
- wxDLL_App_2.8.7.rar
- 使用wxWidgets2.8.7做一个跨平台的含UI的DLL
- (10.89 KiB) Downloaded 251 times
-
- Knows some wx things
- Posts: 35
- Joined: Sun Nov 12, 2006 4:54 am
可以参考一下我以前写的
http://sourceforge.net/projects/muop-ws
http://sourceforge.net/projects/muop-ws
the question has resolved.
the attachment is the source code, the version of wxWidgets that i used is 2.8.7
the attachment is the source code, the version of wxWidgets that i used is 2.8.7
- Attachments
-
- wxDLL_App_2.8.7.rar
- (10.05 KiB) Downloaded 293 times
楼主的代码的确是只能在Windows下用的。
jnsting,关于你在http://forums.wxwidgets.org/viewtopic.php?p=84375提出的问题,咱们还是在这讨论吧。两个中国人互说英文,还是会有些沟通障碍的
-Utensil
jnsting,关于你在http://forums.wxwidgets.org/viewtopic.php?p=84375提出的问题,咱们还是在这讨论吧。两个中国人互说英文,还是会有些沟通障碍的
-Utensil
In fascination of creating worlds by words, and in pursuit of words behind the world.
On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
windows下和Linux和MAC下的入口是不一样,我现在的代码已经可以运行于windows环境和MAC环境乐,只是在MAC下不能编译出Release版本,原因在于wxWidgets在MAC下的开源代码不提供编译Release版,只有Development/Deployment两个编译选项卡
http://blog.163.com/kevin_fly/
-----我的博客,我的知识库------
-----我的博客,我的知识库------