15,913,722 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 Python 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 Member 11937050 (Top 22 by date)
Member 11937050
4-Apr-16 4:06am
View
non blocking error is coming in unicode were as its w orking in ansi
Member 11937050
4-Apr-16 2:33am
View
Wsarecv is failing in unicode
Member 11937050
1-Apr-16 10:32am
View
Deleted
::socket this function is returning wrong value
Member 11937050
1-Apr-16 10:26am
View
Deleted
its thrwoing error if i passed
Member 11937050
29-Mar-16 12:12pm
View
yes , thanks for inputs i will check once..
Member 11937050
29-Mar-16 11:57am
View
this what iam doing please suggest me any modifications
Member 11937050
29-Mar-16 11:57am
View
void CXTest::Load(CString& val)
{
WORD nLen;
LoadWord(nLen);
LPTSTR pBuffer = val.GetBuffer(nLen + 1);
#ifdef UNICODE
MultiByteToWideChar(CP_ACP, 0, (LPSTR)m_pData, nLen, PData, val.GetLength());
#else
memcpy(PData, m_pData, nLen);
#endif
PData[nLen] = _T('\0');
val.ReleaseBuffer();
}
Member 11937050
29-Mar-16 11:53am
View
how to get the pdata size in characters nWideSize
Member 11937050
29-Mar-16 11:52am
View
can you please tell me what i have to do for that
Member 11937050
29-Mar-16 11:45am
View
but its working . nLen is the length of m_pdata and pdata length also will be same right ?
Member 11937050
29-Mar-16 11:39am
View
MultiByteToWideChar(CP_ACP, 0, (LPSTR)m_pdata, -1, pdata, nLen);
is this correct ?
Member 11937050
29-Mar-16 11:36am
View
nWideSize what this ?
Member 11937050
29-Mar-16 11:00am
View
yes .....
Member 11937050
29-Mar-16 10:38am
View
pdata- LPTSTR
nlen = is length of m_pdata
Member 11937050
23-Mar-16 6:50am
View
as per you there is no need of below
if ( pDTerst)
delete pDTerst;
statement
thanks
Member 11937050
29-Feb-16 6:37am
View
okay
Member 11937050
29-Feb-16 5:16am
View
i am using CRLF but dont know how the EOL is old mac format ..how its possilbe
Member 11937050
29-Feb-16 5:10am
View
no change is there
Member 11937050
29-Feb-16 5:10am
View
okay
Member 11937050
29-Feb-16 3:26am
View
if i do reomve(\n) its working in notepad++ but its not wrking in notepad what might be the problem ?
Member 11937050
29-Feb-16 3:18am
View
ANSI - both are ansi
Member 11937050
26-Feb-16 5:49am
View
CStidoFile CString ReadString it will read line by line ?
Show More