【新增】 tcc环境
This commit is contained in:
13
tcc/examples/dll.c
Normal file
13
tcc/examples/dll.c
Normal file
@@ -0,0 +1,13 @@
|
||||
//+---------------------------------------------------------------------------
|
||||
//
|
||||
// dll.c - Windows DLL example - dynamically linked part
|
||||
//
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
__declspec(dllexport) const char *hello_data = "(not set)";
|
||||
|
||||
__declspec(dllexport) void hello_func (void)
|
||||
{
|
||||
MessageBox (0, hello_data, "From DLL", MB_ICONINFORMATION);
|
||||
}
|
Reference in New Issue
Block a user