16,004,686 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Donguy1976 (Top 6 by date)
Donguy1976
9-Feb-19 19:47pm
View
Can you please provide some sample code on rethrowing the exception?
Donguy1976
9-Feb-19 19:46pm
View
Deleted
Can you please provide some sample code on rethrowing the exception?
Donguy1976
9-Feb-19 8:55am
View
Client doesn't need to do anything here. The exception needs to be handled just within the DLL code. The IF condition I wrote above is just to catch the exception within DLL and process. i.e., write the exception info to a log file or something.
But I still don't get, how to move that IF condition block to a separate function, so that it doesn't need to be duplicated multiple times in the GetNumbers function.
Donguy1976
14-Jan-18 0:58am
View
I think the best way might be to start with a smaller XML file.
<houseinfo>
<housenumber>1
<houselog>
<roominfo>
<roomnumber>1
<timestamp>2017-12-29T12:16:51
So for the above XML, can you please help me write an XSD and also a DB script that will generate the necessary table(s) in a DB? Thanks!
Donguy1976
29-Jan-17 23:32pm
View
I understand that XML can be single line. But in my case we're making sure that the XML is multiple lines and the purpose of getting line number is to let user know if there's an error in one or multiple tags. So are you saying that there's no way of doing it in C++? Other than writing my own XML parsing logic to get line numbers?
Donguy1976
29-Jan-17 17:06pm
View
This solution will work if there's only one tag of the particular type. What if there're multiple tags of same type? i.e., if i want line number for tag <documenttype> and then it's present in multiple places in the XML file.
Show More