Hello,
i want to create a windows-DLL with about 20 functions. This works if all functions are in one c-file and
one header-file. But what do i have to do to have for each function an own c-file and header-file?
Currently it looks like this (template):
//C-File:
#include "stdio.h"
#include "string.h"
extern "C"
{
void __declspec (dllexport) __stdcall ReturnText1 (char *text1)
{
strcpy (text1, "hello1");
}
void __declspec (dllexport) __stdcall ReturnText2 (char *text2)
{
strcpy (text1, "hello2");
}
}
********************
//Headerfile
void __stdcall ReturnText1 (char *text1);
void __stdcall ReturnText2 (char *text2);
********************
Thank you very much for your help