Search found 603 matches

by VirusScanner
Oct 08, 2005 2:13
Forum: Linux
Topic: how can i compile my file with fbc?
Replies: 9
Views: 4584

FBIde doesn't work with linux... this is the linux forum.
by VirusScanner
Oct 04, 2005 15:23
Forum: Projects
Topic: Thing I whipped up today:
Replies: 26
Views: 12469

The way of
MyObject.Text = "SomeText"
is called a property, and it's actually another way of calling a function (declared as property set). FreeBASIC doesn't support that, so you'd have to call an Update function every time you did that and I doubt anyone would like that.
by VirusScanner
Oct 04, 2005 15:19
Forum: Beginners
Topic: Making DLLs for Visual Basic
Replies: 10
Views: 3963

I would think you'd make a .def file telling all the exports for when you build your DLL.
by VirusScanner
Oct 02, 2005 23:59
Forum: Documentation
Topic: Mutex Functions
Replies: 6
Views: 3344

I'm don't know much about mutexes, but I believe that named mutexes are used to allow only 1 instance of the program (on Windows, returns ERROR_ALREADY_EXISTS or something like that). So shouldn't (or isn't) there an optional name parameter for MUTEXCREATE?
by VirusScanner
Oct 01, 2005 20:53
Forum: Windows
Topic: Thread Timing?
Replies: 7
Views: 2647

You should probably look into using Mutex objects for thread syncronization.

http://msdn.microsoft.com/library/defau ... emutex.asp
http://msdn.microsoft.com/library/defau ... ctions.asp
by VirusScanner
Oct 01, 2005 20:53
Forum: Windows
Topic: I like tomater juice.
Replies: 45
Views: 14740

If you are doing this for just your game, I would make it an option in your game, that defaults to "OFF", just to be on the safe, legal side. And don't make another program, just catch the keystrokes in the game and record them... and ONLY if the user has detected them. I for one wouldn't play a gam...
by VirusScanner
Sep 30, 2005 15:28
Forum: Windows
Topic: Reducing the size of executables
Replies: 14
Views: 5828

If the POLINK program works like microsoft linker, you should include the 'lib' prefix for each static library, since it is part of the filename. Also, you might want to try creating new import libraries. I'm sure it comes with some sort of tool that creates import libraries compatible with it. Also...
by VirusScanner
Sep 21, 2005 21:15
Forum: General
Topic: FreeBasic Libraries
Replies: 4
Views: 1204

but FreeBasic uses the GNU linker, so it may be compatible...
by VirusScanner
Sep 18, 2005 21:18
Forum: Projects
Topic: FB Game Project
Replies: 24
Views: 8034

What about external resources (images, models, sounds, music)? Is somebody else going to be doing these?
by VirusScanner
Sep 14, 2005 3:13
Forum: Beginners
Topic: A few questions...
Replies: 3
Views: 1060

For 2, there is a cross-compile option on Windows. Try
fbc -target dos filename.bas
by VirusScanner
Sep 11, 2005 3:20
Forum: Beginners
Topic: look
Replies: 6
Views: 1847

Very sorry, but it would be easier to understand the questions if you looked up the terms first. The "little words below the window title" is called a menu, because it contains a list of the functions available in the program. The "toolbox" is called a toolbar. There are functions in the windows api...
by VirusScanner
Sep 09, 2005 3:09
Forum: Beginners
Topic: Two dimenstional arrays
Replies: 2
Views: 921

Try this:

Code: Select all

dim array2d(0 to 1, 0 to 1) as integer

array2d(0,0) = 0
array2d(0,1) = 1
array2d(1,0) = 2
array2d(1,1) = 3

for i = 0 to 1
    for j = 0 to 1
        print array2d(i,j)
    next
next

sleep
by VirusScanner
Aug 31, 2005 1:09
Forum: General
Topic: API Pointer
Replies: 8
Views: 1810

It appears that MessageBox is actually called _MessageBoxA@16. You can figure this out by looking at the size of the parameters (int + pointer + pointer + int = 16). I'm used to NASM syntax though. You'll have to figure out the rest. Maybe FB's string handling is kind of odd. MessageBox expects a Nu...
by VirusScanner
Aug 30, 2005 22:03
Forum: Documentation
Topic: Non-supported QuickBasic-keywords not documented
Replies: 13
Views: 5441

Many of these things you can implement yourself with macros and other supported features. For example,

#define CURRENCY DOUBLE
by VirusScanner
Aug 29, 2005 1:48
Forum: Beginners
Topic: Maximize button
Replies: 17
Views: 3707

Use the function SetWindowLong using the GWL_STYLE flag and don't include the WS_MAXIMIZEBOX style.

Go to advanced search