Search found 603 matches

by VirusScanner
Aug 31, 2006 1:06
Forum: Windows
Topic: getting filename and path
Replies: 1
Views: 1173

For Office programs you can probably use COM to accomplish this. For notepad, you can get whatever it shows in the titlebar by using a couple of FindWindow/EnumWindows/EnumDesktopWindows or whatever it's called, but that's probably just going to be the file name (not the path). You'd have to reverse...
by VirusScanner
Aug 31, 2006 1:03
Forum: Linux
Topic: Quick Q&A - Moving FreeBasic to a new OS
Replies: 18
Views: 5566

If your mac is an intel, it should be easy: just download a binary of FB for linux. However if it's a PPC, you'd have to write a whole new emitter and you'll have to wait for the GCC backend to be integrated (unless you posess those godlike skillz required to... nevermind).
by VirusScanner
Aug 31, 2006 0:57
Forum: Sources, Examples, Tips and Tricks
Topic: independent unrestricted bmp loader
Replies: 5
Views: 1892

It's documented in the changelog for .17b (CVS), as is namespace a.b.c.
by VirusScanner
Aug 30, 2006 0:41
Forum: Beginners
Topic: Poke and Peek Question[SOLVED]
Replies: 9
Views: 2352

FB only compiles to little endian machines at the moment. The GCC backend can compile to other architectures, but with Apple switching to Intel they're probably going to be a lot more rare in the near future.
by VirusScanner
Aug 29, 2006 22:11
Forum: General
Topic: Problem when compiling
Replies: 2
Views: 744

I guess I was thinking of GCC's command line. Thanks.
by VirusScanner
Aug 29, 2006 4:23
Forum: General
Topic: Problem when compiling
Replies: 2
Views: 744

Problem when compiling

In the directory plugins_source, after executing the command "fbc -dll first.p.bas -o ..\plugins\first.p.dll", I get (after a long pause of my computer not functioning) "C:\FreeBASIC\bin\win32\ld.exe: out of memory allocating 1952539694 bytes". The file I am compiling is the foll...
by VirusScanner
Aug 28, 2006 1:55
Forum: Sources, Examples, Tips and Tricks
Topic: FBGUI library for windows
Replies: 11
Views: 7321

That looks really cool, do you have a sample source? And what version of FB are you using (fbc -version)?
When i end this lib -> then put here for free use...
I think I'll be able to use this one, I can understand PB code at least. Thanks.
by VirusScanner
Aug 27, 2006 18:01
Forum: General
Topic: .17b operator overloading bug
Replies: 1
Views: 701

.17b operator overloading bug

This is a bug in the mangling; while looking through the mangling file I saw that the eqv operator and the = operator use the same mangling. Maybe "ev" and "eV" would be a better choice for eqv. type stuff a as integer end type operator eqv( byref s as stuff, byval i as integer )...
by VirusScanner
Aug 26, 2006 3:38
Forum: General
Topic: Block of EXTERN what does it mean?
Replies: 4
Views: 888

I created this when extern "C++" was first added, now there are a couple more. http://www.freebasic.net/wiki/wikka.php ... gExternCpp
by VirusScanner
Aug 19, 2006 19:32
Forum: Beginners
Topic: Scaling the screen
Replies: 12
Views: 3600

I haven't done much graphics so sorry if I don't know what I'm talking about, but can't you use the SCREENRES command?
by VirusScanner
Aug 19, 2006 19:22
Forum: General
Topic: Using .RC to link Bitmaps into non-windows programs
Replies: 6
Views: 1384

You can only use .RC files on windows, and you have to use the windows API to access them. I don't remember the APIs right now, but look at MSDN for more info.

You can embed the bitmap as DATA statements though, which is cross platform.
by VirusScanner
Aug 16, 2006 3:04
Forum: General
Topic: Decimal Class
Replies: 15
Views: 4064

Is operator overloading expected (or already) to be compatible with GCC's? And what about the operators that FB doesn't support like ++ and --?
by VirusScanner
Aug 16, 2006 2:45
Forum: General
Topic: Implicit Variable Allocation?
Replies: 7
Views: 1709

It would be cool if we had something like VC++ has to turn off certain warnings (you'd have to know the number though), like
#pragma warning( 1084:disable )
or in FB maybe
option nowarning 6 '' whatever the "implicit var" number is.
by VirusScanner
Aug 16, 2006 2:05
Forum: Windows
Topic: Remote Process Code Injection
Replies: 20
Views: 8992

Just wanted to say thanks, I used a little of this topic's code to customize the syntax highlighting of an IDE with not many options.
by VirusScanner
Aug 05, 2006 18:31
Forum: Windows
Topic: PIPE problems...
Replies: 24
Views: 6769

fbc -h = help

That probably shouldn't be a command line option, it would probably be better as an argument to OPEN. -s gui is a subsystem, only applicable on windows anyway, and a fake subsystem like that would just be weird.