Search found 1104 matches

by Gablea
Jul 25, 2023 8:46
Forum: DOS
Topic: Compling Error when using DosBox 74.3
Replies: 4
Views: 1715

Re: Compling Error when using DosBox 74.3

Well I would have thought 16mb would be about to compile a program (it complies with no issues on my pure dos machines
And they only have 8mb ram)


Could it be an issue with the dosbox memory mangerment?
by Gablea
Jun 20, 2023 20:33
Forum: DOS
Topic: [Solved] Xfont error in DOS
Replies: 10
Views: 2129

Re: Xfont error in DOS

srvaldez wrote: Jun 20, 2023 11:31 @Gablea
here's the amalgamated xfont.bi https://drive.google.com/file/d/1rwFN7I ... sp=sharing
Thank you srvaldez what ever you did worked and my program fully complies now on pure DOS

Thank-you once again
by Gablea
Jun 20, 2023 0:39
Forum: DOS
Topic: [Solved] Xfont error in DOS
Replies: 10
Views: 2129

Re: Xfont error in DOS

hello Gablea why not make an amalgamation of the code and skip making a library? I tried it and there's no problem I made the new version of the library as the one on the xfont website was complied with 1.07 and it does not work I read on here as well that it needed re making with 1.10 How would I ...
by Gablea
Jun 19, 2023 1:44
Forum: DOS
Topic: [Solved] Xfont error in DOS
Replies: 10
Views: 2129

Re: Xfont error in DOS

Sounds like you've declared the function 'XFONT::INTERFACE::BACKCOLOUR__set__ (unsigned long)' and also use it in 'SIGNONPASSWORD_CHANGE_1', but there's no implementation for it. Or at least the linker can't find the implementation. There could be multiple reasons for this. For example, you could b...
by Gablea
Jun 15, 2023 11:46
Forum: DOS
Topic: [Solved] Xfont error in DOS
Replies: 10
Views: 2129

[Solved] Xfont error in DOS

Hi everyone I hope someone can help I am getting a error when I run the following command 'fbc -g -exx npos.bas' I get the following ld: npos.o: in function 'SIGNONPASSWORD_CHANGE_1': c:\npos\NPOS.BAS:321: undefined reference to 'XFONT::INTERFACE::BACKCOLOUR__set__ (unsigned long)' I am running a PU...
by Gablea
Jun 15, 2023 11:38
Forum: DOS
Topic: [Solved] FBImage use in DOS
Replies: 8
Views: 1720

Re: FBImage use in DOS

Does it work on a system that supports longer filenames? By the way, the file you need to edit is fbimage.bi, and you need to find the line: # inclib "FBImage-32-static" and replace it with something shorter. If you rename the library as LIBFBIMA.a, for example, you can edit it as # incli...
by Gablea
Jun 14, 2023 21:40
Forum: DOS
Topic: [Solved] FBImage use in DOS
Replies: 8
Views: 1720

Re: FBImage use in DOS

Ok so it was the evil 8.3 file name that's making the problem

Can you tell what file(s) I need to edit so I don't break my system.


Would I need to complie the library for a pure dos system?
by Gablea
Jun 14, 2023 18:32
Forum: DOS
Topic: [Solved] FBImage use in DOS
Replies: 8
Views: 1720

Re: FBImage use in DOS

I don't know why I have done this, but... https://www.mediafire.com/file/glqfwy7w6elybvl/libFBImage-32-static.a/file Here is the library compiled for DOS by me. Put it in the "lib\dos" directory in the FreeBasic directory, it should work I downloaded the file Thank you for that and I save...
by Gablea
Jun 14, 2023 15:23
Forum: DOS
Topic: [Solved] FBImage use in DOS
Replies: 8
Views: 1720

Re: FBImage use in DOS

It might work if the library itself is compiled for DOS. You should try with DJGPP compiler. By the way, what are you trying to do? I'm using the library to load .jpeg images for my point of sale system to make it a bit more streamline with the code And thanks for the library I shall try that when ...
by Gablea
Jun 14, 2023 10:36
Forum: DOS
Topic: [Solved] FBImage use in DOS
Replies: 8
Views: 1720

[Solved] FBImage use in DOS

Hi all,

Does anyone know if I can use the FBImage functions in a DOS application?

I have tried to compile a program that uses that function and I get

ld: cannnot find -lFBImage-32-static

Would I be right in thinking this will not work for DOS?

Andy
by Gablea
Jun 13, 2023 0:45
Forum: DOS
Topic: Compling Error when using DosBox 74.3
Replies: 4
Views: 1715

Compling Error when using DosBox 74.3

Hi Everyone has anyone else ran into this program with DOSBox? I am complying a Program that complies find in Windows and Linux but in DOS I get a error saying as: out of memory allocating 4064 bytes after a total of 1699256 bytes does anyone know how I can get around this as I have looked in to my ...
by Gablea
Sep 23, 2022 20:19
Forum: General
Topic: Advise on this Idea
Replies: 0
Views: 2177

Advise on this Idea

Hi Everyone I am hoping for some advise on a issue I am thinking about. I am currently working on a offline mode for my software i am doing this by storing all my required updates etc in a file on my local hard drive sometimes I can have 20-50 of these files on my drive and what I would like to do i...
by Gablea
Jul 26, 2022 11:34
Forum: General
Topic: MYSQL Advise
Replies: 3
Views: 646

Re: MYSQL Advise

I need to do this internally with in my program as I'm sending the result to a printer
by Gablea
Jul 26, 2022 9:14
Forum: General
Topic: MYSQL Advise
Replies: 3
Views: 646

MYSQL Advise

Hi Everyone, I am sure i have seen what I am after on here before but I can not find it What I need to do is the following Once i have a result from the database I need to loop though the result to create a datastring I have TotalCol = mysql_num_fields(MySQLOut) TotalRow = mysql_num_rows(MySQLOut) I...
by Gablea
Jul 25, 2022 15:43
Forum: General
Topic: [Solved] FBTemp Crashing when trying to access Database
Replies: 13
Views: 1180

Re: FBTemp Crashing when trying to access Database

I sorted the above issue out but what is Error 12 "Segmentation Violation" mean? I have no idea what this means could someone tell me what it means "segmentation violation" or "segmentation fault": the system has detected that the process was attempting to access a mem...