Help to design logging | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help to design logging

Hi I have an exe which calls two different functions.. For simplicity, let's name those three projects. Exe application is named as Main.exe which calls a.dll and b.dll What I am doing over here in main.exe is creating a thread object of mfc for logging the details.... Now same thread object is required to use from a.dll and b.dll as well... How can I achieve this functionality? Is there a way to pass the object of exe to DLL ? Any suggestions most welcome.. feel free to suggest all your views and ask for any clarification in problem statement

9th Aug 2021, 9:22 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
1 Answer
0
Thank you
11th Aug 2021, 8:15 PM
Ketan Lalcheta
Ketan Lalcheta - avatar