Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to create a fixed back-end DLL for Pantheios logger
    primarykey
    data
    text
    <p>I have a VS 2005 solution that has numerous projects (most are DLL, 1 EXE which is a CppUnit project) and I am trying to add a fixed back-end DLL for the Pantheios logger so that I can use a single logger instance throughout the solution. Following the directions from the below URLs:</p> <ul> <li><a href="https://stackoverflow.com/questions/1460185/use-pantheios-logging-framework-from-a-dll">Use Pantheios logging framework from a dll</a></li> <li><a href="https://sourceforge.net/projects/pantheios/forums/forum/647484/topic/1639420/index/page/1" rel="nofollow noreferrer">https://sourceforge.net/projects/pantheios/forums/forum/647484/topic/1639420/index/page/1</a></li> </ul> <p>I seem to have a fixed back-end DLL that supports basic Pantheios logging statements e.g. <code>log_DEBUG, log_ERROR</code> etc. and even the Tracing API (<a href="http://www.pantheios.org/doc/html/group__group____tracing.html" rel="nofollow noreferrer">http://www.pantheios.org/doc/html/group__group____tracing.html</a>) e.g. <code>PANTHEIOS_TRACE_NOTICE</code>.</p> <p>But I am stuck going forward because Pantheios requires "inserters" (an API to convert fundamental types to string) (<a href="http://www.pantheios.org/doc/html/group__group____application__layer__interface____inserters.html" rel="nofollow noreferrer">http://www.pantheios.org/doc/html/group__group____application__layer__interface____inserters.html</a>) to handle for example int, double, float, pointer etc.</p> <p>I don't know how implement these "inserters" in the fixed back-end DLL that I created. If I simply call them from my other DLLs then I get an error such as this:</p> <p><code>DLLApp.obj : error LNK2019: unresolved external symbol "public: __thiscall pantheios::integer::integer(int,int)" (??0integer@pantheios@@QAE@HH@Z) referenced in function "public: void __thiscall DLLApp::DLLAppSetup(void)" (?DLLAppSetup@DLLApp@@QAEXXZ)</code></p> <p>I am not sure if I can (and need to) export the "integer" (and other inserter) class using the .DEF as mentioned in the sourceforge.net article OR if there is something else I am missing.</p> <p>Any help would be most appreciated. Thanks in advance.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload