Search found 440 matches

by Lothar Schirm
Mar 09, 2024 10:59
Forum: Beginners
Topic: Btrieve - declarion help
Replies: 5
Views: 373

Re: Btrieve - declarion help

I do not know anything about Btrieve and do not have experiences in working with dlls. I am exclusively programming in FreeBasic as a hobby, sometimes I also play a little bit with simple Windows GUIs. I think if you want to include an external library, you have do include a header file (in this cas...
by Lothar Schirm
Mar 08, 2024 16:05
Forum: Sources, Examples, Tips and Tricks
Topic: The Travelling Salesman Problem
Replies: 21
Views: 1356

Re: The Travelling Salesman Problem

Seems to be a nice stuff to play with! BasicCoder2: If you increase the numbers of cities, the computation time will decrease dramatically with that brute force method, as expected.
by Lothar Schirm
Mar 08, 2024 15:45
Forum: Windows
Topic: Interpretation
Replies: 9
Views: 783

Re: Interpretation

I tested it last year. Very bad experiences. I could only run some programs which were delivered with this app, nothing else. Have a luck at the ratings!
by Lothar Schirm
Mar 07, 2024 15:20
Forum: Beginners
Topic: Btrieve - declarion help
Replies: 5
Views: 373

Re: Btrieve - declarion help

I do not know how Function BTRCALL is defined, but the main error seems to be in the first line: Declare Function BTRCALL Lib "wbtrv32.dll" (ByVal Word, Asciiz, any, Integer, Any, ByVal Byte, ByVal Byte) As Integer You have a long list of parameters without defining their types. A correct ...
by Lothar Schirm
Mar 07, 2024 14:47
Forum: Windows
Topic: Interpretation
Replies: 9
Views: 783

Re: Interpretation

Is there a way to use freeBASIC as an interpreter? I hate manual compilation and was wondering if there was an option to automatically compile or maybe interpret freeBASIC. If you use FBEdit, FBIde, IUP_FB_Editor or an other IDE, you can also press the "Quick Run" Button. This will create...
by Lothar Schirm
Mar 07, 2024 14:35
Forum: Sources, Examples, Tips and Tricks
Topic: The Travelling Salesman Problem
Replies: 21
Views: 1356

Re: The Travelling Salesman Problem

Oh yes, I understand. Works fine and looks very nice. I misinterpreted "Press a key (or <esc> to end)", I just pressed <esc>.
by Lothar Schirm
Mar 07, 2024 10:32
Forum: Sources, Examples, Tips and Tricks
Topic: The Travelling Salesman Problem
Replies: 21
Views: 1356

Re: The Travelling Salesman Problem

Hi dodicat, I see only some circles (not filled), a green circle (filled) and a red circle (filled), no path (no lines), no result. Is your code incomplete?
by Lothar Schirm
Mar 06, 2024 16:39
Forum: Sources, Examples, Tips and Tricks
Topic: The Travelling Salesman Problem
Replies: 21
Views: 1356

The Travelling Salesman Problem

"Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city?" ( https://en.wikipedia.org/wiki/Travelling_salesman_problem ). Since finding an exact solution is a big effort (for...
by Lothar Schirm
Feb 17, 2024 15:03
Forum: Windows
Topic: Running FB on Windows 11.
Replies: 1
Views: 303

Re: Running FB on Windows 11.

fbc64.exe is the compiler only. The best way to use it is to use an IDE (e.g. FBIde) where can set all necessary compiler options to compile and run a .bas file.
by Lothar Schirm
Jan 17, 2024 10:01
Forum: Windows
Topic: Tabcontrol color winmain
Replies: 10
Views: 931

Re: Tabcontrol color winmain

Hi Löwenherz, this is Vanya's homepage: https://users.freebasic-portal.de/freebasicru/index.html . It is in Russian, but there is a button for translation into English. A fantastic collection of FB stuff and tutorials! Go to "Articles -> FreeBasic + API -> Child window - TAB". I am not fam...
by Lothar Schirm
Dec 30, 2023 15:48
Forum: Windows
Topic: WinLib.bi
Replies: 5
Views: 647

Re: WinLib.bi

Yes, if you interested you can downlaod it from that link. Although it looks simple, it needs some basic understanding of Windows API. Good luck!
by Lothar Schirm
Dec 28, 2023 15:36
Forum: Windows
Topic: Win 11 installation problem
Replies: 6
Views: 1822

Re: Win 11 installation problem

Which problems do you mean? What do you mean by following the Microsoft installation process? Just download FreeBASIC from https://sourceforge.net/projects/fbc/files/ , unzip all files into a folder (e.g. C:\FreeBASIC) and configure your IDE (set compiler path and compiler options). No problems for ...
by Lothar Schirm
Dec 28, 2023 14:58
Forum: Windows
Topic: WinLib.bi
Replies: 5
Views: 647

Re: WinLib.bi

I'm trying to play around with the WinEd example but can't locate WinLib.bi. Is it part of Windows, part of Freebasic, or something else??? Hi cavelamb, what is WinEd? As explained by RNBW, you can find more information about my WinLib here: https://www.freebasic.net/forum/viewtopic.php?t=32421 . M...
by Lothar Schirm
Dec 25, 2023 15:31
Forum: Sources, Examples, Tips and Tricks
Topic: A flowing liquid pattern
Replies: 12
Views: 1508

Re: A flowing liquid pattern

I found this tutorial about "plasma effect": https://lodev.org/cgtutor/plasma.html