Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alternate entry-point
#4
Declaring as a proc will be enough:

Code:
sub foo cdecl alias "foo"

    print "no std entry-point called!"
    
    end 0

end sub

Code:
fbc test.bas -entry _foo

END() has to be explicitly called or the proc would return to nowhere..
Reply


Messages In This Thread
Alternate entry-point - by 1000101 - 04-18-2005, 11:11 PM
Alternate entry-point - by v3cz0r - 04-19-2005, 06:04 AM
Alternate entry-point - by 1000101 - 04-19-2005, 05:33 PM
Alternate entry-point - by v3cz0r - 04-20-2005, 05:51 AM
Alternate entry-point - by 1000101 - 04-21-2005, 03:27 AM
Alternate entry-point - by fsw - 04-21-2005, 07:02 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)