aurelVZAB wrote:I hope too,in first place i need small editor for my new interpreter that i can use it without need for scintilla ,well i like it of course..but require one .dll more.
sometimes ago, is about 10 years i wrote a unit for RapidQ called "memory.inc", well right now i translate it for freebasic,so...who want to use it ...get it. the memory.bi code: #include once "windows.bi" #DEFINE WIN_INCLUDEALL #IFNDEF WIN_INCLUDEALL Const HEAP_CREATE_ALIGN_16 =...
ok thank you work around https://drive.google.com/file/d/1W2MGUhPNkplqlN8Q0OArgKl4Z1rECWG3/view?usp=sharing #include once "registerclasses.bas" #include once "core.bas" #include once "classes.bas" #include once "component.bas" #include once "controls.bas&...
I wrote a short article about "How to Manage Dynamic Memory (Allocation / Deallocation) in FB" . thanks fnx but i want to know with "new" what i shoud use to free for real the memory? And once again: type dummy extends object end type type x extends dummy z as byte end type dim ...
You're the programmer. You are the one who knows whether a pointer is "clean" or not. If you can't always make that clear, assign a NULL to the pointer after you delete the memory. I don't see any problem or "mess" with with FB. Having the language set pointers to NULL isn't som...