TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
gongdehui
NA
63
0
How to do this in C#?
Nov 1 2004 8:31 AM
//VC++ : PackData(CString strInput) { CString strReturned; char nLength = strInput.GetLength() + 2; char b= 0x03; char zero = 0x00; strReturned.Format("%c%c", nLength, b); strReturned += strInput; for(int i = 0;i<(32 - nLength); i++) strReturned += zero; return strReturned; } what does the identical c# code look like? Thanks!
Reply
Answers (
3
)
Many big buttons slowing down Form..
Horizontal scrolling (panning) with tilt wheel mouse