Search found 2285 matches

by deltarho[1859]
May 15, 2020 20:18
Forum: General
Topic: How to generate a static library that FB can use
Replies: 28
Views: 818

Re: How to generate a static library that FB can use

@dodicat

Ah, I stand corrected - my bad. Image
by deltarho[1859]
May 15, 2020 18:54
Forum: General
Topic: How to generate a static library that FB can use
Replies: 28
Views: 818

Re: How to generate a static library that FB can use

@dodicat I have a problem with sound on my PC - actually I have no sound at all unless I plug in my headphones but the headphone jack went 'pear-shaped' about a year ago, so I got an amp/DAC USB and that works. However, your code did not work unless I plugged in the headphones. Anyway, your code now...
by deltarho[1859]
May 15, 2020 13:55
Forum: General
Topic: How to generate a static library that FB can use
Replies: 28
Views: 818

Re: How to generate a static library that FB can use

Another aspect is that we may need 32-bit and 64-bit versions of static libraries. Source code is source code - end of. Image
by deltarho[1859]
May 15, 2020 13:19
Forum: General
Topic: How to generate a static library that FB can use
Replies: 28
Views: 818

Re: How to generate a static library that FB can use

Here is an example using Paul Squires' String functions (32/64 bit ANSI only) Code saved as "StringProcs.bas" (28 procedures) Test program using one function from include file. #Include "StringProcs.bas" Dim a As String a = FF_Repeat( 3, "FreeBASIC" ) Print a Sleep Usin...
by deltarho[1859]
May 15, 2020 11:15
Forum: General
Topic: How to generate a static library that FB can use
Replies: 28
Views: 818

Re: How to generate a static library that FB can use

I thought that I may have a job finding this - but I found it quickly. How to Manage FB Reusable Procedures by Including Source Modules (vs. compiled modules) See the note at the bottom of the post - method 2) was José's idea. Before that post I had written a few static libraries - since I have not ...
by deltarho[1859]
May 15, 2020 10:51
Forum: General
Topic: How to generate a static library that FB can use
Replies: 28
Views: 818

Re: How to generate a static library that FB can use

@dodicat Take a large function and duplicate it 19 times. Rename uniquely 19 of them and put them into, say, a bas file. #include the bas file with a small 'main' program, call only one from the included file, compile and note the size of the binary. Now make all 20 functions PRIVATE, call only one ...
by deltarho[1859]
May 15, 2020 5:39
Forum: General
Topic: How to generate a static library that FB can use
Replies: 28
Views: 818

Re: How to generate a static library that FB can use

@yzfwsf I write shared libraries (DLLs) for use with PowerBASIC. Why do you want to write static libraries? If you have a static library which has, say, 20 procedures then the whole of the static library is added to your source code whether you use one procedure, two procedures, and so on up to all ...
by deltarho[1859]
May 13, 2020 3:53
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.1.6 May 17, 2020)
Replies: 691
Views: 120064

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.1.5 May 8, 2020)

WinFBE 2.1.5 made the previous Help file nearly redundant. That introduced a new method for 'installing' User Tools. Well, we can use that method for 'installing' the Help itself as a User Tool. In the Settings folder is WinFBE.ini. Go to the [UserTools] section and append to the list the following:...
by deltarho[1859]
May 12, 2020 21:55
Forum: Windows
Topic: FreeBASIC-win-gcc-11-20200517
Replies: 12
Views: 410

Re: FreeBASIC-1.08.0-win-gcc-11-20200510

@srvaldez

I don't know about being kind. I don't have many mantras but one is simply: "If credit is due then give it."
by deltarho[1859]
May 12, 2020 21:22
Forum: Windows
Topic: FreeBASIC-win-gcc-11-20200517
Replies: 12
Views: 410

Re: FreeBASIC-1.08.0-win-gcc-11-20200510

@srvaldez It seems to me that your last two posts are indicative of a particular mindset, and we should be very grateful that you, and only a few others at FB, have it. I, for one, would not dream of contemplating such ventures and that has nothing to do with age - I would not have ventured so, fort...
by deltarho[1859]
May 12, 2020 13:56
Forum: Windows
Topic: FreeBASIC-win-gcc-11-20200517
Replies: 12
Views: 410

Re: FreeBASIC-1.08.0-win-gcc-11-20200510

The problem with benchmarking tests is that the results tell us which 'product' is the most likely to be the fastest. What they do not tell us is which 'product' will be the fastest for a particular application. The only way to do that is to test each 'product' on a particular application.
by deltarho[1859]
May 12, 2020 12:52
Forum: Windows
Topic: FreeBASIC-win-gcc-11-20200517
Replies: 12
Views: 410

Re: FreeBASIC-1.08.0-win-gcc-11-20200510

Great stuff, srvaldez.

From FB's perspective I think that gcc 8.3 is the one to beat. I look forward to equation.com upping the ante to 8.4.
by deltarho[1859]
May 11, 2020 22:26
Forum: Windows
Topic: drWinFBE_Tools
Replies: 30
Views: 996

Re: drWinFBE_Tools

Richt click on cPaths' title bar - there is a 'minimise' there - I had forgotten that.
by deltarho[1859]
May 11, 2020 21:55
Forum: Windows
Topic: drWinFBE_Tools
Replies: 30
Views: 996

Re: drWinFBE_Tools

@UEZ Ah, I am with you now. The cPaths window, on Windows 10, is not wide enough to accommodate a title and a minimize button and so on. I have two monitors - I could be coding on one monitor and checking out an API at MSDN on another. Anyway, why don't you just close cPaths? You can always open it ...
by deltarho[1859]
May 11, 2020 20:53
Forum: Windows
Topic: drWinFBE_Tools
Replies: 30
Views: 996

Re: drWinFBE_Tools

Don't get me wrong, it is not an offense against your code. I don't take offence to an honest appraisal. http://deltarho.org.uk/Downloads/wink.png but if you don't work with WinFBE then the window bothers. I don't understand that - we get a window when we click on 'Search>Replace...'.

Go to advanced search