Recent posts

#41
Studio/Dialog Editor / Re: Splitter Control goes wron...
Last post by owenwengerd - May 25, 2024, 03:04:00 PM
I'll try to improve the splitter behavior. I can't reproduce the About dialog issue on my US English Windows 10 system. That content comes from License.htm, which is saved in UTF8 with BOM marks, and it looks like your browser control is confused by the BOM marks. I suppose the file could probably be saved without the BOM marks and still work fine. I'll experiment a bit.
#42
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by owenwengerd - May 25, 2024, 01:15:53 PM
Thanks, I found and fixed a bigger leak in several combo types. I'll include the fix in the next release.
#43
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by domenicomaria - May 25, 2024, 08:49:35 AM
and I suppose that a crash that
more or less always happens at the same point
could depend on some memory management problem...
#44
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by domenicomaria - May 25, 2024, 07:50:10 AM
it seems that there are problems with the comboboxes too...

... try to run the attached test...

... unfortunately I can't do many tests (2500)
because after 400 or 500 tests there is a crash !
#45
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by domenicomaria - May 25, 2024, 06:42:01 AM
I loaded and showed this dialog 100 times and calculated the average time taken

and I did this 20 times

and the result is this:

 average : 100
 average : 100
 average : 99
 average : 101
 average : 99
 average : 101
 average : 100
 average : 100
 average : 100
 average : 101
 average : 100
 average : 99
 average : 100
 average : 99
 average : 99
 average : 100
 average : 100
 average : 99
 average : 98
 average : 100


and so, it seems that there is no longer any problem with the Picture Folder

but I agree with you.

There is more.

And I still don't know what it is.

I have to do more tests with other controls.

And I'll let you know

Thanks for everything

ciao
#46
Studio/Dialog Editor / Splitter Control goes wrong
Last post by sysuwzx - May 25, 2024, 03:04:42 AM
When testing  OpenDCL Studio 9.2.3.1 ENU version, i notice something about Splitter Control works not well.
1.  If double click the splitter, the control brower appears, but it shows the palette.
2.  If select the splitter by single click , it won't choose it. It seems the splitter should be chosen by draw a chosen area, just like select objects by a rectangle in AutoCAD.

By the way, in the menu of OpenDCL , if i click the "About OpenDCL" in HELP, the "About OpenDCL" brower shows the first few rows, which seems abnormal.

Following are the images.
#47
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by owenwengerd - May 24, 2024, 10:34:36 PM
Thanks, I found and fixed a small resource leak during (dcl-Project-Load). I'm not sure this leak is the one you're experiencing, but it was the only one I noticed with your test code. Please test the next development build and let me know if you notice any difference.
#48
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by domenicomaria - May 20, 2024, 04:33:41 AM
Hi Owen

Thanks for your attention.

It seems that the problem is caused by the Picture Folder...

Take a look at the attached test
#49
Runtime/AutoLISP / Re: OpenDCL for 2025?
Last post by smithloo - May 17, 2024, 06:53:54 AM
thanks DW for sharing it
#50
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by owenwengerd - May 16, 2024, 09:44:57 PM
There is no way to know the cause without creating a simple reproducible case and investigating it. I suggest to test with a simple dialog containing only copies of one type of control. If the problem does not reproduce, try other controls until the particular control (or controls) is identified. If it happens with any control type, then it could be a memory leak, or just heap fragmentation causing Windows to start paging to disk. There is no way to guess, it has to be investigated.