16,017,100 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 udayRBA (Top 5 by date)
udayRBA
1-Mar-12 7:50am
View
Thanks a lot Fredik. This has solved my problem. But I didn't understand why the error was there even if I was using same connection strings as you. The only change I did in my code is I changed the connection strings with yours and its working now.
udayRBA
27-Feb-12 1:26am
View
Thanks Martin. Bu t in this code too we need to include xsd file in the project and then it will genrate the class file in C#. But my problem is I dont know the xsd file in advance, user will provide the xsd file at runtime. And depending on the schema I have to generate XML file.
udayRBA
24-May-11 1:30am
View
Hi Espen,
problem has been solved. The problem was because of the difference in behavior of BinayWriter and CArchive class when the string is of length more than 128 chars or 255 chars. if the string is of length more than 255 chars then BinaryWriter writes the length in number of bytes.e.g. if length is 355 then it first writes 255(as byte) and the 100(another byte). but CArchive class works differently. It writes or reads length as 255(as byte) and then 355(as unsigned short). It was causing problem. Now I am able to read/write successfully.
Thanks once again.
udayRBA
18-May-11 9:50am
View
Thank you for the solution.
Actually the VC++ application in which I am reading this file is fixed and it reads the string. So I must have to write a string only. I can not write it in form of character array. Is length of the string causing any problem? Please suggest me any other solution.
udayRBA
5-May-11 2:20am
View
Can you please tell me how to implement this? how to write length of string as 32-bit integer?