Search found 80 matches

by nastasa eodor
May 28, 2020 6:52
Forum: Community Discussion
Topic: Kogaion-forum (RqWork7)
Replies: 2
Views: 120

Kogaion-forum (RqWork7)

the new and the best rad-ide for freebasic
see: http://rqwork.de/forum/Upload/index.php
by nastasa eodor
Oct 12, 2019 9:10
Forum: Projects
Topic: new site for freebasic ide
Replies: 0
Views: 927

new site for freebasic ide

by nastasa eodor
Oct 12, 2019 9:09
Forum: Projects
Topic: new site for freebasic ide
Replies: 1
Views: 573

new site for freebasic ide

by nastasa eodor
Sep 28, 2019 18:24
Forum: Windows
Topic: windows api splitbutton example?
Replies: 5
Views: 2348

Re: windows api splitbutton example?

thank you, i've noted the #%$@ trick
by nastasa eodor
Sep 10, 2019 18:23
Forum: Windows
Topic: windows api splitbutton example?
Replies: 5
Views: 2348

windows api splitbutton example?

is there a example(s)?
can't i get correct constant for splitbutton style in windows 7 ...
by nastasa eodor
Sep 05, 2019 13:41
Forum: Community Discussion
Topic: is that right?!
Replies: 15
Views: 5477

Re: is that right?!

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 =...
by nastasa eodor
Aug 29, 2019 20:42
Forum: Community Discussion
Topic: is that right?!
Replies: 15
Views: 5477

Re: is that right?!

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&...
by nastasa eodor
Aug 29, 2019 5:21
Forum: Community Discussion
Topic: is that right?!
Replies: 15
Views: 5477

Re: is that right?!

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 ...
by nastasa eodor
Aug 28, 2019 20:24
Forum: Community Discussion
Topic: is that right?!
Replies: 15
Views: 5477

Re: is that right?!

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...
by nastasa eodor
Aug 28, 2019 19:15
Forum: Community Discussion
Topic: is that right?!
Replies: 15
Views: 5477

Re: is that right?!

D.J.Peters wrote:

Code: Select all

type dummy extends object
end type
type x extends dummy
  z as byte
end type
dim as x ptr y=new x
print y
delete y : y=0
print y
y->z = 10
print y->z
sleep

THANK YOU, BUT SEEMS TO BE A WORK AROUND...IS THE POINTER CLEAN ANF FREE OR IS A FB MESS?
by nastasa eodor
Aug 28, 2019 19:13
Forum: Community Discussion
Topic: is that right?!
Replies: 15
Views: 5477

Re: is that right?!

fxm wrote:Yes, it's right that initial code has a double reason to crash!

THE INITIAL CODE DONT CRASH IN MY MACHINE...WIN7..SEEM NOT CLEAR THE PONTER
by nastasa eodor
Aug 28, 2019 19:11
Forum: Community Discussion
Topic: is that right?!
Replies: 15
Views: 5477

Re: is that right?!

type dummy extends object end type type x extends dummy z as byte end type dim as x ptr y=new x print y delete y : y=0 print y y->z = 10 print y->z sleep Const HEAP_NO_SERIALIZE = &H1 Const HEAP_ZERO_MEMORY = &H8 Declare Function HeapFree Lib "kernel32" Alias "HeapFree" ...
by nastasa eodor
Aug 28, 2019 18:49
Forum: Community Discussion
Topic: is that right?!
Replies: 15
Views: 5477

is that right?!

'''tll me if that right?!

type dummy extends object
end type

type x extends dummy
z as byte
end type


dim as x ptr y=new x

print y

sleep 5000

deallocate y
delete y

print y
y->z = 10

print y->z

sleep

Go to advanced search