Search found 821 matches

by Mysoft
Jun 09, 2006 4:11
Forum: Windows
Topic: Blank String (fb bug?)
Replies: 7
Views: 2003

ok thkz, i had much problems with my so and reinstalled it many times, cuz of that i forget to update the freebasic ^^
by Mysoft
Jun 07, 2006 20:09
Forum: Windows
Topic: Blank String (fb bug?)
Replies: 7
Views: 2003

someone else? plz ^^
by Mysoft
Jun 05, 2006 3:34
Forum: Windows
Topic: FB runtime
Replies: 3
Views: 1432

i doesnt know how exactly it works but well at least i guess that fb can include only the routines used in the program and not the entire library. This will help a lot, too
by Mysoft
Jun 05, 2006 1:57
Forum: Windows
Topic: FB runtime
Replies: 3
Views: 1432

FB runtime

hum... why not make one .dll for fb runtime routines? of course only need a updated .dll after every release. including the fbgfx.
cuz 100k for every graphical program, is not good ^^

...greg...
by Mysoft
Jun 04, 2006 14:26
Forum: Windows
Topic: Blank String (fb bug?)
Replies: 7
Views: 2003

ha FB 0.16 updated last time 2 month ago, on windows XP XD garvan... just to know, the correct result when i´m compile with ZSTRING * 500 or STRING * 500 is: Resultados de TESTE.PAS Falta ; na linha 6 Falta ; na linha 14 EOF. (qualquer tecla para sair) the wrong result i get (using STRING) is: Resul...
by Mysoft
Jun 03, 2006 19:04
Forum: Windows
Topic: Blank String (fb bug?)
Replies: 7
Views: 2003

Blank String (fb bug?)

i have this program to find lines that doesnt have ; at end in a .PAS program but in one moment the array NORMAIS is cleared, if i change from STRING to ZSTRING * 500, the problem doesnt occur, i compiled with -exx and there's no runtime errors, plz help (sorry for the bad english, and for the progr...
by Mysoft
Jun 02, 2006 21:15
Forum: Windows
Topic: Math Bug?
Replies: 3
Views: 1526

Math Bug?

this code causes a asm error "suffix or operands invalid for 'imul' "

Code: Select all

dim as integer COUNT
COUNT = 32
print 240+sin(0.01745*COUNT*(rnd*2))*20
sleep
end
if this help... i have compiled with -arch 686

..Greg...
by Mysoft
May 16, 2006 7:07
Forum: Windows
Topic: CreateDIBSection
Replies: 3
Views: 1505

yeah... it works

but the speed without the copydc isnt that best, well, i guess that is the fastes t method to get screen using the gdi... anywayz it uses about 40% of my cpu to get 18 times/sec in 32 bit mode

anywaz thkz TWICE jofers :P
by Mysoft
May 15, 2006 21:30
Forum: Windows
Topic: CreateDIBSection
Replies: 3
Views: 1505

CreateDIBSection

i have this function as part of the code to get a image of the screen... Function CreateImageDCex(Byval ScreenDC as integer,ByVal nWidth As Integer, ByVal nHeight As Integer, Byval BITS as integer) As ImageDC Dim newImageDC As ImageDC newImageDC.hDC = CreateCompatibleDC(screenDC) newImageDC.hBMP = C...
by Mysoft
Apr 08, 2006 1:09
Forum: General
Topic: STRING type is useless :P
Replies: 25
Views: 5620

hum... fragmeister

you can use something like

#define DWORD integer

and on the 64 bit version just change the define ;x
i know that DWORD already defined on windows.bi but i think that DWORD is always 32bit ;x
by Mysoft
Apr 07, 2006 14:54
Forum: General
Topic: STRING type is useless :P
Replies: 25
Views: 5620

ha yeah i know that, but everytime i want to read a block from one file to see as a header i have that problem, but i normally use ZSTRING + LEFT to do the work, but since i discovered that (every string operation need to know the length of the string) i will use pointers and the CRT. And ok since i...
by Mysoft
Apr 07, 2006 4:15
Forum: General
Topic: STRING type is useless :P
Replies: 25
Views: 5620

Yeah... the strncmp of crt works great for me... but i think that it will be a good idea they try to change the STRING extra byte in type...
by Mysoft
Apr 06, 2006 22:55
Forum: General
Topic: STRING type is useless :P
Replies: 25
Views: 5620

ha sorry
yes you're right i tested that :P
hum.... ha i understood now, only in TYPE the string have + 1 char. But i doesnt understand why this char is there. is an internal thing?
eheheheh
i guess that is better i stop asking and check the source :P
by Mysoft
Apr 06, 2006 21:30
Forum: General
Topic: STRING type is useless :P
Replies: 25
Views: 5620

hum... this will help-me but... in the end i think that strings is still useless ^^ cuz qbasic string is different :P (if the reason is compatibility ofcourse)
by Mysoft
Apr 06, 2006 20:06
Forum: General
Topic: STRING type is useless :P
Replies: 25
Views: 5620

STRING type is useless :P

i know that STRINGS have lenght + 1 but... i´m thinking and i have one question: why not made STRINGS = ZSTRINGS and in the case of STRING * 9, use the internal verification until CHR$(0) is found or 9 chars are reading?? i have here one program that need to read a personal TYPE from the file and th...