ok
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.06
ok
sent
function NEXTMEM()
return 0Hakan,
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=17t=28723start=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
&&
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,
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
Hakan,
> I have done Visual Studio steps, but I could not build the exe
What errors do you get ?
#pragma BEGINDUMP
#include <Windows.h>
extern "C" { // Line 2109
FILE * _iob[] = { stdin, stdout, stderr };
FILE * __iob_func( void )
{
return ( FILE * ) _iob;
}
}
#pragma ENDDUMPSeverity Code Description Project File Line Suppression State
Error C2059 syntax error: 'string' IcraW C:\PrgW\Icra\MASTER.PRG 2109Hakan,
What exact code do you have here ?
C:\PrgW\Icra\MASTER.PRG 2109
Hakan,
Please try to remove
extern "C" {
and its }
FILE * _iob[] = { stdin, stdout, stderr };Severity Code Description Project File Line Suppression State
Error C2099 initializer is not a constant IcraW C:\PrgW\Icra\MASTER.PRG 2110Try it this way:
FILE * _iob[ 3 ];
_iob[ 0 ] = stdin;
_iob[ 1 ] = stdout;
_iob[ 2 ] = stderr;
#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 ENDDUMPSeverity 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#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