error in toexcel()

error in toexcel()

Postby artu01 » Thu Nov 24, 2022 10:55 pm

Mr. RAO:
This error was repaired in the xbrowse.prg?
Code: Select all  Expand view

...
#ifndef __XHARBOUR__
   else
      //
      SysRefresh()
      //
      // This requires explanation.
      // With xHarbour there is no problem. Problem is with Harbour only
      // return value of this function is oSheet which is an Object. xHarbour returns as object
      // If SysRefresh() is called here, Harbour returns oSheet as an object
      // if not it returns an Array of two numeric elements.
      // I am unable to understand this phenomenon.
      // Till we understand what is happening, keep SysRefresh() here for
      // Harbour build.
      // 2015-06-02
#endif
   endif

return oSheet
 
fwh 17.12, harbour 3.2.0, pelles C, bcc7, Ms-Sql
artu01
 
Posts: 400
Joined: Fri May 11, 2007 8:20 pm
Location: Lima

Re: error in toexcel()

Postby nageswaragunupudi » Sat Nov 26, 2022 3:39 pm

This is not an error.
ToExcel works perfectly.
Keeping SysRefresh() already fixed the issue with Harbour,
The comment is only for information why SysRefresh() is used for Harbour only but not for xHarbour.

You can confidently use the existing method ToExcel() with both Harbour / xHarbour and both 32/64 bits and both Borland/MSVC.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10643
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 100 guests