Search found 1309 matches

by sir_mud
Jan 22, 2014 17:39
Forum: Windows
Topic: Missing Dll on Windows 8
Replies: 5
Views: 2030

Re: Missing Dll on Windows 8

Honestly those look like system dlls that you don't have the debugging symbols for anyways, I wouldn't worry about it. Especially if everything is working.
by sir_mud
Jan 22, 2014 17:34
Forum: Beginners
Topic: TinyDialog
Replies: 3
Views: 1015

Re: TinyDialog

Answered in original thread.
by sir_mud
Jan 22, 2014 17:29
Forum: Sources, Examples, Tips and Tricks
Topic: TinyDialog a simple Windows and Linux user interface.
Replies: 100
Views: 32738

Re: TinyDialog a simple Windows and Linux user interface.

Thank you, but it is no problem for me to understand how 'GetMouse' works. Who can explain me what D.J. Peters means: "If you use a fbgfx screen you can show any dialog via the right mouse button" ? using the example from the first post I come up with: #include once "TinyDialog.bi&qu...
by sir_mud
Jan 22, 2014 1:46
Forum: Linux
Topic: TAB doesn't work after DIM
Replies: 9
Views: 2719

Re: TAB doesn't work after DIM

fxm's solution does seem to be the best solution because of the way fb handles fixed-len strings. If you look at the output of the fixed len version it null pads the fixed string to the number of characters in it. I think you would see some fantastic boosts by switching to an actual database like sq...
by sir_mud
Jan 21, 2014 22:58
Forum: Linux
Topic: TAB doesn't work after DIM
Replies: 9
Views: 2719

Re: TAB doesn't work after DIM

Either use var-length STRINGs or fill the fixed-length STRINGs by white spaces That's my workaround; however, this is one of those things that "just worked " in QB, but which doesn't work in FB. I tested this with the following code: type recor declare constructor (byref f as string, byre...
by sir_mud
Jan 21, 2014 22:34
Forum: Beginners
Topic: Single RGB color value possible?(solved)
Replies: 3
Views: 1362

Re: Single RGB color value possible?

Hey all, Is it somehow possible to use a single value to increment an rgb color value? 256 ^ 3 = 16777216. Instead of something like this? 'pseudo code for r=0 to 255 for g=0 to 255 for b=0 to 255 color rgb(r,g,b) next b,g,r Thanks I'm not quite understanding what you mean, you can use any 32bit va...
by sir_mud
Jan 21, 2014 22:30
Forum: Sources, Examples, Tips and Tricks
Topic: TinyDialog a simple Windows and Linux user interface.
Replies: 100
Views: 32738

Re: TinyDialog a simple Windows and Linux user interface.

sir_mud, may be I have misunderstood what D.J.Peters wrote. I have compiled your example into the folder whih contains TinyDialog.dll and libTinyDialog.dll.a. When I run your example, it displays a black graphics window and displays the mouse position and the pressed button. But I have expected if ...
by sir_mud
Jan 21, 2014 22:29
Forum: Community Discussion
Topic: FB lack serious IDE
Replies: 19
Views: 6400

Re: FB lack serious IDE

I think the fact that FreeBASIC has a couple dedicated IDEs is really interesting, but there are features in Visual Studio I'd have trouble living without. I could deal with Eclipse, for example. Once you take away my visual (and interactive) debugger, watch expressions, certain productive keyboard...
by sir_mud
Jan 21, 2014 17:47
Forum: Linux
Topic: Linux Notepad
Replies: 15
Views: 5458

Re: Linux Notepad

Code: Select all

#ifdef __FB_WIN32__
    print "This code only runs on windows.
#else
    #ifdef __FB_LINUX__
        print "This code will run on linux.
    #else
        print "And this code will run on dos.
    #endif
#endif
by sir_mud
Jan 21, 2014 17:43
Forum: Sources, Examples, Tips and Tricks
Topic: TinyDialog a simple Windows and Linux user interface.
Replies: 100
Views: 32738

Re: TinyDialog a simple Windows and Linux user interface.

I do not understand, what do you mean? Do I have to evaluate the right mouse button via 'Getmouse' in my code? Could you please give me an example? #include "fbgfx.bi" screenres 640,480,32 dim as integer mx, my, mb while not multikey(fb.SC_ESCAPE) ' push esc to exit cls getmouse mx, my, ,...
by sir_mud
Jan 20, 2014 20:33
Forum: Beginners
Topic: Fast graphics functions to set and retrieve color pixels
Replies: 8
Views: 2042

Re: Fast graphics functions to set and retrieve color pixels

FreeBASIC already comes with PSET and POINT functions, have you tried to use them?
by sir_mud
Jan 20, 2014 3:19
Forum: Beginners
Topic: MP3 and MID files
Replies: 1
Views: 681

Re: MP3 and MID files

I would definitly recommend not using this method for anything serious, fbsound, fmod or bass would all be great choices for sound.
by sir_mud
Jan 20, 2014 3:17
Forum: Beginners
Topic: FreeBasic questions
Replies: 8
Views: 1561

Re: FreeBasic questions

Welcome! We have quite a few native french speakers, so if you're not sure of something in english do your best and also explain in french. Locate should work in console and graphics modes according to the wiki: http://www.freebasic.net/wiki/wikka.php?wakka=keypglocate If you post your code that isn...