Hi my plugin project has grown into a huge inconvenient file, so i tried to split it into a number of files. For example i created atcommands.c and atcommands.h
It all compiles just fine, but the map server crashes and I guess its due to missing symbols. Is what im trying to do even possible? I've looked at numerous plugins but all of 'em seems to consist of a .c file and not header files.
Hi my plugin project has grown into a huge inconvenient file, so i tried to split it into a number of files. For example i created atcommands.c and atcommands.h
atcommands.h:
atcommands.c
Then in the "main" plugin file with the HPExport functions put this:
Because the original HPMi->addCommand adds "atcommand_" to the beginning of the atcommand name inorder to call it.
and then i just add this as usual:
It all compiles just fine, but the map server crashes and I guess its due to missing symbols. Is what im trying to do even possible? I've looked at numerous plugins but all of 'em seems to consist of a .c file and not header files.
Edited by akkaShare this post
Link to post
Share on other sites