I need to overload Dll Exported function, and the problem i'm getting is thet the compiller says only one overloaded function can be "C", how can i do this ?
extern "C" __declspec(dllexport) __stdcall void CreateCustomers(TComponent *Owner);
this is the original declaration, i'm tying to overload it so here is the heder i'm compiling
#ifndef DllH
#define DllH
#include "CustomersForm.h"
extern TCustomersF* DllCustomers;
extern "C" __declspec(dllexport) __stdcall void CreateCustomers(TComponent *Owner);
extern "C" __declspec(dllexport) __stdcall void CreateCustomers(TComponent *Owner, AnsiString Caprion);
//---------------------------------------------------------------------
#endif