![]() |
|
#1
|
||||
|
||||
functions seems not to exit from a certain code blockHi there. I have a function that retrieve data from a database. The data retrieved here will be used for creating a xml type of message.The functions does what it is supposed to do. The problem here is when I try to test it for possible error, the functions seems not to exit from a certain code block ( exit ).
here is a sample of my log file Quote:
I have no idea how to fix this, can anyone help me or atleast give some insight on what is happening here. BTW: I'm using MVC6 , win2k and my database is DB2. The test I've made here is by removing my logon to database function, so when I try to access the function there should be an error log. here is the code CPP / C++ / C Code:
SQLError... CPP / C++ / C Code:
I appologize if my english seems bad, it's not my native language. Regards, jaro __________________
Action.....reAction |
|
#2
|
||||
|
||||
Re: functions seems not to exit from a certain code blockHi again,
I've already found the solution to my problem. I just made some modification. here the code. CPP / C++ / C Code:
although I'm not quite sure if this solution is the best out there, but for now IWFM. Regards, Jaro __________________
Action.....reAction |
|
#3
|
|||
|
|||
Re: functions seems not to exit from a certain code blockwhat language is that in getData???
|
|
#4
|
||||
|
||||
Re: functions seems not to exit from a certain code blockQuote:
I'm writing an Embedded SQL in C. stupid me, I forgot to mention this in my first post. __________________
Action.....reAction |
Recent GIDBlog
2nd Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange C++ code memory leakage problem | gaoanyu | CPP / C++ Forum | 7 | 04-Nov-2005 08:09 |
| Guidelines for posting requests for help - UPDATED! | WaltP | CPP / C++ Forum | 0 | 21-Apr-2005 02:44 |
| Problem with int mixed with char,... | leitz | CPP / C++ Forum | 17 | 07-Dec-2004 20:56 |
| Having a problem | Chuckles | Computer Hardware Forum | 19 | 13-Sep-2004 12:17 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The