I dont know if this is any help but we made our own 2D code generator in a dll (small task for a .Net developer)
Image image = new Image();
BinData binData;
str strImageBase64;
;
strImageBase64 = Ax.Net.Barcode::GenerateQRBase64("Text to put in the QR code", 300, 300, 600); // size and dpi added after the text
binData = new BinData();
binData.setData(BinData::loadFromBase64(strImageBase64));
binData.saveFile(variableWithATempPath);
image = new Image();
image.setData(binData.getData());
// QRBarcode is a Window control on a form
QRBarcode.imageResource(0);
QRBarcode.imageName(variableWithATempPath);
As you can see first you make the .Net dll create the strBase. Then you create binarydata object which you save at a temp path.
Then you tell the Window on the form to load that binardata file.