Corrupt library: 'D:\fwh\lib\user32.lib'

Corrupt library: 'D:\fwh\lib\user32.lib'

Postby dempty » Wed Aug 26, 2009 12:48 pm

Hi Guys,

I have just updated for fwh 9.07 and xhb commercial april 09 and this error came up.

Code: Select all  Expand view

xLINK: fatal error: Corrupt library: 'D:\fwh\lib\user32.lib'.


Type: C >>>Couldn't build: sysfar.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>>      1411<<<


Some body could help me?!


Regards
regards,

Diego Imenes
dempty
 
Posts: 22
Joined: Mon May 19, 2008 8:54 pm

Re: Corrupt library: 'D:\fwh\lib\user32.lib'

Postby nageswaragunupudi » Wed Aug 26, 2009 12:54 pm

Regards

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

Re: Corrupt library: 'D:\fwh\lib\user32.lib'

Postby dempty » Wed Aug 26, 2009 1:16 pm

nageswaragunupudi wrote:Please see the thread
viewtopic.php?f=3&t=16294&p=84223&hilit=user32.lib#p84223


Thanks! I have already downloaded the file antonio asked for: http://www.fivetechsoft.com/files/prnwnd.lib

I included it in my project maker, but i`m still getting the same error.
regards,

Diego Imenes
dempty
 
Posts: 22
Joined: Mon May 19, 2008 8:54 pm

Re: Corrupt library: 'D:\fwh\lib\user32.lib'

Postby dempty » Wed Aug 26, 2009 5:33 pm

I have already renamed prnwnd.lib to user32.lib or including this code that Antonio post in another thread

Code: Select all  Expand view

#pragma BEGINDUMP

#include <windows.h>

typedef BOOL ( FAR PASCAL * LPPRINTWINDOW )( HWND hWnd, HDC hDC, UINT nFlags );

BOOL WINAPI PrintWindow( HWND hWnd, HDC hDC, UINT uiFlags )
{
   LPPRINTWINDOW pPW;  
   HINSTANCE hDLL = LoadLibrary( "user32.dll" );
   BOOL bResult = FALSE;

  if( hDLL )
  {
     pPW = ( LPPRINTWINDOW ) GetProcAddress( hDLL, "PrintWindow" );
     bResult = pPW( hWnd, hDC, uiFlags );
     FreeLibrary( hDLL );
  }
 
  return bResult;
}  

#pragma ENDDUMP
 


and both cases i got a new error:

Code: Select all  Expand view

Creating object: sysfar.EXP

Creating library: sysfar.LIB

xLINK: error: Unresolved external symbol '??2@YAPAXI@Z referenced from Fivehcm.lib(ACTX.obj)'.

xLINK: error: Unresolved external symbol '??3@YAXPAX@Z referenced from Fivehcm.lib(ACTX.obj)'.

xLINK: error: Unresolved external symbol '_HB_FUN_OLEINVOKE referenced from Fivehcm.lib(ACTX.obj)'.

xLINK: error: Unresolved external symbol '_HB_FUN_OLESETPROPERTY referenced from Fivehcm.lib(ACTX.obj)'.

xLINK: error: Unresolved external symbol '_HB_FUN_OLEGETPROPERTY referenced from Fivehcm.lib(ACTX.obj)'.

xLINK: error: Unresolved external symbol '_OleUIPasteSpecialA referenced from Fivehcm.lib(RICHEDIT.obj)'.

xLINK: error: Unresolved external symbol '_GetFileVersionInfoSizeA referenced from Fivehcm.lib(RICHEDIT.obj)'.

xLINK: error: Unresolved external symbol '_GetFileVersionInfoA referenced from Fivehcm.lib(RICHEDIT.obj)'.

xLINK: error: Unresolved external symbol '_VerQueryValueA referenced from Fivehcm.lib(RICHEDIT.obj)'.

xLINK: fatal error: 9 unresolved external(s).


Type: C >>>Couldn't build: sysfar.exe<<<
regards,

Diego Imenes
dempty
 
Posts: 22
Joined: Mon May 19, 2008 8:54 pm

Re: Corrupt library: 'D:\fwh\lib\user32.lib'

Postby Antonio Linares » Wed Aug 26, 2009 6:38 pm

Diego,

Please review this topic:
viewtopic.php?f=3&t=15225&start=0

The file to link is here:
www.fivetechsoft.com/files/xhb.obj
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Corrupt library: 'D:\fwh\lib\user32.lib'

Postby Antonio Linares » Wed Aug 26, 2009 6:41 pm

Also add this code to your app:
viewtopic.php?p=80134#p80134
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Corrupt library: 'D:\fwh\lib\user32.lib'

Postby Antonio Linares » Wed Aug 26, 2009 6:43 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Corrupt library: 'D:\fwh\lib\user32.lib'

Postby dempty » Wed Aug 26, 2009 7:38 pm

Antonio,

Thanks for all help!

I could compile with no errors!!

I use xhb( .com ) and sqllrdd and now all the operation in my system that open table is showing an error. Do u think i still have to do something with fwh or better show this error for xhb?

Code: Select all  Expand view

Erro BASE/1449  Syntax error: &
   Args:
     [   1] = C   {\\  }

Chamada de
===========
SR_WORKAREA:SQLOPENALLINDEXES(1404)
DBUSEAREA(0)
CLIENTE(1560)
MAIN(789)
 
regards,

Diego Imenes
dempty
 
Posts: 22
Joined: Mon May 19, 2008 8:54 pm

Re: Corrupt library: 'D:\fwh\lib\user32.lib'

Postby Antonio Linares » Wed Aug 26, 2009 9:09 pm

Diego,

I think you should report it to xHB.com as it does not seem to be related to FWH
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Corrupt library: 'D:\fwh\lib\user32.lib'

Postby nageswaragunupudi » Thu Aug 27, 2009 2:58 am

I have observed that in FWH 9.07, if we do not use RibbonBar, we need not include user32.lib. Probably this is a simpler solution if the application does not use RibbonBar
Regards

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

Re: Corrupt library: 'D:\fwh\lib\user32.lib'

Postby Antonio Linares » Thu Aug 27, 2009 5:07 am

Rao,

In FWH 9.08 it is no longer needed :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Corrupt library: 'D:\fwh\lib\user32.lib'

Postby nageswaragunupudi » Thu Aug 27, 2009 5:11 am

Antonio Linares wrote:Rao,

In FWH 9.08 it is no longer needed :-)

Yes
I have seen that. Thanks for the modification
The above tip is for users of FWH 907
Regards

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 91 guests