Equivalent CHAR

BlitzMax Forums/BlitzMax Beginners Area/Equivalent CHAR

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok, from the the way I understand it, using the VarPtr(lfont.lfFaceName) method with a memcopy, that would be writing the contents of the string starting at the address of lfont.lfFaceName.

If the above is true, lfont.lfFaceName would need to be a 32 byte continual block of memory (with lfont.lfFaceName being the first byte), extending the LOGFONT struct.

Or is that not what VarPtr(bleh) would be returning?