Search found 22 matches: bmptostr

Return to advanced search

Re: Insert a photo

BmpToStr( oImage:GetHBitmap() )
by nageswaragunupudi
Sun Nov 11, 2018 5:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Insert a photo
Replies: 12
Views: 1880

Re: Copy/Past from Excel/Calc to xBrowse

... CLIPBOARD oClp OF ::oWnd FORMAT BITMAP uClip := oClp:GetBitmap() if uClip != 0 .and. ::SelectedCol():nEditType > 0 ::SelectedCol():VarPut( BmpToStr( uClip ) ) oClp:Clear() endif oClp:End() endif DEFINE CLIPBOARD oClp OF ::oWnd FORMAT TEXT if FW_SetUnicode() uClip := oClp:GetUnicodeText() ...
by Marco Turco
Tue Dec 01, 2015 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy/Past from Excel/Calc to xBrowse
Replies: 14
Views: 3312

Binary file to field via SQL - SOLVED!

Dear All,

if sending image via SQL, there's BmpToStr() function. What if sending binary (.pdf or .rtf)? BinToStr() or similar?

Anyone?
by fraxzi
Thu Oct 09, 2014 6:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Binary file to field via SQL - SOLVED!
Replies: 7
Views: 1772

New FTDN October/Octubre (FWH 10.10)

... dialog with transparent clause * Fix: Class Say to paint in transparent mode * Fix: Function DibWrite, now work properly * Enhancement: Function BmpToStr, simplified code to work same way DibWrite function
by Antonio Linares
Sun Oct 31, 2010 2:05 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre (FWH 10.10)
Replies: 0
Views: 1405

Re: New FTDN May/Mayo 2010 (FWH 10.5)

... soportan color de fondo. Usado por la función SkinButtons(). Gracias a Frances Padilla! * Corrección: De un pequeño error en la función BmpToStr() causado por el cambio reciente de compilador de C. Ahora está correcto. * Mejora: Método toExcel() en la clase XBrowse: Se ha suprimido la ...
by Antonio Linares
Fri May 28, 2010 9:16 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2010 (FWH 10.5)
Replies: 2
Views: 2124

New FTDN May/Mayo 2010 (FWH 10.5)

... Class TSkinButtons supports disabled buttons background color. Used from the function SkinButtons(). Thanks to Frances Padilla! * Fix: function BmpToStr() bug caused by the recent C compiler change. Now it is ok. * Improvement: XBrowse method toExcel(): Screen updating is suppressed to speed ...
by Antonio Linares
Thu May 27, 2010 9:45 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2010 (FWH 10.5)
Replies: 2
Views: 2124

Re: Problem with BmpToStr() 9.11 vs 10.4

Antonio Linares wrote:Frances,

Here you have dibbmp.obj:

http://www.mediafire.com/?eoyqi0z3xnj


Dear Mr. Antonio,

With this new dibbmp.obj the problem solved.

I hope this included in 10.5 :)


Best Regards,
Frances
by fraxzi
Thu May 20, 2010 11:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with BmpToStr() 9.11 vs 10.4
Replies: 10
Views: 1686

Re: Problem with BmpToStr() 9.11 vs 10.4

... in function HB_FUNC Warning W8070 dibbmp.c 272: Function should return a value in function HB_FUNC Warning W8057 dibbmp.c 272: Parameter 'BMPTOSTR' is never used in function HB_FUNC *** 4 errors in Compile ***
by fraxzi
Thu May 20, 2010 10:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with BmpToStr() 9.11 vs 10.4
Replies: 10
Views: 1686

Re: Problem with BmpToStr() 9.11 vs 10.4

... in function HB_FUNC Warning W8070 dibbmp.c 272: Function should return a value in function HB_FUNC Warning W8057 dibbmp.c 272: Parameter 'BMPTOSTR' is never used in function HB_FUNC *** 6 errors in Compile *** Im using xHarbour 1.21.6406 for this compile Regards, Frances
by fraxzi
Thu May 20, 2010 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with BmpToStr() 9.11 vs 10.4
Replies: 10
Views: 1686

Re: Problem with BmpToStr() 9.11 vs 10.4

Mr. Antonio,

I will try immediately... Will let you know..


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

Re: Problem with BmpToStr() 9.11 vs 10.4

Frances,

Simply do:

c:\bcc582\bin\bcc32 -c -Ic:\xharbour\include dibbmp.c

then replace the resulting dibbmp.obj into fivehc.lib this way:

c:\bcc582\bin\tlib fivehc.lib -+ dibbmp.obj
by Antonio Linares
Thu May 20, 2010 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with BmpToStr() 9.11 vs 10.4
Replies: 10
Views: 1686

Re: Problem with BmpToStr() 9.11 vs 10.4

Antonio Linares wrote:Frances,

Do you use Borland C ?



Mr. Antonio,

I use BCC582 for all the apps..


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

Re: Problem with BmpToStr() 9.11 vs 10.4

Frances,

Do you use Borland C ?
by Antonio Linares
Thu May 20, 2010 9:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with BmpToStr() 9.11 vs 10.4
Replies: 10
Views: 1686

Re: Problem with BmpToStr() 9.11 vs 10.4

Antonio Linares wrote: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;
 



Mr. Antonio,

How can I compile this and include in my library?

Sorry.. very urgent. apps compiled with 10.4 already deployed..


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

Return to advanced search