FWH 16.03 32 BIT

Re: FWH 16.03 32 BIT

Postby Horizon » Tue Apr 19, 2016 6:38 am

ok
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 » Tue Apr 19, 2016 7:01 am

sent
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 » Tue Apr 26, 2016 7:54 am

Hi,

I had another problem with this combination (Harbour, MSVC 2015 and fwh 16.03)

It freezes the application when any runtime error is occured.

I have found that nExtMem freze it.

Code: Select all  Expand view
function NEXTMEM()

return 0


solve the problem. It display the error description. But when I press the Quit button, application gives an error and app. is ended. (Even W10)

When i exit the application normal way (exit button or topright close button) There is not any error W10.

But in W7 there is still an error after exit.

any solution.
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 » Tue Apr 26, 2016 9:18 am

Hakan,

You have to build and execute your app from the Visual Studio debugger. The debugger will stop where there is an error
giving you the oportunity to review the low level calls stack, etc.

Here you have a detailed guide to learn how to do it:
viewtopic.php?f=17&t=28723&start=0

Though the guide is for VS2013, it properly works for VSC2015. In fact I have updated it these days
as I have been using the VSC2015 debugger too
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Thu May 05, 2016 8:32 am

Hi Antonio,

I am very sorry to disturb you again.

I have built msvc 2015 and fwh 16.03 with mak file. But When I exit the program normally in w7, It gives an error. Even w10 (in my computer) it gives an error after fwh errorsysw. I think QUIT command in errorsysw.

in order to debug my application, I have done Visual Studio steps, but I could not build the exe.

I stuck in MSVC 2015 and fwh 16.03.

I could not give any new release to my customer after 16.03. I have not any error like these before msvc 2015. is it possible to run new fwh versions in msvc 2013.

Thanks,
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 TimStone » Thu May 05, 2016 6:38 pm

It is going to be in your settings in the IDE. Please look at the alternate thread I started to help with that process.

Also, be sure ALL of your libraries are built with MSVC 2015. The ones Antonio provides are, but your other libraries may have issues. Be sure you have the most current.

I only have one problem with my MSVS 2015 build and it is strange. I will find it ... I will .... but until then I use the IDE for testing, and the .bat/.mak build for distribution. Although the files are the same, the .bat/.mak executable does not have the problem. However, the IDE build is so much faster to use when making changes to my source code and testing.

BTW, that problem is this. Radio buttons and checkboxes, when clicked, are losing their associated text. That is it.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Thu May 05, 2016 7:18 pm

Hakan,

> I have done Visual Studio steps, but I could not build the exe

What errors do you get ?
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Fri May 06, 2016 6:45 am

Hi Antonio,

I have a few warnings but I have solved most of errors. There is only one error.

Code: Select all  Expand view
#pragma BEGINDUMP

#include <Windows.h>

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

FILE * __iob_func( void )
{
return ( FILE * ) _iob;
}
}
#pragma ENDDUMP
 


error
Code: Select all  Expand view
Severity    Code    Description Project File    Line    Suppression State
Error   C2059   syntax error: 'string'  IcraW   C:\PrgW\Icra\MASTER.PRG 2109   
 


There is not any error compiling with other method. (.mak) (command line)

Thanks.
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 » Fri May 06, 2016 7:22 am

Hakan,

What exact code do you have here ?

C:\PrgW\Icra\MASTER.PRG 2109
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Fri May 06, 2016 7:30 am

Antonio,

As you can see above.

Code: Select all  Expand view
extern "C" {
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 » Fri May 06, 2016 7:41 am

Hakan,

Please try to remove

extern "C" {

and its }
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Fri May 06, 2016 8:01 am

Antonio,

Code: Select all  Expand view
FILE * _iob[] = { stdin, stdout, stderr };


Error
Code: Select all  Expand view
Severity    Code    Description Project File    Line    Suppression State
Error   C2099   initializer is not a constant   IcraW   C:\PrgW\Icra\MASTER.PRG 2110   
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 » Fri May 06, 2016 8:52 am

Try it this way:

FILE * _iob[ 3 ];

_iob[ 0 ] = stdin;
_iob[ 1 ] = stdout;
_iob[ 2 ] = stderr;
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Fri May 06, 2016 9:00 am

Antonio,


Code: Select all  Expand view
#pragma BEGINDUMP

#include <Windows.h>

FILE * _iob[ 3 ];                    

_iob[ 0 ] = stdin;                // Line 2126
_iob[ 1 ] = stdout;
_iob[ 2 ] = stderr;

FILE * __iob_func( void )
{
return ( FILE * ) _iob;
}
#pragma ENDDUMP


Code: Select all  Expand view
Severity    Code    Description Project File    Line    Suppression State
Error   C2040   '_iob': 'int [0]' differs in levels of indirection from 'FILE *[3]' IcraW   C:\PrgW\Icra\MASTER.PRG 2126   
Error   C2369   '_iob': redefinition; different subscripts  IcraW   C:\PrgW\Icra\MASTER.PRG 2127   
Error   C2369   '_iob': redefinition; different subscripts  IcraW   C:\PrgW\Icra\MASTER.PRG 2128   
Error   C2466   cannot allocate an array of constant size 0 IcraW   C:\PrgW\Icra\MASTER.PRG 2126   
Error   C2099   initializer is not a constant   IcraW   C:\PrgW\Icra\MASTER.PRG 2126   
Error   C2099   initializer is not a constant   IcraW   C:\PrgW\Icra\MASTER.PRG 2127   
Error   C2099   initializer is not a constant   IcraW   C:\PrgW\Icra\MASTER.PRG 2128   
 
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 » Fri May 06, 2016 10:38 am

Hakan,

Code: Select all  Expand view
#pragma BEGINDUMP

#include <Windows.h>

FILE * __iob_func( void )
{
   static FILE * _iob[ 3 ];                    
   
   _iob[ 0 ] = stdin;                
   _iob[ 1 ] = stdout;
   _iob[ 2 ] = stderr;

   return ( FILE * ) _iob;
}

#pragma ENDDUMP
regards, saludos

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

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

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