Re: Phix language

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...

Elsewhere, dword-sequences can be used in place of strings, eg

  open_dll("kernel32.dll") 
  open_dll({'k','e','r','n','e','l','3','2','.','d','l','l'}) 

behave the same though the later automatically does the same sort of "pack" that OpenEu must be doing.

Yes, anything that ends up going to an external C func gets run through MakeCString, which basically truncates the data down to a char (from a 31-bit integer, 63-bit integer, 64-bit floating point or 80-bit floating point, depending on the platform and the data).

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu