My question is, how is any form of code implemented into the skeleton, and sent out? Here is the template.
CODE
#ifndef _DLL_H_
#define _DLL_H_
#if BUILDING_DLL
# define DLLIMPORT __declspec (dllexport)
#else /* Not BUILDING_DLL */
# define DLLIMPORT __declspec (dllimport)
#endif /* Not BUILDING_DLL */
DLLIMPORT void HelloWorld (void);
#endif /* _DLL_H_ */
#define _DLL_H_
#if BUILDING_DLL
# define DLLIMPORT __declspec (dllexport)
#else /* Not BUILDING_DLL */
# define DLLIMPORT __declspec (dllimport)
#endif /* Not BUILDING_DLL */
DLLIMPORT void HelloWorld (void);
#endif /* _DLL_H_ */
I'm to GUESS that dllexport exposes the code to apps, but I think in order to get me on the right track I need to ask a reworded question. If I write a script, where would it go and how would it's returned value go to dllexport? Is that by using return in main?
I have novice experience in C and can understand basic scripts, but am just starting on this. Please explain this to me so I can understand it?