Search found 603 matches
- Oct 28, 2007 5:53
- Forum: General
- Topic: identifying platform
- Replies: 10
- Views: 1917
That's for DLL imports/exports. C compilers on windows use __declspec(dllimport) to import a function from a DLL, and __declspec(dllexport) to export one. If you're not rebuilding the library with FB, you can just ignore all of that (or do an empty #define, in case you need that symbol in the future...
- Oct 28, 2007 5:51
- Forum: General
- Topic: Constructor/destructor in a library
- Replies: 2
- Views: 1128
- Oct 28, 2007 2:03
- Forum: General
- Topic: identifying platform
- Replies: 10
- Views: 1917
You can just do this: #define SFML_PLATFORM_X86 because FB doesn't run on any of the other platforms (AMD64 can, as far as I know, run 32 bit programs in x86 mode, but then your program is essentially running on an x86 platform). If you want to check for Windows, Linux, DOS, or BSD though, check for...
- Oct 28, 2007 1:16
- Forum: General
- Topic: Constructor/destructor in a library
- Replies: 2
- Views: 1128
Constructor/destructor in a library
I can't get constructor/destructor subroutines to work inside a library. I'm referring to "sub xx() constructor", not "constructor sometype". If I call them myself, the system seems to remember to call them (they get called twice), but otherwise they don't get called at all.
Help is appreciated.
Help is appreciated.
- Oct 15, 2007 23:02
- Forum: Windows
- Topic: external use...
- Replies: 1
- Views: 1484
On Windows, use mouse_event. See http://msdn2.microsoft.com/en-us/library/ms646260.aspx
For example, to click (needs windows.bi)
For example, to click (needs windows.bi)
Code: Select all
mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 )
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 )
- Oct 14, 2007 23:02
- Forum: Windows
- Topic: Shutting down/restarting windows?
- Replies: 6
- Views: 3056
- Oct 10, 2007 15:40
- Forum: General
- Topic: freeBASIC as cross compiler ?
- Replies: 5
- Views: 2593
Cross compilation is possible: see http://www.freebasic.net/wiki/wikka.php?wakka=ProPgCompOpttarget However, I think this is only possible on windows (at least, it used to be). I know you'll need all the libraries and build tools for the other platform, and you may need to build the compiler in a sp...
- Oct 10, 2007 15:38
- Forum: Beginners
- Topic: timer help
- Replies: 3
- Views: 1140
- Oct 09, 2007 5:44
- Forum: General
- Topic: Graphing Math Functions
- Replies: 5
- Views: 2222
If you are just looking for a program that can graph these functions, look at SpeQ ( http://www.speqmath.com/ ). It's really a very nice calculator. If you need to write your own program for whatever reason, let me know and I'll try to help. In the meantime, I believe there have been some programs o...
- Oct 08, 2007 23:44
- Forum: General
- Topic: Method returning its type
- Replies: 2
- Views: 1051
- Oct 08, 2007 22:51
- Forum: General
- Topic: Method returning its type
- Replies: 2
- Views: 1051
Method returning its type
Is it possible to do something like this: type t_ as t type t ''... declare function DoSomething( ) as t_ end type The reason is for a dynamic string class that has methods like ToLowerCase, Left, etc. I keep getting an incomplete type error, even though I am using the typedef trick that sho...
- Sep 18, 2007 6:25
- Forum: General
- Topic: Can't access archive
- Replies: 5
- Views: 1734
- Sep 16, 2007 23:24
- Forum: General
- Topic: Can't access archive
- Replies: 5
- Views: 1734
Can't access archive
The new FB archive keeps giving me an "incorrect username" error. I have made sure that I am using my forum username and password, but it is not working. The regester button says to use the forum to register, but I am obviously already registered on the forum. Any advice on how to fix this is apprec...
- Jun 09, 2007 16:37
- Forum: Projects
- Topic: Scintilla for FB / FBPad
- Replies: 11
- Views: 4148
- Jun 08, 2007 22:06
- Forum: Projects
- Topic: Scintilla for FB / FBPad
- Replies: 11
- Views: 4148
The problem is, I got caught up with dialogs and didn't finish. The program is very limited. You can edit, open, and save, but most of the menu items don't work. I also lost my LexFreeBASIC.cxx file for scintilla, otherwise I would post it here for anyone who wants it. However, if I do find the lexe...