Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How I can decode TIdMessage from koi8-r to windows-1251?
#6
(08-31-2018, 11:00 AM)SergJP Wrote: Couldn't you give an example how to call them from C++ builder?

Like this:

Code:
#include <IdHeaderCoderBase.hpp>
#include <IdHeaderCoderIndy.hpp>

__fastcall TMainForm::TMainForm(TComponent *Owner)
    : TForm(Owner)
{
    // make sure TIdHeaderCoderIndy is at the end of the list...
    UnregisterHeaderCoder(__classid(TIdHeaderCoderIndy));
    RegisterHeaderCoder(__classid(TIdHeaderCoderIndy));
}

Reply


Messages In This Thread
RE: How I can decode TIdMessage from koi8-r to windows-1251? - by rlebeau - 08-31-2018, 04:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)