I'm quite shure that a few weeks ago I read in this forum a hint about how to avoid interference between DLLs using same INC files. This is the first time that such a noticable bug occurs with my code during the last years.
In my special case, I notice a phenomene with rubberbanding. In my CAD programm, I use vector based rubberbanding with either a line or a continuous line or any other primary entity. I don't use any Windows API based rubberbanding. My program is quite large and works with one EXE and about 120 more or less small DLLs. So, bugs could be handled quickly - normally. But there exist two DLLs with completely different tools, one using a continuous line for rubberbanding as closed polygon, the other as an open polygon. After the first DLL code with the closed Polygon is executed and the second one afterwards, invoking the second DLL after the first one shows just the last state of the closed rubberbandig polygon instead of starting with the new open polygon. There is nothing left from rubberbanding objects after a DLL's code was executed. Sorry for the long explanation, but I think that there are parts of old code still resident in memory and addressed by the new DLL.
So my question is if anyone could tell me where to find the PB code i read about to avoid such interference.
In my special case, I notice a phenomene with rubberbanding. In my CAD programm, I use vector based rubberbanding with either a line or a continuous line or any other primary entity. I don't use any Windows API based rubberbanding. My program is quite large and works with one EXE and about 120 more or less small DLLs. So, bugs could be handled quickly - normally. But there exist two DLLs with completely different tools, one using a continuous line for rubberbanding as closed polygon, the other as an open polygon. After the first DLL code with the closed Polygon is executed and the second one afterwards, invoking the second DLL after the first one shows just the last state of the closed rubberbandig polygon instead of starting with the new open polygon. There is nothing left from rubberbanding objects after a DLL's code was executed. Sorry for the long explanation, but I think that there are parts of old code still resident in memory and addressed by the new DLL.
So my question is if anyone could tell me where to find the PB code i read about to avoid such interference.
Comment