Please replace this line in function BmpToStr() in /source/winapi/dibbmp.c:
- Code: Select all Expand view
bmf.bfType = 'BM';
with:
- Code: Select all Expand view
bmf.bfType = 0x4D42;
bmf.bfType = 'BM';
bmf.bfType = 0x4D42;
table->photo_image := BmpToStr(oImg:hBitmap)