Re: Attempting to subscript an atom Error

new topic     » goto parent     » topic index » view thread      » older message » newer message
Icy_Viking said...
xal_get_allegro_primitives_version = define_c_func(prim,"al_get_allegro_primitives_version",{},C_UINT) 
         xal_init_primitives_addon = define_c_func(prim,"+al_init_primitives_addon",{},C_BOOL), 

Could it be that you don't want the + at all, or (less likely) the first is missing a +?
Also, have you checked that none of the xal_init_primitives_addon etc are getting set to -1?
And open_dll() isn't returning null - in my experience Windows is a bit fussy about not having ".dll" at the end of the name, but that might be a Phix thing.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu