Good day,
I got an error I do not understand.
Let me explain what happens. I compile 6 apps fix the errors and link all to one Solution and all is well.
Now the problem when i compile all together in the solution i got one screen and this error.
The screen
and then later this error:
"A circular dependency involving project “invoice” has been detected. (MSB4160) "
Then I compile the app that gave the error again separately and no problem.
All 6 app’s so for compiled is dll’s. there is stil 2 dll’s and one exe to compile.
Can someone please explain to me this combine compile problem ?
That generator error is usually because of a template that has a variable in of the dialogs and that variable name has changed in the dct. The app templates find variables based on a GUID, not name. So you need to go into the template prompts and select the appropriate variable to fix it.
In conversions it can also come from the date and time control templates on a report. They don’t convert well for some reason.
The circular dependency mean that a procedure in DLL A calls a procedure in DLL B which then Calls a procedure in DLL A. Hence the circle. Note there can be be more dlls in the chain there not just 2. The problem here is that the linker can’t resolve the address of the procedures until the dll is compiled, when you have a circle it just can’t, unless you compile everything twice, once to compile and have addresses, second so the linker can find them.
Circle dependencies can also lead to really odd errors link variable freed twice. Not common, but they exist.
Thanks very much. A programmer friend gave me a web link that answer all questions and that brought me to a good understanding of this problem I was not aware of.
Seanh as you explained dit is exactly like you said. Thanks for your comment it assures me of my understanding os correct.
Let me explain my error.
I have two of the apps revering to each other and that is the circular dependency,
Thanks a lot again problem solved by friend.
The link I referred to is https://chatgpt.com/ look it up in google it explains it beautiful.
Thanks again
:Lieb Opperman