it's something error when draw qr code image

Apr 23, 2013 at 2:59 AM
Edited Apr 23, 2013 at 3:03 AM
It's some problem that i used the QRCodeCS.cs to draw qr code.
  1. It show error message when compile the QRCodeCS.cs.
    The error message is 【The call is ambiguous between the following methods or properties: 'System.Math.Floor(double)' and 'System.Math.Floor(decimal)'】
    well, I modify the cs to change convert.todouble, then work successful,
2.I use the sample code that:

QRCode4CS.QRCode qrcode = new QRCode4CS.QRCode(new QRCode4CS.Options("123"));
        qrcode.Make();
        for (int row = 0; row < qrcode.GetModuleCount(); row++)
        {
            for (int col = 0; col < qrcode.GetModuleCount(); col++)
            {
                bool isDark = qrcode.IsDark(row, col);
                if (isDark)
                {
                  //my draw qr code image
                }
            }
        }
it can draw image, but my reader can't decode the qr code, and I try generate qr code on web and input same word of 123, my reader can read.
So, it's something error of my way? Please, help something, thanks.

My Environment:
visual studio 2008
.net framwork 3.5
Jan 6, 2015 at 6:05 AM
I had the same question, and how to resolve it?