Search found 19 matches: getguiresources

Return to advanced search

Re: Fuga de recursos

Rolando, No existe la function GetGdiObjects() pero si existe la función GetGuiResources(): http://msdn.microsoft.com/en-us/library/ms683192.aspx de todas formas solo te da el número de objetos en uso, y nada más. Usando SetResDebug( .T. ) y ...
by Antonio Linares
Tue Jul 30, 2013 2:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fuga de recursos
Replies: 16
Views: 5093

... * Mejora: En la clase TMsgBar, el cursor "mano" sólo se muestra cuando el parámetro MsgItem contiene una acción a realizar. * Mejora: La función GetGuiResources(), recientemente añadida, ha sido modificada para ser enlazada dinámicamente. Esta corrección se debe a un problema de incompatibilidad ...
by Antonio Linares
Sat Mar 29, 2008 9:25 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN March / Marzo 2008 (8.03)
Replies: 6
Views: 4941

New FTDN March / Marzo 2008 (8.03)

... Enhancement: Class TMsgBar, the hand cursor is only shown when a MsgItem contains an action to be fired. * Enhancement: The recent added function GetGuiResources() has been modified to be dynamically linked. This fixes an uncompatibility problem with Windows NT. * New: command REDEFINE XBROWSE ...
by Antonio Linares
Wed Mar 12, 2008 7:27 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN March / Marzo 2008 (8.03)
Replies: 6
Views: 4941

FWH8.02 + MSVC + xHarbour error

Hello, Please consider this scenario: 1. I use default installation of Windows XP SP-2 2. I use latest FWH 8.02 installed to default location: C:\FWH 3. I use latest xHarbour CVS at default location: C:\xHarbour 4. I use VS 2005, installed to default location C:\Program Files\Microsoft Visual Studio...
by patrickmast
Wed Mar 12, 2008 7:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH8.02 + MSVC + xHarbour error
Replies: 3
Views: 853

Norberto,

Force to link the new GetGuiResources() from your main PRG this way:
Code: Select all  Expand view
if .F.
   GetGuiResources()
endif
by Antonio Linares
Fri Feb 22, 2008 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error fwh802 getguiresources and windows nt 4 work
Replies: 28
Views: 3586

Norberto,
I'm not sure how vital GetGuiResources() is but if I were you, rather than going back to an older version of FWH I'd just put in a stub of GetGuiResources() for the time being.
by hua
Fri Feb 22, 2008 3:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error fwh802 getguiresources and windows nt 4 work
Replies: 28
Views: 3586

Antonio, solved, not LIBRARY, but LIB, in syntax.

thanks

DLL FUNCTION GetGuiResources( hProcess AS LONG, uiFlags AS LONG ) AS LONG PASCAL LIB "user32.dll"
by norberto
Thu Feb 21, 2008 6:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error fwh802 getguiresources and windows nt 4 work
Replies: 28
Views: 3586

Norberto,

My mistake, this is the right syntax:

DLL FUNCTION GetGuiResources( hProcess AS LONG, uiFlags AS LONG ) AS LONG PASCAL LIB "user32.dll"
by Antonio Linares
Thu Feb 21, 2008 6:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error fwh802 getguiresources and windows nt 4 work
Replies: 28
Views: 3586

Antonio, i make this:

#include 'dll.ch'

DLL FUNCTION GetGuiResources( hProcess AS LONG, uiFlags AS LONG ) AS LONG PASCAL LIBRARY "user32.dll"

and receive:

Error E0030 Syntax error: "syntax error at 'FUNCTION'"

whats wrong??
by norberto
Thu Feb 21, 2008 6:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error fwh802 getguiresources and windows nt 4 work
Replies: 28
Views: 3586

Add this to your main PRG:

DLL FUNCTION GetGuiResources( hProcess AS LONG, uiFlags AS LONG ) AS LONG PASCAL LIBRARY "user32.dll"
by Antonio Linares
Thu Feb 21, 2008 1:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error fwh802 getguiresources and windows nt 4 work
Replies: 28
Views: 3586

Norberto,

We need to change our code to load getguiresources dynamically.
by Antonio Linares
Wed Feb 20, 2008 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error fwh802 getguiresources and windows nt 4 work
Replies: 28
Views: 3586

Error fwh802 getguiresources and windows nt 4 work

Hi, fwh802 works fine in xp, but in some workstations with windows nt 4 work+sp6 got this error :

getguiresources in user32.dll

fwh801 dont ocour.

thanks
by norberto
Wed Feb 20, 2008 12:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error fwh802 getguiresources and windows nt 4 work
Replies: 28
Views: 3586

Dutch, > xLINK: error: Unresolved external symbol '_GetGuiResources'. The problem is caused as xHB does not provide a proper import library for that function. xHB should provide all the Windows import libraries with its included C compiler. gui.lib does not contains code. It is just an import lib...
by Antonio Linares
Sat Feb 16, 2008 10:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error '_GetGuiResources'. Fixed
Replies: 11
Views: 2520

How to resize oPanel

... Test() local oDlg, cPass := Space( 4 ) DEFINE DIALOG oDlg RESOURCE "test" REDEFINE GET cPass ID 100 OF oDlg ACTIVATE DIALOG oDlg CENTERED MsgInfo( GetGuiResources() ) return nil //----------------------------------------------------------------------------// procedure AppSys // XBase++ requirement ...
by Otto
Fri Feb 15, 2008 5:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to resize oPanel
Replies: 6
Views: 1283

Error '_GetGuiResources'. Fixed

Dear Antonio, I've used xHb.com Nov'07 & FWH 8.02 and it got this error. I didn't find any post with this error. But I try with 8.01, it's ok. Thanks in advance, Dutch xLINK: error: Unresolved external symbol '_GetGuiResources'. xLINK: fatal error: 1 unresolved external(s). Type: C >>>C...
by dutch
Fri Feb 15, 2008 2:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error '_GetGuiResources'. Fixed
Replies: 11
Views: 2520
Next

Return to advanced search