FWH 16.03 32 BIT

Re: FWH 16.03 32 BIT

Postby Horizon » Sun Apr 10, 2016 9:30 am

Code: Select all  Expand view  RUN
  Creating library IcraW.lib and object IcraW.exp
SKeyLi32.lib(CompID_HardDrive.obj) : error LNK2001: unresolved external symbol _sprintf
SKeyLi32.lib(GetBios.obj) : error LNK2001: unresolved external symbol _sprintf
SKeyLi32.lib(CompnoPlus.obj) : error LNK2001: unresolved external symbol _sprintf
SKeyLi32.lib(CompID_WindowsInfo.obj) : error LNK2001: unresolved external symbol _sprintf
SKeyLi32.lib(CompID_WMI.obj) : error LNK2001: unresolved external symbol _sprintf
SKeyLi32.lib(Internal.obj) : error LNK2001: unresolved external symbol _sprintf
SKeyLi32.lib(LFCreate.obj) : error LNK2001: unresolved external symbol _sprintf
SKeyLi32.lib(LFOpen.obj) : error LNK2001: unresolved external symbol _sprintf
SKeyLi32.lib(CompID_ServerMAC.obj) : error LNK2001: unresolved external symbol _sprintf
hbssl.lib(ssl.obj) : error LNK2019: unresolved external symbol ___iob_func referenced in function _app_stdin
IcraW.exe : fatal error LNK1120: 2 unresolved externals


SKeyLi32.lib is the Protection Plus library from SoftwareKey.

How Can I solve this problem?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Sun Apr 10, 2016 10:00 am

Hakan,

Try to link legacy_stdio_definitions.lib from MS
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Sun Apr 10, 2016 10:33 am

Thank you Antonio,

Most of them are gone.

just.

Code: Select all  Expand view  RUN
  Creating library IcraW.lib and object IcraW.exp
hbssl.lib(ssl.obj) : error LNK2019: unresolved external symbol ___iob_func referenced in function _app_stdin
IcraW.exe : fatal error LNK1120: 1 unresolved externals


I have downloaded hbssl_32bits_vsc2015.zip from bitbucket and put it in \Harbour\Lib. Same.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Sun Apr 10, 2016 10:54 am

Hakan,

Please try to add this code to your main PRG:

#pragma BEGINDUMP

#include <Windows.h>

FILE * __iob_func( void )
{
return { * stdin, * stdout, * stderr };
}

#pragma ENDDUMP
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Sun Apr 10, 2016 11:00 am

This seems the right version:

#pragma BEGINDUMP

#include <Windows.h>

FILE * _iob[] = { stdin, stdout, stderr };

FILE * __iob_func( void )
{
return ( FILE * ) _iob;
}

#pragma ENDDUMP
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Sun Apr 10, 2016 11:07 am

Antonio,

Unfortuanely,

Same error.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Sun Apr 10, 2016 11:20 am

This one ?

hbssl.lib(ssl.obj) : error LNK2019: unresolved external symbol ___iob_func referenced in function _app_stdin
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Sun Apr 10, 2016 11:25 am

yes
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Sun Apr 10, 2016 11:34 am

This may work:

#pragma BEGINDUMP

#include <Windows.h>

extern "C" {
FILE * _iob[] = { stdin, stdout, stderr };

FILE * __iob_func( void )
{
return ( FILE * ) _iob;
}
}

#pragma ENDDUMP
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Sun Apr 10, 2016 11:38 am

It works now.

Thank you Antonio.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Horizon » Wed Apr 13, 2016 8:50 am

Hi Antonio,

after 2015 and fwh 16.03 update, My application is not working in Windows XP.

Link line :
Code: Select all  Expand view  RUN
  "$(VCDIR)"\bin\link @msvc.tmp /nologo /subsystem:WINDOWS,5.01 /force:multiple \
        /NODEFAULTLIB:msvcrt /OUT:IcraW.exe> link.log


Error :
Image

What Can I do?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Wed Apr 13, 2016 9:09 am

Hakan,

We need to identify what Windows API functions your EXE is linking

Please use this app to review your current EXE and your older EXE imported symbols:

https://bitbucket.org/fivetech/fivewin-contributions/downloads/peinfo.exe

Please compare both results and let me know if there are differences
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Wed Apr 13, 2016 12:54 pm

Antonio,

left side 2013
other side 2015

Image

I dont know where to compare? :(
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Horizon » Thu Apr 14, 2016 6:21 am

:cry:
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Thu Apr 14, 2016 6:45 am

Hakan,

Please email me the two EXEs into a zip file renamed as zop, thanks
regards, saludos

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

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 49 guests