12-03-2004, 04:25 PM
Any external procs need to be declared with an ALIAS "realnamehere", coz all symbols are case-insensitive in FB.
The alias name doesn't have to include the initial _ or @, they will be added (unless the C proc already has an initial underscore on its name, course).
There's no extern, GAS will turn any non-declared symbol as extern automagically.
As Rel said, Angelo told us that it will a bitch to port, mainly 'cause the Allegro's main function - i know nothing about Allegro for Windows, i can't help on that.
The alias name doesn't have to include the initial _ or @, they will be added (unless the C proc already has an initial underscore on its name, course).
There's no extern, GAS will turn any non-declared symbol as extern automagically.
As Rel said, Angelo told us that it will a bitch to port, mainly 'cause the Allegro's main function - i know nothing about Allegro for Windows, i can't help on that.
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php