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 Karsten Malmquist (Top 8 by date)
Karsten Malmquist
29-Oct-11 12:34pm
View
Honestly, I don't really know what C++/CLI is. Although now that i'm thinking about it, i'm not sure why I changed it back.
Karsten Malmquist
25-Oct-11 12:13pm
View
I did find out how to link it propperly, turned out that you had to link it to a specific HD location unlike the other external libraries for SDL.
Karsten Malmquist
24-Sep-11 17:42pm
View
My question was poorly written; I am using C++, not .NET. My question was how to get the contents of a std::string and put it into a UDP packet (I am making a server application), the UDP packet has a member called "data", but it was kind of hard to explain how the Uint8 variable was declared since I can't find the code of the structure that the variable is a member of. I would imagine that the variable is an array since you can fit multiple characters in it, but the fact that there is no indexing used also kind of eliminates that.
Also, with "(!µ@" I meant that when you write to a file using the fprintf function, then it writes some stuff that is not normal characters to the file during execution, and when you used the fscanf function to read the text from the file, then it read those weird characters so that it could for example read "(!µ@".
Karsten Malmquist
5-Apr-11 12:10pm
View
I am using Dec-C++ (version 5), but I have Visual studio installed on my computer.
Karsten Malmquist
18-Jan-11 15:03pm
View
I still don't understand, if I were to display text to a label I would use the library "windows.h" and write it like this: this->label1->Text = L"Text"; but do I need to write it in a completely different way to display a string (would prefer if you could write it in code if you dont mind). And what do I need to include for the "str.Format", because it says it's a undeclared identifier. Thanks for your help! :)
Karsten Malmquist
10-Jan-11 14:33pm
View
I still don't understand, if I were to display text to a label I would use the library "windows.h" and write it like this:
this->label1->Text = L"Text";
but do I need to write it in a completely different way to display a string (would prefer if you could write it in code if you dont mind).
And what do I need to include for the "str.Format", because it says it's a undeclared identifier.
Thanks for your help! :)
Karsten Malmquist
7-Jan-11 14:28pm
View
Sorry if I sound like a total noob, but how exactely do I convert a integer value to a string with the SetWindowText thing?
By the way, by using SetWindowText can I set the string to whatever the value was from the variable without having to use if statements to check the value?
Karsten Malmquist
31-Dec-10 7:24am
View
In a .h file I know how to check if a button is being clicked, but I want to have variables through the entire time the window is running, then I thought I might check it in a while loop because then the variables wont get destroyed by scope.
The problem is that in a .h file the variables get destroyed because of the rules of scope.
Sorry if you think i'm an idiot, but what do you mean by SetWindowText?
When I print out text I do like this:
this->label1->Text = L"Text";
Show More