Search found 1104 matches
- Oct 10, 2021 19:37
- Forum: Windows
- Topic: [Solved] Comping Error On Windows 7
- Replies: 1
- Views: 1145
Re: Comping Error On Windows 7
Sorted I just had to download the source code from the github (https://github.com/verybadidea/XFont-Lib) and compilte it with 1.08.1 and it works fine now.
- Oct 10, 2021 18:18
- Forum: Windows
- Topic: [Solved] Comping Error On Windows 7
- Replies: 1
- Views: 1145
[Solved] Comping Error On Windows 7
Hi Everyone, I am trying to compile a project on Windows 7 but I am getting the following error messages C:\Program Files (x86)\FreeBASIC\fbc -s gui "NPoS.bas" C:\PROGRA~2\FREEBA~1\bin\win32\ld.exe: NPoS.o:fake:(.text+0x15cb): undefined reference to `XFONT::INTERFACE::BACKCOLOR__set__(unsi...
- Sep 15, 2021 4:29
- Forum: General
- Topic: Advice needed on how to convert this function from VB.net 2008 to FreeBASIC
- Replies: 3
- Views: 870
Advice needed on how to convert this function from VB.net 2008 to FreeBASIC
Hi Everyone, I have this function I am using with in my Windows Application and it makes my code very easy to read and use and I would like to port it to FreeBASIC Dim aQuery = QueryDatabase("database", SQLCommand) If aQuery.HasRows = True Then 'aQuery.Read() CashierNameSystemWide = aQuery...
- Sep 06, 2021 18:31
- Forum: General
- Topic: Load a custom wrote DLL
- Replies: 6
- Views: 910
Re: Load a custom wrote DLL
so it would be best to try somehow to port the DLL code into FreeBASIC? Below is a snip of the DLL Public Class ActivatedMultisaverInfo Public Sub New(ByVal anId As String, ByVal aName As String, ByVal anActiveInstances As Integer) _Id = anId _Name = aName _Instances = anActiveInstances End Sub Publ...
- Sep 06, 2021 18:22
- Forum: General
- Topic: Thread useage
- Replies: 0
- Views: 1719
Thread useage
Hi everyone, I want to ask you all for some input on a idea I have had. I was wondering what benefits would I have if I moved the following functions to a background thread > Serial barcode scanner > Database Updates (syncing data from the Main database server to a local copy in case the server goes...
- Sep 06, 2021 13:08
- Forum: General
- Topic: Load a custom wrote DLL
- Replies: 6
- Views: 910
Re: Load a custom wrote DLL
I remember trying to use a vb dll a few years ago, I had limited success using LoadLibraryExA, which gives you some options with the dwFlag parameter. I know visual basic is your preferred language. You had a two year gap, I thought perhaps you finally got your shop POS system up and running, dos, ...
- Sep 05, 2021 23:38
- Forum: General
- Topic: Load a custom wrote DLL
- Replies: 6
- Views: 910
Load a custom wrote DLL
Hi Everyone,
I have a DLL that was written for me in VB2019 is it possible to use this DLL with in a FreeBASIC application?
If it is possible would this be limited to Windows or would it run on Linux (and even DOS) as well
I have a DLL that was written for me in VB2019 is it possible to use this DLL with in a FreeBASIC application?
If it is possible would this be limited to Windows or would it run on Linux (and even DOS) as well
- Sep 04, 2021 20:06
- Forum: Linux
- Topic: RS232 / Serial Support
- Replies: 4
- Views: 1988
Re: RS232 / Serial Support
@adeyblue No I did not pay for it It was sent over to me free as it was a Demon that should have worked with the RS232 scanner scales that I have. (and when I complied it on linux and try to run it errors saying the exec is nor formatted correctly) I have managed to get the first section works (the ...
- Sep 03, 2021 20:46
- Forum: Linux
- Topic: RS232 / Serial Support
- Replies: 4
- Views: 1988
Re: RS232 / Serial Support
hi @TJF, That snipe is how it was sent to me #include <sys/types.h> #include <sys/stat.h> #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <errno.h> #include <unistd.h> /*#include <syslog.h> */ #include <string.h> #ifdef _WIN32 #define O_NOCTTY 0 #else #include <termios.h> POSIX te...
- Sep 01, 2021 21:09
- Forum: Linux
- Topic: RS232 / Serial Support
- Replies: 4
- Views: 1988
RS232 / Serial Support
Hi Everyone, I was wondering if someone could help me I need to convert a very small C program to FreeBASIC and send the data to a pipe connection (that is set in the ini file of the application) #include <sys/types.h> #include <sys/stat.h> #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #...
- May 09, 2019 13:17
- Forum: General
- Topic: Displaying data on screen
- Replies: 17
- Views: 7835
Re: Displaying data on screen
@paul Doe your welcome to email me at <the email you have> How would you define 'top of the rank'? Here, the crappiest PoS I've seen runs under XP, and most of them on Win7. There's the ocassional DOS solution, but they don't run it naively (either in compat mode or under DOSBox). Top of the range h...
- May 09, 2019 10:48
- Forum: General
- Topic: Displaying data on screen
- Replies: 17
- Views: 7835
Re: Displaying data on screen
most of what I need is just basic input screens etc that was why I though of the TUI for this project Here in the UK we have a gap between manual cash registers and to of the range EPoS systems and nothing in between hence why I want to design this app (so small business can have the advantage of EP...
- May 09, 2019 9:03
- Forum: General
- Topic: Displaying data on screen
- Replies: 17
- Views: 7835
Re: Displaying data on screen
The only reason why i was using DOS was because I know how to set up the autoexec I would use Debian in frame buffer mode but I have no idea how to auto start a program in Linux. and I would have to learn how to use FoxPro (as I know FoxPro does have a interface that can act like a Program) I am usi...
- May 08, 2019 23:57
- Forum: General
- Topic: Displaying data on screen
- Replies: 17
- Views: 7835
Re: Displaying data on screen
A GUI would be easier but it would mean learning how to use the tool kit. The software is still crashing with just the text interface (I’m working on that) The tool kits only aim at Linux and windows I would like to also support DOS (if anyone knows of a gui tool kit that works on dos I’ll be intere...
- May 08, 2019 23:12
- Forum: General
- Topic: Displaying data on screen
- Replies: 17
- Views: 7835
Re: Displaying data on screen
opps my bad I did not see that one