Search found 499 matches
- Nov 30, 2010 19:27
- Forum: Community Discussion
- Topic: @Richard & All
- Replies: 18
- Views: 4268
- Nov 07, 2010 17:11
- Forum: Beginners
- Topic: Why must I continue to use FBC ?
- Replies: 37
- Views: 8513
Re: Why must I continue to use FBC ?
Due to the amount of derail this thread has gone through, I'll respond, once more, to your initial sentiment. So could someone please try to convince me to continue using FBC. I simply cannot rewrite portions of hundreds of files just to get a program compiled to 32-bit. I could try to convince you,...
- Nov 07, 2010 13:01
- Forum: Beginners
- Topic: Why must I continue to use FBC ?
- Replies: 37
- Views: 8513
Re: Why should I continue to use FBC
I'm actually sort of curious about you modifying the compiler, according to you, you hate -lang FB, which is what you're going to have to study thoroughly and use. Quite the paradox indeed. Disregarding all of the pointer tables and the magical tricks involved, you've got one hell of a ride waiting ...
- Nov 06, 2010 23:12
- Forum: Beginners
- Topic: Why must I continue to use FBC ?
- Replies: 37
- Views: 8513
Re: Why should I keep on using FBC
Very well, if you feel capable, go ahead and fork the compiler into a QB-only edition. I won't stop you, nor would anybody else. So long the license permits it. You can download the source from the sourceforge.net page or use SVN to obtain the latest revision from here . Keep in mind that maintainin...
- Nov 06, 2010 16:16
- Forum: Community Discussion
- Topic: Who wrote an windows driver with FB ?
- Replies: 6
- Views: 3029
I'm not even sure if it's possible at all to implement a miniport driver with FB to be honest, much less a MIDI miniport; you'd have to implement a sizeable inheritance tree just to get it working: IUnknown -> IMiniport -> IMiniportMidi, in addition to the IMiniportMidiStream interface. I wouldn't a...
- Nov 06, 2010 15:22
- Forum: Beginners
- Topic: Why must I continue to use FBC ?
- Replies: 37
- Views: 8513
@rolliebollocks: Thanks, I wasn't that far though, been lurking the forum on and off for a while now; this thread just slapped me in the face and forced me out of my hibernation cycle. Now back on topic: Theunis Jansen, do you really think I wouldn't be helping you if you actually made sense in what...
- Nov 06, 2010 1:39
- Forum: Community Discussion
- Topic: Who wrote an windows driver with FB ?
- Replies: 6
- Views: 3029
The multiple INIT sections come from the different MS libraries you have to link for the driver having different attributes from the one in your driver. I remember I couldn't get gAS to set the attributes on the INIT section properly back at the time (not sure if the current version still lacks the ...
- Nov 06, 2010 0:45
- Forum: Beginners
- Topic: Why must I continue to use FBC ?
- Replies: 37
- Views: 8513
Const PI As Double = 3.1415926535897932 sub drawmeacircle(byval x as integer, byval y as integer, byval radius as integer) for i as double = 0 to PI * 2 step 0.005 var x2 = cos(i), y2 = sin(i) pset ((x2 * radius) + x, (y2 * radius) + y) next end sub screen 13 drawmeacircle(10,10, 3) drawmeacircle(1...
- Sep 22, 2009 23:18
- Forum: Beginners
- Topic: Is Boolean FALSE?
- Replies: 18
- Views: 4774
- Sep 22, 2009 19:01
- Forum: Beginners
- Topic: how do I compile FreeBASIC under SuSE 11.1?
- Replies: 6
- Views: 1870
If you still want to be able to launch your programs from the examples folder, open a console window, then sudo and type: chmod -R 751 <PATH_TO_EXAMPLES_FOLDER> This will set the folder and it's children's permissions to be executable by the owner (you) and the group of the owner, this should allow ...
- Sep 22, 2009 18:45
- Forum: Beginners
- Topic: Is Boolean FALSE?
- Replies: 18
- Views: 4774
- Sep 02, 2009 19:17
- Forum: Sources, Examples, Tips and Tricks
- Topic: Using dylibsymbol instead of import libraries (.dll.a)
- Replies: 18
- Views: 9430
This works: sub object_get cdecl(p1 as long,p2 as zstring ptr, ...) if p1 = 0 or p2 = 0 then return print p1, *p2 dim as any ptr arg = va_first() for i as integer = 1 to p1 print va_arg(arg, integer) arg = va_next(arg, integer) next end sub dim shared g_object_get as sub cdecl(p1 as long,p2 as zstri...
- Aug 30, 2009 18:41
- Forum: Sources, Examples, Tips and Tricks
- Topic: Using dylibsymbol instead of import libraries (.dll.a)
- Replies: 18
- Views: 9430
Is it possible to do this with dll functions that take optional parameters like the printf function from crt? James Yes, those are still functions as far as the compiler is concerned, vararg functions use the cdecl convention. It's all about how the compiler sees it, when you give it a function pro...
- Aug 20, 2009 8:26
- Forum: Beginners
- Topic: Permissions denied
- Replies: 6
- Views: 2783