Exporting Data from DLL
Posted: Sat Aug 06, 2005 5:53 am
Hi,
i want to translate a plugin from C++ to PureBasic.
Is something like "exporting Data from DLL" possible in Purebasic?
This is the C(++) source i want to translate:
If i get this right, the compiler translates this to a function returning an array??
See "Using __declspec(dllexport) and __declspec(dllimport) on Data":
http://msdn.microsoft.com/library/defau ... ort.29.asp
Any hints?
Thanks.
Flo
i want to translate a plugin from C++ to PureBasic.
Is something like "exporting Data from DLL" possible in Purebasic?
This is the C(++) source i want to translate:
Code: Select all
extern "C" __declspec(dllexport) unsigned long FunctionTable [] =
{
(DWORD) "Name",
(DWORD) "Description",
NULL
};See "Using __declspec(dllexport) and __declspec(dllimport) on Data":
http://msdn.microsoft.com/library/defau ... ort.29.asp
Any hints?
Thanks.
Flo