Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

issue on NullLoader class

<< < (5/5)

blueshake:
Thanks. I will have a try when I get my time.

blueshake:
hi,devs:

I think we can learn something from file.h of wxWidget.

code snippet:


--- Code: ---  bool Write(const wxString& s, const wxMBConv& conv = wxConvUTF8)
  {
      const wxWX2MBbuf buf = s.mb_str(conv);
      if (!buf)
          return false;
      size_t size = strlen(buf);
      return Write((const char *) buf, size) == size;
  }
--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version