Error using QRCodeEncoder

  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • strict warning: Only variables should be assigned by reference in /home/mwkoh/twit88.com/home/modules/links/links_related.module on line 204.
  • strict warning: Only variables should be assigned by reference in /home/mwkoh/twit88.com/home/modules/links/links_related.module on line 426.
  • strict warning: Only variables should be assigned by reference in /home/mwkoh/twit88.com/home/modules/links/links.inc on line 1121.
  • strict warning: Only variables should be assigned by reference in /home/mwkoh/twit88.com/home/modules/links/links.inc on line 1121.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/mwkoh/twit88.com/home/includes/file.inc on line 647.

Hi,

i've downloaded the QRCode Library. Now i'm compiling the sample app and when i try to encode the standard text to an Image i getting the following error:

IndexOutOfRangeException in QRCodeEncoder.cs - Line 778 (code see below)

while (i2 < maxDataCodewords)
{
rsTemp[rsBlockNumber][j] = codewords[i2];
j++;
if (j >= (rsBlockOrder[rsBlockNumber-1] & 0xFF) - rsEccCodewords) <-- HERE IS THE ERROR
{
j = 0;
rsBlockNumber++;
}
i2++;
}

can some one help me please :)

Another question at last, why is ther no compiled version of the dll ???

i am usin c# 2008 Express and sorry for my bad english

Coolzero