Search found 506 matches

by bcohio2001
Mar 21, 2019 5:16
Forum: Projects
Topic: Include Digger
Replies: 30
Views: 4987

Re: Include Digger

It is set up to do any Freebasic compiler whether native to the system or not. Can also do libraries. In the menu: Library -> Add external library A dialog box will open to allow you to select the MAIN ".bi" file for the library. And then, yes, will parse that and any other "Included&...
by bcohio2001
Feb 16, 2019 15:09
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 70
Views: 12186

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Is there a way to share just the connection. I would like to open just one connection and be able to use it anywhere in the program. var shared connection = client.GetConnection() error 11: Expected constant in 'var shared connection = client.GetConnection()' Update: Did a little bit of digging and ...
by bcohio2001
Feb 07, 2019 0:43
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated March 25, 2019)
Replies: 512
Views: 55577

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

Is there any easy way to load a file without adding it to a project? Say, have a bit of code in program A that would be useful in program B. I would like to open up the file to remind myself or copy/paste the bit of code into program B. But when opening it, WinFBE adds the file to the project and ha...
by bcohio2001
Jan 31, 2019 5:50
Forum: Windows
Topic: Ok to use 'END' in a thread?
Replies: 4
Views: 285

Re: Ok to use 'END' in a thread?

I am not an expert but I would say no.

ThreadWait waits for a thread created by ThreadCreate or Threadcall to finish execution, and then releases the resources associated with the thread handle.
by bcohio2001
Jan 22, 2019 15:05
Forum: Projects
Topic: Tar Library
Replies: 16
Views: 3924

Re: Tar Library

Version 1.0.1 (alpha) -- Jan. 22, 2019 Fix: -- Option parsing errors. ---- Event file created even if not requested with '--index-file'. ---- '--path-root' and '--path-prefix' incorrectly set. Change: -- Rename of Overloaded ExtractCurrentEntry functions. ---- ExtractCurrentEntry_String(TF As TarFil...
by bcohio2001
Jan 19, 2019 23:42
Forum: Windows
Topic: New IDE is comming a way...testing right now
Replies: 22
Views: 1807

Re: New IDE is comming a way...testing right now

First of all the "help" file for the IDE would be helpful. There is no link, yet, to get it and was not included in the download. Found a number of spelling mistakes in the menu. Tooltips on the toolbar would be helpful. I tried to create a dialog but could not figure out how to add contro...
by bcohio2001
Dec 31, 2018 0:51
Forum: Game Dev
Topic: Simple (error) logger (for games)
Replies: 2
Views: 234

Re: Simple (error) logger (for games)

Here is mine. A little more complex, but worth it. Sub DebugFile(FName As String, Note As String) 'if not defined then will do nothing! #Ifdef __DebugFileOn__ Dim As Integer DFile, FileCnt,KB Dim As Double LastLog Dim As String CheckIt, NextCheck ' KB = 30 'this can be changed any time 'check size o...
by bcohio2001
Dec 23, 2018 21:57
Forum: Libraries
Topic: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)
Replies: 33
Views: 1752

Re: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)

I think that I speak for most of the users here. You are doing a great job in EVERYTHING that you submit. And we are thankful. To be honest, I do not have a single music file on my system. So I have no use for this. I have tried to adapt you SNC to make a PNC. (Programmable Network Connection) Just ...
by bcohio2001
Dec 23, 2018 21:45
Forum: Community Discussion
Topic: Merry Christmas!
Replies: 11
Views: 668

Re: Merry Christmas!

Merry Christmas to you too.
Just remember that "Baby, it's cold outside" (American joke)
by bcohio2001
Dec 22, 2018 6:07
Forum: General
Topic: Get (File I/O) issue
Replies: 7
Views: 332

Re: Get (File I/O) issue

@St_W
Thanks for the explanation. I look at what needs to be passed, but not "how" it is passed. I will be sure to look more closely.
by bcohio2001
Dec 20, 2018 15:59
Forum: General
Topic: Get (File I/O) issue
Replies: 7
Views: 332

Re: Get (File I/O) issue

I was just pointing out the fact that the "amount" parameter accepts a 'ULong' but the 'bytesread' parameter does not.
At least in the Win64.
by bcohio2001
Dec 20, 2018 15:07
Forum: General
Topic: Get (File I/O) issue
Replies: 7
Views: 332

Get (File I/O) issue

This little ditty will not even compile. Dim As UByte Ptr pBuffer Dim As ULong BuffLen, BytesRead 'for 32 bit compatablily Dim As Long Handle 'Get #filenum As Long, [position As LongInt], ByRef data As Any [, [amount As UInteger] [, ByRef bytesread As UInteger] ] Get #Handle, , *pBuffer, BuffLen Get...
by bcohio2001
Dec 16, 2018 18:36
Forum: Tips and Tricks
Topic: Open File Dlg with multiple selections
Replies: 2
Views: 305

Open File Dlg with multiple selections

#Include "windows.bi" #Include "crt.bi" #Include "win\commdlg.bi" Function FileSel(hWnd As HWND, DefaultPath As ZString Ptr, SelFiles() As String, FTypes As String="Any File (*.*)|*.*") As Long Dim ofn As OPENFILENAME Dim filename As ZString * MAX_PATH+1 Dim ...
by bcohio2001
Dec 10, 2018 3:59
Forum: Projects
Topic: Tar Library
Replies: 16
Views: 3924

Re: Tar Library

Picked it back up again... Version 1.0.0 (alpha) -- Dec. 9, 2018 Code maintenance: -- Added preprocess checks for conditional compiles. ---- Not compiled for Linux, and not even sure would compile/work under DOS. -- Changed all 'Integer' to 'Long' types, ensuring 32 bit variables. -- Sub SkipEntry()...
by bcohio2001
Dec 08, 2018 3:41
Forum: General
Topic: CRT function memcmp() clarification
Replies: 2
Views: 164

CRT function memcmp() clarification

In the online "Wiki" and in the .chm help file:
memcmp(s1 as any ptr, s2 as any ptr, n as size_t) as integer
Compare two buffers.


What does the return value mean?

Go to advanced search