Search found 107 matches

by buzzqw
Tue Aug 30, 2011 7:35 pm
Forum: Coding Questions
Topic: [PB4.6B4] OSversion()
Replies: 6
Views: 1832

Re: [PB4.6B4] OSversion()

thanks ts-soft!

the help manual abot osversion don't mention this "compilerdirectives"


BHH
by buzzqw
Mon Aug 29, 2011 1:10 pm
Forum: Coding Questions
Topic: [PB4.6B4] OSversion()
Replies: 6
Views: 1832

[PB4.6B4] OSversion()

try this code on a Windows machine (tested on win7)

If OSVersion()<=#PB_OS_Linux_Future
MessageRequester("OS","Linux")
EndIf

get the same message if executing

If OSVersion()<=#PB_OS_Windows_Future
MessageRequester("OS","Windows")
EndIf

the first command should be true only on a Linux box ...
by buzzqw
Wed Dec 15, 2010 5:02 pm
Forum: Coding Questions
Topic: Optimizing findstring
Replies: 6
Views: 1775

Re: Optimizing findstring

here the full code http://www.64k.it/andres/data/Varie/findstring.rar (3kb)

sorry pal but code is in italian

in fist string field you put the first csv
in second string the second csv

"salva log" mean "save log" where analysis file is done
"avvia analisi" mean start analisys

BHH
by buzzqw
Wed Dec 15, 2010 4:31 pm
Forum: Coding Questions
Topic: Optimizing findstring
Replies: 6
Views: 1775

Re: Optimizing findstring

very fascinating ... but over my understanding


Procedure TUNEDBM(Start.l,Array Source.a(1), Array Pattern.a(1))
Protected.i i, j, m, n, k, match, shift
Protected.i Dim bmBc(255)
m = ArraySize(Pattern())
n = ArraySize(Source())
; Preprocessing
preBmBc(Pattern(), bmBc())
shift = Max(bmBc ...
by buzzqw
Wed Dec 15, 2010 4:02 pm
Forum: Coding Questions
Topic: Optimizing findstring
Replies: 6
Views: 1775

Optimizing findstring

Hi all!

first of all i must admin that i am not a programmer in any way! but i enjoying using purebasic for automatizing simply task

i have to check 2 cvs of several thousand hundred lines, i must read a line in file A and check in file B if i found/not found some parameters

this is a snippet of ...
by buzzqw
Sat Jul 11, 2009 10:20 am
Forum: Off Topic
Topic: VirtualDub weirdness
Replies: 6
Views: 1644

maybe due to overlay?

you can check disabling overlay on Optiond, Preferences, Overlay

BHH
by buzzqw
Tue Mar 10, 2009 5:29 pm
Forum: Applications - Feedback and Discussion
Topic: PureMemory Deluxe
Replies: 32
Views: 13040

just to say that run fine on wine too!

thanks!

BHH
by buzzqw
Fri Feb 27, 2009 4:16 pm
Forum: Linux
Topic: Using PureBasic (32bit) on 64bit Linux
Replies: 12
Views: 55659

using standard ide debugger or "Standalone ide debugger" i got a simple "The debugger executable quit enexpectedly"

just compiling a messagerequester("","kk")

without debugger i have no prob

BHH
by buzzqw
Fri Feb 27, 2009 3:30 pm
Forum: Linux
Topic: Using PureBasic (32bit) on 64bit Linux
Replies: 12
Views: 55659

maybe i have installed more than due... but was a long processing in degugging (like missing crt1.0, libpng, libgio-2...)

BUT on my Fedora 10 64bit i was able to compile !!!! YESS!!!

this is the list of package installed

yum install libX11-devel.i386 gtk2-devel gtk2-devel.i386 SDL-devel SDL-devel ...
by buzzqw
Sun Feb 01, 2009 2:54 pm
Forum: General Discussion
Topic: FFMPEG exits too fast!
Replies: 2
Views: 2896

you can read ffmpeg output without big problem
wait=RunProgram("ffmpeg.exe"," -version ","",#PB_Program_Open|#PB_Program_Error|#PB_Program_Hide)

While ProgramRunning(wait)

line.s=ReadProgramError(wait)

If FindString(line.s,"FFmpeg version",0)

debug("Using "+StringField(line.s,1 ...
by buzzqw
Wed Jan 28, 2009 5:04 pm
Forum: Coding Questions
Topic: Struck with "Invadid memory access"
Replies: 4
Views: 1286

GREAT!!!!!!!!!!!!!!!!

THANKS A LOT freak!

BHH
by buzzqw
Wed Jan 28, 2009 10:23 am
Forum: Coding Questions
Topic: Struck with "Invadid memory access"
Replies: 4
Views: 1286

sorry ts-soft but i don't understud your suggestion

why i should close my main window ?

BHH
by buzzqw
Wed Jan 28, 2009 9:28 am
Forum: Coding Questions
Topic: Struck with "Invadid memory access"
Replies: 4
Views: 1286

Struck with "Invadid memory access"

hi all

i have some problem with "invalid memory access"

with previus version of pb 4.30 beta i don't have this error

but with official 4.30 (win 32bit) i am stuck :(

i don't ask to debug the ugly spaghetti code, it's my first program, started over two years ago.., now i code better :p

please ...
by buzzqw
Sun Jan 18, 2009 1:18 pm
Forum: Linux
Topic: Compiling 32bit application on 64bit Linux
Replies: 4
Views: 3163

it's already an answer! :D

if you need a beta tester, here i am :)

BHH
by buzzqw
Sun Jan 18, 2009 10:12 am
Forum: Linux
Topic: Compiling 32bit application on 64bit Linux
Replies: 4
Views: 3163

Compiling 32bit application on 64bit Linux

Hi all

simply and direct question:

any ETA for PureBasic compatibility on 64bit Linux OS?

when will be possible to compile full 32 (or 64) bit application (console/gui/...) on 64bit Linux ?

BHH

P.S. just donated for this cause :)
P.S.S. I hope that many and more will support this cause! :D