Search found 1232 matches

by jj2007
Nov 08, 2019 13:57
Forum: Beginners
Topic: Why UBound doesnt take into account 0 reporting array size?
Replies: 6
Views: 181

Re: Why UBound doesnt take into account 0 reporting array size?

dim array1(10) As integer print "LB=";LBound(array1) print "UB=";UBound(array1) dim array2(5 to 10) As integer print "LB=";LBound(array2) print "UB=";UBound(array2) LB= 0 UB= 10 LB= 5 UB= 10 So far, so good - but I vaguely remember to have read that FB arrays...
by jj2007
Nov 07, 2019 7:03
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated November 7, 2019)
Replies: 592
Views: 90297

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated November 2, 2019)

It won't fix any problems you may have but you're leaking the handle to the read end of the pipe. The write end is closed, but not the read. The MSDN example the code is based off has the same error so you translated it too perfectly :-) Good find! Is there any correct example around? I have simila...
by jj2007
Nov 06, 2019 14:19
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated November 7, 2019)
Replies: 592
Views: 90297

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated November 2, 2019)

I have no problems with command lines longer than 260 chars. But saving or renaming a file with a path longer than 260 chars fails with Explorer (manually) and using CreateFileW programmatically. Below 260, the prepending is not required. Above that, it doesn't help. Pretty confusing.
by jj2007
Nov 06, 2019 11:28
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated November 7, 2019)
Replies: 592
Views: 90297

Re: WinFBE FreeBASIC Editor for Windows (Updated August 23, 2017)

marcov wrote:source seems to be encoded in some way, won't open with notepad. (despite having an .asc extension)
Wordpad will do, but that won't help you because the fun stuff is under the hood. Fact is you don't have to prepend the \\?\ stuff, CreateProcessW works fine with a plain UTF-16 path.
by jj2007
Nov 06, 2019 7:56
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated November 7, 2019)
Replies: 592
Views: 90297

Re: WinFBE FreeBASIC Editor for Windows (Updated August 23, 2017)

i did a quick count and the path length including filename is ~271 - doesnt windows have a limit around 260 chars? I count 268 but yes, there is a 260 char limit for the ANSI CreateProcess (and all other ANSI API calls using a path). The solutions are: - shorten your paths or - use CreateProcess W ...
by jj2007
Nov 01, 2019 21:57
Forum: Community Discussion
Topic: Unable to access fb.net forums
Replies: 61
Views: 1937

Re: Unable to access fb.net forums

I am more disturbed by the not-so-deliberate incorrect use of commas ;-)

I got a new one, two minutes ago (now at jj+MrSwiss+2 guests):
Image
by jj2007
Oct 31, 2019 14:56
Forum: Community Discussion
Topic: Unable to access fb.net forums
Replies: 61
Views: 1937

Re: Unable to access fb.net forums

About an hour ago, the forum was offline again - timeout. Now it's only 2 guests. Our hacker is enjoying this game ;-)
by jj2007
Oct 31, 2019 9:42
Forum: Community Discussion
Topic: Unable to access fb.net forums
Replies: 61
Views: 1937

Re: Unable to access fb.net forums

Lost Zergling wrote:@ jj2007: I invite you to share directly with coderJeff your suggestions rather than go through the forum
Which suggestions? Your post doesn't make sense.
by jj2007
Oct 31, 2019 7:33
Forum: Community Discussion
Topic: Unable to access fb.net forums
Replies: 61
Views: 1937

Re: Unable to access fb.net forums

I wonder if it's position-dependent: jj2007 and 1 guest
by jj2007
Oct 31, 2019 3:45
Forum: Community Discussion
Topic: Unable to access fb.net forums
Replies: 61
Views: 1937

Re: Unable to access fb.net forums

deltarho[1859] wrote:Hell, we could do with some young blood, assuming I got that right.
He listened to you, apparently: Users browsing this forum: jj2007 and 1 guest
by jj2007
Oct 30, 2019 11:04
Forum: Community Discussion
Topic: Unable to access fb.net forums
Replies: 61
Views: 1937

Re: Unable to access fb.net forums

No registered users and 35 guests
Hey, I am a registered user!!!
by jj2007
Oct 30, 2019 11:02
Forum: General
Topic: Is possible to get rid of the entire GCC thing?
Replies: 3
Views: 178

Re: Is possible to get rid of the entire GCC thing?

I perfectly understand your thoughts. It would indeed be a good idea to reduce the confusion, and concentrate on one installation that really works. The question is: which one? C compilers tend to be big behemoths nowadays. Should we pick one that is relatively small, but is very slow? Or the other ...
by jj2007
Oct 29, 2019 13:58
Forum: Community Discussion
Topic: Unable to access fb.net forums
Replies: 61
Views: 1937

Re: Unable to access fb.net forums

Users browsing this forum: jj2007 and 28 guests
by jj2007
Oct 29, 2019 7:38
Forum: Community Discussion
Topic: Unable to access fb.net forums
Replies: 61
Views: 1937

Re: Unable to access fb.net forums

For me, the forum was down the last 2 or 3 days. Now I get a 503 every now and then. Users browsing this forum: badidea, jj2007 and 35 guests looks almost normal. I've always wondered who these "guests" are - real persons or bots?
by jj2007
Oct 26, 2019 16:18
Forum: Community Discussion
Topic: How to add new features? (syntax, user API)
Replies: 48
Views: 1520

Re: How to add new features? (syntax, user API)

The array.insert() syntax looks oop, while array(insert, args) looks odd. What about
ArrayInsert()
AudioOpen()
AudioPlay()
NetConnect()
NetTransmit()
etc? I would not be worried about namespace problems as long as it is consistent and Google doesn't find hits for FreeBasic ArrayInsert etc...

Go to advanced search