lzha022
asked on
how to export a MACRO in dll
I crreated a DLL and want to export a few MACROs.
eg.
#define ALLOCATE_MEMORY( result , type , number ) \
( (result = ( type *) allocate( ( number ) * sizeof( type ))))
it does not allow me to put '__declspec(dllexport)' in front of #define ...
Could anyone tell me how to solve this?
thanks
eg.
#define ALLOCATE_MEMORY( result , type , number ) \
( (result = ( type *) allocate( ( number ) * sizeof( type ))))
it does not allow me to put '__declspec(dllexport)' in front of #define ...
Could anyone tell me how to solve this?
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks for both of you.