mrfearless / RadASM2

RadASM v2
355 stars 70 forks source link

Custom controls >= 15 sometimes crashes RadASM #7

Open mrfearless opened 6 years ago

mrfearless commented 6 years ago

Temp fix is to delete the custom controls (RAxxxxx.dll's) from RadASM folder, edit RadASM.ini to specify exactly the custom controls you wish to load if total number is 15 or higher, in an effort to lower the total amount to <15.

Otherwise have observed crashes.

Added code after WinMain call, which loops through custom controls and unloads them - increased loop count up to 32 and used a constant to define that no hoping to increase the total controls that can be loaded - which also used in allocating mem for amount of controls later on in tools.asm (i think)

Could be the addition of the constant has upset the positioning of other const/vars (which radasm warns about not inserting, but adding instead, in comments where they are defined) or something else i overlooked.