Home » U++ Library support » U++ SQL » MSSQL error management
Re: MSSQL error management [message #49634 is a reply to message #49632] |
Mon, 19 March 2018 12:58 |
|
mirek
Messages: 13986 Registered: November 2005
|
Ultimate Member |
|
|
Giorgio wrote on Mon, 19 March 2018 12:40Hi Mirek,
mssql is defined as MSSQLSession: this application basically retrieves data from a sqlite db and put them into a MS SQL db, so I have two different sql sessions and I do not use the global SQL session.
The SqlSession:: before the ThrowOnError was a typo and I removed it.
I tried to put the DDUMP but I get a really weird error from the compiler: "error C2018: unknown character '0x40'". This error pops up on the lines "DDUMP(b);" and "DDUMP(session.throwonerror);", if I remove those lines the application compiles. I opened the .cpp file with an hex editor and did not find any 0x40 char. Also I updated the compiler to VS2017 (previously I used 2015), bu the error still appears.
Regards,
gio
This is because you are compiling in release mode. "DDUMP" is only supposed to be temporary debugging thing, in debug mode only.
Either compile as debug, or use RDUMP instead.
(Overview:
DDUMP, DLOG - logs in debug, prevents compilation in release mode - that is to force you to remove temporary dumps before the release
LOG, DUMP - logs in debug, NOP in release
RLOG, RDUMP - logs in both debug and release
)
Mirek
|
|
|
|
|
MSSQL error management
By: Giorgio on Fri, 16 February 2018 10:36
|
|
|
Re: MSSQL error management
By: mirek on Sat, 24 February 2018 19:21
|
|
|
Re: MSSQL error management
By: mirek on Sat, 24 February 2018 19:39
|
|
|
Re: MSSQL error management
By: Giorgio on Mon, 26 February 2018 15:01
|
|
|
Re: MSSQL error management
By: mirek on Mon, 26 February 2018 16:22
|
|
|
Re: MSSQL error management
By: Giorgio on Fri, 09 March 2018 18:40
|
|
|
Re: MSSQL error management
By: mirek on Wed, 14 March 2018 10:39
|
|
|
Re: MSSQL error management
By: Giorgio on Mon, 19 March 2018 12:40
|
|
|
Re: MSSQL error management
By: mirek on Mon, 19 March 2018 12:58
|
|
|
Re: MSSQL error management
By: Giorgio on Mon, 19 March 2018 14:50
|
|
|
Re: MSSQL error management
By: mirek on Mon, 19 March 2018 16:35
|
|
|
Re: MSSQL error management
By: Giorgio on Tue, 20 March 2018 11:15
|
|
|
Re: MSSQL error management
By: mirek on Tue, 20 March 2018 16:42
|
|
|
Re: MSSQL error management
By: Giorgio on Wed, 21 March 2018 13:14
|
|
|
Re: MSSQL error management
By: mirek on Wed, 21 March 2018 14:41
|
|
|
Re: MSSQL error management
By: mirek on Wed, 21 March 2018 15:25
|
|
|
Re: MSSQL error management
By: Giorgio on Wed, 21 March 2018 15:58
|
|
|
Re: MSSQL error management
By: mirek on Wed, 21 March 2018 16:14
|
|
|
Re: MSSQL error management
By: Giorgio on Wed, 21 March 2018 16:30
|
|
|
Re: MSSQL error management
By: mirek on Wed, 21 March 2018 18:46
|
|
|
Re: MSSQL error management
By: Giorgio on Thu, 22 March 2018 09:06
|
Goto Forum:
Current Time: Mon Jun 17 00:31:20 CEST 2024
Total time taken to generate the page: 0.02260 seconds
|