9,868,710 members (36,839 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
1,574 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 63
Page Size:
10
·
25
·
50
Author filtered by: KarstenK
[x]
Should I owner draw this type of status bar or is there simpler way?
by
KarstenK
Answer
13 May 2013
license:
CPOL
You better create a own window with all the needed stuff and set its position where your status bar is located.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
CMFCToolbar: use Customized bitmap(HBITMAP ) runtime
by
KarstenK
Answer
13 May 2013
license:
CPOL
step into the code and you will see, that the bitmap is attached to the toolbar, so you cant change it. So you need another toolbar.I have done that in the old XP-times and it worked fine.
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
Bitmap
CMFCToolbar: use Customized bitmap(HBITMAP ) runtime
by
KarstenK
Answer
13 May 2013
license:
CPOL
use need to use DIFFERENT toolbars with the actual bitmap. Whether you create a new one and delete the old, or create an array is your choice.
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
Bitmap
Making udp socket non-blocking
by
KarstenK
Answer
7 May 2013
license:
CPOL
Do the networking stuff in a own thread. Use PostThreadMessage to communicate with your main thread.
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
programming
socket
udp
Sockets
Asynchronous
WSA
CPU Usage 100% when creating 3 threads and using WSAWaitForMultipleEvents() and WSAEnumNetworkEvents()
by
KarstenK
Answer
7 May 2013
license:
CPOL
i guess your threads are blocking the network api.why arent you making some outout or use your debugger...
General Programming
»
Uncategorised Quick Answers
»
General
C
Windows
Threading
threads
Events
programming
udp
multithreading
event
WSA
, +
windows forms(GUI) (C#) hangs when called from C++ exe
by
KarstenK
Answer
6 May 2013
license:
CPOL
it is a thread issue. Be care to launch your app in a separate thread.
General Programming
»
Uncategorised Quick Answers
»
General
C++
C++/CLI
.NET
My vote of 5
by
KarstenK
Forum Message
6 May 2013
Really good "Part 1". I hope it is getting better...
General Discussions
»
Article "Css Architectures, Part 1: Principles Of Code Cleanup And The New Best Practices"
Access violation at address 0000 when reading file
by
KarstenK
Answer
5 May 2013
license:
CPOL
at first i would use a complete path for opening the file and think about all flags.What is the value of BytesWritten?AND CHECK ALL API-RETURN VALUES :mad:
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
ASM
Access violation at address 0000 when reading file
by
KarstenK
Answer
5 May 2013
license:
CPOL
i guess you havent open an file. Did you check the return codes of the API.Try it first in C and "show your code" ;-)
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
ASM
execute a code every 10 seconds
by
KarstenK
Answer
2 May 2013
license:
CPOL
Create a "master" thread with a sleep timer or a time out for 10 seconds. This thread should only start another "worker" thread which will do the work.
General Programming
»
Uncategorised Quick Answers
»
General
C++
using C function as C++ class method
by
KarstenK
Answer
29 Apr 2013
license:
CPOL
you only need to call the c-func in a member function. But you better do some error checking around it.If you link the dll with "delayload" you will get some startup benefit.
General Programming
»
Uncategorised Quick Answers
»
General
C++
C++/CLI
C
C/C++ code for turbo decoder
by
KarstenK
Answer
24 Apr 2013
license:
CPOL
read the docs of your "turbo" decoder...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
how to get computer's sound?
by
KarstenK
Answer
24 Apr 2013
license:
CPOL
it is a real tumb question :mad:It is a huge area, here is the simplest way to "play sounds"http://msdn.microsoft.com/en-us/library/windows/desktop/dd743680(v=vs.85).aspx
General Programming
»
Uncategorised Quick Answers
»
General
C++
Windows
DirectX
Music
My vote of 3
by
KarstenK
Forum Message
23 Apr 2013
you wrote: Suggestion: Use generic data-types and names to represent characters and string." I find it wrong and you also wrote it correct. The suggestion should be "Use the template data types
General Discussions
»
Article "What Are Tchar, Wchar, Lpstr, Lpwstr, Lpctstr (Etc.)?"
Runtime errors in Debug .exe
by
KarstenK
Answer
22 Apr 2013
license:
CPOL
delete all temp and build files and make a "rebuild all". Sometimes is an resource ID conflict the problem. Or you must debug in the MFC-stuff :mad:
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
Create TXT file from TreeView control in c++
by
KarstenK
Answer
22 Apr 2013
license:
CPOL
you should better use a complete path for that.
General Programming
»
Uncategorised Quick Answers
»
General
.NET3.5
C++/CLI
Windows
Visual-Studio
.NET
Microsoft
API SetWindowText() is not update data now
by
KarstenK
Answer
21 Apr 2013
license:
CPOL
use different texts so you will see, that you see a different text value than, you want to see.Check that you are using the right handle. Check the result and read the docs:http://msdn.microsoft.com/en-us/library/windows/desktop/ms633546(v=vs.85).aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
ActiveX
My vote of 2
by
KarstenK
Forum Message
17 Apr 2013
Somehow short on Auth and https for a "full featured class" Because it is a big area much is missing....
General Discussions
»
Article "A Featured Windows Http Wrapper In C++"
Need some information
by
KarstenK
Answer
16 Apr 2013
license:
CPOL
proc->LoadCDR(); does something what doesnt end. You need an abortion signal / event. I wpuld use SetEvent() - API.
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
Threading
C++ Application doesn't work after installing newer version of C++ redistribute
by
KarstenK
Answer
11 Apr 2013
license:
CPOL
Looks like the installer overwrote the "1" with "6161"9.0.30729.19.0.30729.6161My solution is to use static linking to avoid such mess.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Windows
Runtime
length of client and server structure
by
KarstenK
Answer
11 Apr 2013
license:
CPOL
the size of a struct is often used as flag of the version of the struct. It is common use to add new members at the end of the struct.check this samplestruct V1{ int h;};struct V2{ int h; int v;};
General Programming
»
Uncategorised Quick Answers
»
General
C
That the job the compiler does
by
KarstenK
Forum Message
11 Apr 2013
it resolves the class to a member stub and a vt-table with its functions. All functions getting an new first parameter "this object". The use in C++ of the this-Pointer is annoying. YOU DONT NEE
General Discussions
»
Article "Inheritance And Polymorphism In C"
link two dialog forms in mfc application
by
KarstenK
Answer
10 Apr 2013
license:
CPOL
you need to make your 2 dialogs childs of your main frame. Than the button calls the mainframe to change it.If that doesnt answer you question, you shoud provide A LOT MORE information...
General Programming
»
Uncategorised Quick Answers
»
General
VC6
MFC
C++
Failed to connect peer - invalid port settings?
by
KarstenK
Answer
3 Apr 2013
license:
CPOL
please read to kickstart your knowledge: http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers[^]
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
peer-to-peer
Networking
Unit test frameworks
by
KarstenK
Answer
3 Apr 2013
license:
CPOL
You better choose the framwork in which you are writing your code. I would prefer boost because it is a well admired library.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Page 1 of 63
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid