TinyC upgrade (#6593)
This commit is contained in:
parent
9c00f6decd
commit
d2c7d391c8
395 changed files with 68184 additions and 32394 deletions
|
|
@ -5,11 +5,9 @@
|
|||
|
||||
#include <windows.h>
|
||||
|
||||
#define DLL_EXPORT __declspec(dllexport)
|
||||
__declspec(dllexport) const char *hello_data = "(not set)";
|
||||
|
||||
|
||||
DLL_EXPORT void HelloWorld (void)
|
||||
__declspec(dllexport) void hello_func (void)
|
||||
{
|
||||
MessageBox (0, "Hello World!", "From DLL", MB_ICONINFORMATION);
|
||||
MessageBox (0, hello_data, "From DLL", MB_ICONINFORMATION);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue