library help
im trying to create a custom class library (dll) file that i can add as a reference to any project
for example if in the library if i set it up like so
i could call this function in my c++ project using this line
can someone explain a good way to accomplish this? I Know how to pass the class or a certain function itself but what about the defines?
for example if in the library if i set it up like so
Code:
typedef void (*AtomCmd_t)(int clientNum, int type, const char *text); AtomCmd_t mycmd = (AtomCmd_t)0x48573842;
Code:
mycmd(1,mytype,"Text here");

statements retracted.