Hi guys,
I have a logger system for my scripts and project in which I can send errors out to a file. Heres the problem, I have a macro something like this:
Now then, in file 'A' I declare "CLoger Log" and open a file for writting. In file 'B' I need to be able to use my macro (i.e. "WriteMyLog("opps")). In file 'C' I need to be able to do the same.
In file 'B' and 'C' I have tryed to use "extern", 'extern CLoger Log', in hopes that I could use the macro. Also, I have tryed, for example in file 'D':
Display All
Can I bug you guys once again for some help please? How can I get my macro to be used across multiple files in my project?
Thanks,
Sabrina.
PS: I've tryed 101 ways in using "stactic" with "extern" and "#define" with no luck.
I have a logger system for my scripts and project in which I can send errors out to a file. Heres the problem, I have a macro something like this:
Now then, in file 'A' I declare "CLoger Log" and open a file for writting. In file 'B' I need to be able to use my macro (i.e. "WriteMyLog("opps")). In file 'C' I need to be able to do the same.
In file 'B' and 'C' I have tryed to use "extern", 'extern CLoger Log', in hopes that I could use the macro. Also, I have tryed, for example in file 'D':
Source Code
Can I bug you guys once again for some help please? How can I get my macro to be used across multiple files in my project?
Thanks,
Sabrina.
PS: I've tryed 101 ways in using "stactic" with "extern" and "#define" with no luck.