Search found 22 matches: bmptostr

Return to advanced search

Re: Problem with BmpToStr() 9.11 vs 10.4

Frances,

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;
 
by Antonio Linares
Thu May 20, 2010 9:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with BmpToStr() 9.11 vs 10.4
Replies: 10
Views: 1688

Problem with BmpToStr() 9.11 vs 10.4

Dear Mr. Antonio,

Here is the syntax using FWH9.11 Works great!
Code: Select all  Expand view
table->photo_image := BmpToStr(oImg:hBitmap)



BUT with the same syntax and using FWH10.4, image cannot be displayed..


I wont go back to V9.11


Please advise.

Regards,
Frances
by fraxzi
Thu May 20, 2010 8:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with BmpToStr() 9.11 vs 10.4
Replies: 10
Views: 1688

Re: Bitmap to String

Dear RAO,

I tried to attached '0x' like '0x'+BmpToStr( oImg:hBitmap )

but with still not saving..


Regards,

FAP
by fraxzi
Sat Mar 27, 2010 7:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap to String
Replies: 11
Views: 4058

Re: Convert HEX vector to image

Dear Mr. Antonio, Similar to the subject.. How about cStr := BmpToStr( oImg:hBitmap ) to be use with this construct.. .."Update sql_table Set thisfield = '"+cStr+"' where field_id = 'abc' "    //not saving..  thisfield ...
by fraxzi
Sat Mar 27, 2010 7:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert HEX vector to image
Replies: 11
Views: 2785

Re: Bitmap to String

... inspector. You can try xbrowse( oWnd ) Dear RAO, I use xBrowse( uVar ) too for debugging unusual variable and even objects. My purpose of using ' BmpToStr() -> bmpstring ', is to attach the bmpstring to sql command something like this.. .."Update table Set blobfield = Convert('" +bmpstring ...
by fraxzi
Thu Mar 25, 2010 1:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap to String
Replies: 11
Views: 4058

Re: New FTDN June/Junio 2009 (9.06)

... * Corrección: La clase TXBrowse no estaba liberando correctamente los objetos GDI. Ahora está perfecta. * Nuevo: Nueva función BmpToStr( hBitmap ) --> cBitmapAsString, esta función permite convertir cualquier imagen de mapa de bits "bitmap" en una cadena de caractéres ...
by Antonio Linares
Mon Jul 20, 2009 10:55 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2009 (9.06)
Replies: 12
Views: 6365

New FTDN June/Junio 2009 (9.06)

... buttons look. Please review FWH\samples\TestBtn3.prg. * Fix: Class TXBrowse was not properly releasing GDI objects. Now it is ok. * New: function BmpToStr( hBitmap ) --> cBitmapAsString, this function allows to convert any bitmap into a string that you can save into a memo field, to SQL servers, ...
by Antonio Linares
Sat Jul 11, 2009 5:12 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2009 (9.06)
Replies: 12
Views: 6365
Previous

Return to advanced search