摘要:1 void Init() 2 { 3 #pragma startup Init 4 ShowMessage("初始化一些资源"); 5 } 6 7 void Uninit() 8 { 9 #pragma exit Uninit 10 ShowMessage("释放相应的资源"); 11 } Ini
阅读全文
posted @ 2016-02-17 19:55
|
|||
搜索随笔档案
最新评论
|
随笔分类 - C++Builder
摘要:1 void Init() 2 { 3 #pragma startup Init 4 ShowMessage("初始化一些资源"); 5 } 6 7 void Uninit() 8 { 9 #pragma exit Uninit 10 ShowMessage("释放相应的资源"); 11 } Ini
阅读全文
posted @ 2016-02-17 19:55
摘要:1 class TMyProc : public TCppInterfacedObject 2 { 3 private: 4 String p1; 5 String p2; 6 public: 7 TMyProc(St...
阅读全文
posted @ 2015-02-19 01:47
摘要:好久没用BCB了,真的有些陌生了,当然个烂笔头吧。1 先 implib c:\xxx.lib c:\xxx.dll 生成lib文件2 #pragma comment(lib,"xxx.lib")3 extern "C" __declspec(dllimport) __stdcall int AFun...
阅读全文
posted @ 2015-01-03 02:12
摘要:很久没用BCB了, 新装了BCBXE7up1试试了,发现有点找不到北了,好像与BCB6的一些默认设置项不一样,编译了一个空APP,提示找不到bpl 和 dll。 设置为不带包编译后,还是提示DLL找不到, 后来把 option->c++ Linker 中的 link with Dynamic RTL
阅读全文
posted @ 2014-12-16 21:08
|
||
Powered by:
|