Search found 499 matches

by voodooattack
Nov 30, 2010 19:27
Forum: Community Discussion
Topic: @Richard & All
Replies: 18
Views: 2183

Please send him my best wishes for a swift recovery. *switches back to lurking mode*
by voodooattack
Nov 07, 2010 17:11
Forum: Beginners
Topic: Why must I continue to use FBC ?
Replies: 37
Views: 3090

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,...
by voodooattack
Nov 07, 2010 13:01
Forum: Beginners
Topic: Why must I continue to use FBC ?
Replies: 37
Views: 3090

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 ...
by voodooattack
Nov 06, 2010 23:12
Forum: Beginners
Topic: Why must I continue to use FBC ?
Replies: 37
Views: 3090

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...
by voodooattack
Nov 06, 2010 16:16
Forum: Community Discussion
Topic: Who wrote an windows driver with FB ?
Replies: 6
Views: 1823

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...
by voodooattack
Nov 06, 2010 15:22
Forum: Beginners
Topic: Why must I continue to use FBC ?
Replies: 37
Views: 3090

@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...
by voodooattack
Nov 06, 2010 1:39
Forum: Community Discussion
Topic: Who wrote an windows driver with FB ?
Replies: 6
Views: 1823

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 ...
by voodooattack
Nov 06, 2010 0:45
Forum: Beginners
Topic: Why must I continue to use FBC ?
Replies: 37
Views: 3090

Stop whining and rewrite your code.
by voodooattack
Sep 29, 2009 18:43
Forum: General
Topic: Circles
Replies: 1988
Views: 138983

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 s...
by voodooattack
Sep 22, 2009 23:18
Forum: Beginners
Topic: Is Boolean FALSE?
Replies: 18
Views: 2407

counting_pine wrote:@voodooattack: watch out for your '=' operator.


Thanks, I see, fixed.
by voodooattack
Sep 22, 2009 19:01
Forum: Beginners
Topic: how do I compile FreeBASIC under SuSE 11.1?
Replies: 6
Views: 971

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 ...
by voodooattack
Sep 22, 2009 18:45
Forum: Beginners
Topic: Is Boolean FALSE?
Replies: 18
Views: 2407

Here's something I whipped together in 5 minutes.. put this in a file called "boolean.bi" and #include it to use this. (you should separate the declarations from the code bodies if you use this with modularized code) type boolean private: m_value as integer public: declare constructor declare constr...
by voodooattack
Sep 02, 2009 19:17
Forum: Tips and Tricks
Topic: Using dylibsymbol instead of import libraries (.dll.a)
Replies: 18
Views: 3933

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 ...
by voodooattack
Aug 30, 2009 18:41
Forum: Tips and Tricks
Topic: Using dylibsymbol instead of import libraries (.dll.a)
Replies: 18
Views: 3933

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...
by voodooattack
Aug 20, 2009 8:26
Forum: Beginners
Topic: Permissions denied
Replies: 6
Views: 1272

And another solution would be copying the freebasic folder somewhere else.

Go to advanced search