Search found 126 matches

by segin
Jul 08, 2010 9:42
Forum: Beginners
Topic: Closing console window
Replies: 4
Views: 1023

Re: Closing console window

Hi, is here some silent way to close console window automatically, without pressing Enter ? Fe., if I invoke from graphic window shell to killing all temporary screenshots as bmp files this way, I still must press Enter to go back into screen 0,0 Shorted code screen 20,16,8 screenset 0,0 ? "pa...
by segin
Jul 03, 2010 13:23
Forum: Sources, Examples, Tips and Tricks
Topic: Libseven: Your PC's Taskbar API, Simplified.
Replies: 12
Views: 3552

Libseven: Your PC's Taskbar API, Simplified.

Wow, if I didn't just rehash a bad marketing slogan... Libseven is my attempt to write a library in Visual C++ to wrap up the ITaskbar3 COM object into a FreeBASIC-friendly API. The ITaskbar3 COM object, if you don't know, is the COM control for the Windows 7 Taskbar API. This API allows you to do u...
by segin
Jul 03, 2010 9:04
Forum: Community Discussion
Topic: FreeBASIC Looks Dead
Replies: 117
Views: 27603

Re: all i know is that

for complete virgin coding noobs FB is WAY too complex Really? If you use -lang qb, the learning curve matches DOS QBasic. The problem today's n00bs have is that they think writing software for some reason or another does not involve a symbolic instruction language, that is, you program with point-...
by segin
Jun 30, 2010 2:51
Forum: General
Topic: Is this correct
Replies: 7
Views: 961

Is this correct

I've been going over PsyMP3's source heavily these last few days, doing things such as breaking it's source code down into multiple files, fine-tuning some bits, etc. and I took a look at the "fade" effect code. It's basically this: var blank = ImageCreate(640, 350, rgba(0, 0, 0, 64), 32) ...
by segin
Jun 28, 2010 11:59
Forum: Community Discussion
Topic: Compiler patch: Add OS-class defines
Replies: 12
Views: 2462

Yes! I'd like __FB_UNIX__ (and use of it in all the headers instead of __FB_LINUX__) please; I'm currently defining it myself (plus __FB_LINUX__ when compiling on FreeBSD, argh!). I'm not a FB developer, but some comments on the patch: Sorry that it's not ideal (and that both symbols are always def...
by segin
Jun 27, 2010 5:38
Forum: Windows
Topic: Old Code Monkeys Only~ FB on Win3.11
Replies: 9
Views: 1800

On a side note, this might help someone to this end one day - Digital Mars' C/C++ compiler can target Win32s quite easily. The rtlib and fbgfx code is pure C, so then all'd you need is -gen gcc and to "assemble" the .c and lnk it all manually (as the GNU toolchain used by fbc doesn't handl...
by segin
Jun 26, 2010 14:10
Forum: Community Discussion
Topic: New web multimedia language written in FreeBASIC.
Replies: 34
Views: 12424

But there is no sandbox this means you can do everything and yes very bad things too. You can get the window handle with all keyboard and mouse messages. This is the point why i don't share my FreeBASIC Browser source code. That's a horrible reason to withhold source code. Everyone that would be do...
by segin
Jun 26, 2010 9:08
Forum: Projects
Topic: FireFly Visual Designer for FreeBASIC (Updated March 8, 2016)
Replies: 371
Views: 149960

First of all, I'd like to request that all the example programs people write be uploaded somewhere... sure, send Paul the screenshots but I'd like to get more familiar with using Firefly and would like to see some actual project examples. Secondly, what is the licensing on the "Firefly Function...
by segin
Jun 26, 2010 8:45
Forum: Windows
Topic: ld.exe gives error
Replies: 9
Views: 1678

Please upload a .zip file with the DLL and all of it's associated materials (it's source too, if possible), your source code, and the VB source that calls into the DLL and works. Post me a link. I'll take a look and see what needs to be done. Your previous posts already provide useful info. If you n...
by segin
Jun 26, 2010 8:40
Forum: General
Topic: running a FreeBASIC DOS App on DOSBox for PocketPC
Replies: 3
Views: 860

Re: running a FreeBASIC DOS App on DOSBox for PocketPC

Hi all I am trying to run a simple test program on my Pocket PC 2003 unit with DOSBox 0.73 for PocketPC When I do it says no DMPI found so I copied over the DMPI I use in dos and now it starts to load but then exits the program Am I doing something wrong here? Andy Try describing your problem, for ...
by segin
Jun 26, 2010 4:17
Forum: Windows
Topic: Old Code Monkeys Only~ FB on Win3.11
Replies: 9
Views: 1800

There's a few limitation that will get quite annoying real quick: First of all, you need to use the classic "CRTDLL.DLL" C runtime instead of msvcrt. msvcrt (to the best of my knowledge) does not run on Win32s. This would involve recompiling MinGW to target crtdll - which I'm not sure can ...
by segin
Jun 25, 2010 22:06
Forum: Community Discussion
Topic: Compiler patch: Add OS-class defines
Replies: 12
Views: 2462

Are these different from the platform defines already in FreeBASIC? __FB_WIN32__ __FB_DOS__ __FB_LINUX__ etc... -Vince Look at my patch. Notice the huge number of macros I check for __FB_UNIX__? Do you really want to have to check for ALL of those macros each and every time you have a code section ...
by segin
Jun 25, 2010 9:30
Forum: Community Discussion
Topic: Compiler patch: Add OS-class defines
Replies: 12
Views: 2462

Compiler patch: Add OS-class defines

Hi all, I wrote this patch to check to see if it's a PC-DOS ish OS or Unix and give a global define for each. Sorry that it's not ideal (and that both symbols are always defined, with true/false being in their value instead) but hopefully someone will come along later and clean it up. I just need de...
by segin
Jun 23, 2010 23:01
Forum: Linux
Topic: StrReplace runs fine on windows, corrupts string on Linux
Replies: 18
Views: 4220

WTF? What is the .. before memcpy? This compiles and I have no idea why it is not a syntax error... #Include "crt.bi" ..memcpy 0,0,0 -Vince Like dkl said, it's the global scope specifier. Think of this: You have a function "foo" in the global namespace, as well as in a namespace...
by segin
Jun 23, 2010 22:33
Forum: General
Topic: Implementing lists
Replies: 8
Views: 1081

Here's the "standard" example of using Ext's List template with a UDT: http://code.google.com/p/fb-extended-lib/source/browse/trunk/examples/containers/list_udt.bas If you'd like a more advanced example you can check out the source for my build system fake, the files module.(bas|bi) and c...