9,867,109 members (48,785 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*
144 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 3
Page Size:
10
·
25
·
50
Author filtered by: bkelly13
[x]
Using Additional Include Directories
by
bkelly13
Tip/Trick
4 May 2013
license:
CPOL
Include code from other directories
Desktop Development
»
Files And Folders
»
Files
C++
Windows
Dev
Beginner
Windows
All-Topics
Win7
Commands
tools
Microsoft
Multiple Projects in One Solution
by
bkelly13
Tip/Trick
22 Apr 2013
license:
GPL3
Multiple Projects in One Solution
Desktop Development
»
Menus
»
General
C++
Windows
MFC
Dev
Beginner
Intermediate
Advanced
CodeJock
not for me
by
bkelly13
Forum Message
22 Apr 2013
Rather interesting. When viewing the article but not logged in, it looks as it does before today's edit. Further, these comments are not visible. So I log in and it looks the same. There is a stat
General Discussions
»
Tip/Trick "Multiple Projects In One Solution"
Edited first image.
by
bkelly13
Forum Message
22 Apr 2013
I just finished editing the article not five minutes ago. (Ok, maybe 10 or 12 minutes.) On my screen, the first version has the image of the properties screen at the top where it should not be. I re
General Discussions
»
Tip/Trick "Multiple Projects In One Solution"
Re: My vote of 2
by
bkelly13
Forum Message
6 Apr 2013
Hello Victor: Re: Sorry, I have no time to search for some old/previous articles to get absent parts of the project described in the current article. So rather than adding "the extra paragraph" yo
General Discussions
»
Article "Asyncsocket Part 3, The Server"
Re: My vote of 2
by
bkelly13
Forum Message
3 Apr 2013
Yep, that's a defect. Where there's one, there's probably another. I will review it again, but it will be a day or three. Regarding the cannot be compiled, did you read the first part of the arti
General Discussions
»
Article "Asyncsocket Part 3, The Server"
Asyncsocket Part 3: The Server
by
bkelly13
Article
31 Mar 2013
license:
CPOL
Use of Windows class CAsynSocket in TCP/IP application
General Programming
»
Internet / Network
»
Client/Server Development
C++
Windows
MFC
Dev
Intermediate
Application
peer-to-peer
/C++
Re: Good Articles
by
bkelly13
Forum Message
30 Mar 2013
I presume you are posting on behalf of Code Project, so Yes, add the history, to all four articles I have posted. I never received a response to the question of: Should the download for articles be
General Discussions
»
Article "Asynchronous Tcp Part 1"
Asynchronous TCP Part 2
by
bkelly13
Article
29 Mar 2013
license:
CPOL
Goal: Describe how asynchronous or non-blocking TCP code works
General Programming
»
Internet / Network
»
General
VS2008
C++
Dev
Intermediate
Windows
Visual-Studio
Win7
Asyncsocket Part 4: The Client
by
bkelly13
Article
29 Mar 2013
license:
CPOL
Microsoft Class ASyncSocket
General Programming
»
Internet / Network
»
Client/Server Development
C++
MFC
Dev
Intermediate
Application
peer-to-peer
Asynchronous TCP Part 1
by
bkelly13
Article
29 Mar 2013
license:
CPOL
Goal: Describe how asynchronous or non-blocking TCP code works
General Programming
»
Internet / Network
»
General
C++
MFC
Dev
Intermediate
TCP/IP
Re: just an appoint
by
bkelly13
Forum Message
29 Mar 2013
Fixed, thank you. Thanks for your time If you work with telemetry, please check this bulletin board: http://www.bkelly.ws/irig_106/
General Discussions
»
Article "Asynchronous Tcp Part 1"
Re: differing sizes
by
bkelly13
Forum Message
28 Mar 2013
Got it. Thank you for your time. Thanks for your time If you work with telemetry, please check this bulletin board: http://www.bkelly.ws/irig_106/
General Discussions
»
Article "Asyncsocket Part 4: The Client"
Re: The project has C_log_Writer/C_TCP_Client..files which can not be open.
by
bkelly13
Forum Message
28 Mar 2013
Re: Can not find the path C:\Users\Administrator\COMMON_CODE\C_Log_Writer.h I do not know why the message about drive C:, but read part three. It describes what the log write is, where it is, and
General Discussions
»
Article "Asyncsocket Part 4: The Client"
differing sizes
by
bkelly13
Forum Message
27 Mar 2013
I am running Windows 7, 64 bit. The drive is 1 TByte (one terrabyte). Windows explorer tells me the zip file is 1,619 Kbytes. I use UltraEdit and its built in FTP browser. It shows the file on my w
General Discussions
»
Article "Asyncsocket Part 4: The Client"
size reduction
by
bkelly13
Forum Message
26 Mar 2013
SoMad is right. I have modified the Part 3 article and uploaded a new project zip file. Mine did not go below 1.6 Meg. Here are the lines of a little batch file I wrote to reduce the size: del /
General Discussions
»
Article "Asyncsocket Part 4: The Client"
Re: Additional Include Directories
by
bkelly13
Forum Message
25 Mar 2013
RE: This has nothing to do with include directories, since the file in question is a .cpp not a header file. As noted in an earlier reply, the VS help utility has an example that includes MAIN.C.
General Programming
»
Atl / Wtl / Stl
Re: Additional Include Directories
by
bkelly13
Forum Message
24 Mar 2013
Upon clicking on C_Log_Writer.cpp VS pops a message: d:\B\COMMON_CODE\C_TCP_Client.cpp Cannot open file. The solution is in directory D:\B\etc. The common code is in D:\COMMON_CODE like I explici
General Programming
»
Atl / Wtl / Stl
Re: Additional Include Directories
by
bkelly13
Forum Message
24 Mar 2013
File Project_Client_.vcproj contains:
General Programming
»
Atl / Wtl / Stl
Re: Additional Include Directories
by
bkelly13
Forum Message
24 Mar 2013
I deleted the dot NCP file where the project file is located. I deleted the all the files in the release directory and all the files in the debug directory. All to no avail. I removed the D:\CO
General Programming
»
Atl / Wtl / Stl
Re: Additional Include Directories
by
bkelly13
Forum Message
24 Mar 2013
Re: Are all your 'Cannot open source file' errors related to files under 'COMMON_CODE' directory ? Yes, they are. The entire solution compiled and ran as expected. Then I copied the entire soluti
General Programming
»
Atl / Wtl / Stl
Additional Include Directories
by
bkelly13
Forum Message
24 Mar 2013
Windows 7, Visual Studio 2008, MFC, C++ This solution uses source code from directory D:\COMMON_CODE. To test some things the solution was copied to a new directory. It will not compile. There a
General Programming
»
Atl / Wtl / Stl
for the download
by
bkelly13
Forum Message
23 Mar 2013
The zip file for the project is about 22 Meg. That exceeds the maximum recommended size. That is after I cleaned the project. As noted when I submitted the article the zip file has been posted on m
General Discussions
»
Article "Asyncsocket Part 3, The Server"
pre tags
by
bkelly13
Forum Message
23 Mar 2013
The articles do have the pre and /pre tags. I just posted them to my personal web site and all the code is displayed as expected.
General Discussions
»
Article "Asyncsocket Part 4, The Client"
Re: memcpy, not understanding something
by
bkelly13
Forum Message
11 Mar 2013
H.Brydon, You got it right. I was forgetting that mp_search_pointer was a pointer to start with. Still, I don't understand why it did not copy something into m_carry_over_buffer Just for complet
General Programming
»
Atl / Wtl / Stl
memcpy, not understanding something
by
bkelly13
Forum Message
11 Mar 2013
Windows 7, Visual Studio 2008, MFC, C++ A memset is not doing what I expect. Here is the relevant code. It is a received TCP/IP payload packet and the goal is to copy some of the data to a new loca
General Programming
»
Atl / Wtl / Stl
something new to me
by
bkelly13
Forum Message
10 Mar 2013
Well now,..., I did not fully understand you first post. Now I presume that module X can be compiled in debug mode while everything else is in release mode. If true, just how is that done?
General Programming
»
Atl / Wtl / Stl
Re: resolved, with many curses directed at myself
by
bkelly13
Forum Message
10 Mar 2013
I thought about that and decided to not say anything either way. After reading you post, I thought some more. Yes, it can be a good thing to have the debugger able to run with release code. OTH, th
General Programming
»
Atl / Wtl / Stl
resolved, with many curses directed at myself
by
bkelly13
Forum Message
10 Mar 2013
I just saw an earlier posting of mine that someone answered and was the answer to this one. This application is TCP/IP code. The solution has two projects, Server and Client. I built in release so
General Programming
»
Atl / Wtl / Stl
Re: member char array is bad pointer
by
bkelly13
Forum Message
10 Mar 2013
To reply to your comment on my underscore and the convention. IDoNotLikeWritingLikeThis. IWouldNeverBuyABookWrittenLikeThis. IBelieveAllLanguagesUseSpacesBetweenWords. More like this. Since I use
General Programming
»
Atl / Wtl / Stl
Unexpected result
by
bkelly13
Forum Message
10 Mar 2013
Following your advice I found some completely unexpected results. Skipping some steps here is the situation. From code in the dialog box the TCP client class is created as follows:
General Programming
»
Atl / Wtl / Stl
member char array is bad pointer
by
bkelly13
Forum Message
9 Mar 2013
Environment Visual Studio 2008, C++, MFC Class C_TCP_Format_WSA_Text has a method that begins like this: void C_TCP_Format_WSA_Text::Format_WSA_Error_As_Text( int wsa_error, char*
General Programming
»
Atl / Wtl / Stl
Re: locals not valid in debugger
by
bkelly13
Forum Message
13 Feb 2013
The computer was rebooted, same results. On the above suggestion, did a Clean and Rebuild, same results. I will try another reboot and clean and if sucessful, will post the results. Otherwise, assu
General Programming
»
Atl / Wtl / Stl
locals not valid in debugger
by
bkelly13
Forum Message
13 Feb 2013
Windows XP Pro, Visual Studio 2008, C++, MFC Start an application in the debugger and step over: unsigned int length = 0; length = strlen( some_char_array ); When hover
General Programming
»
Atl / Wtl / Stl
classes don't call upwards
by
bkelly13
Forum Message
26 Jan 2013
After writing the OP I outlined the process with all the steps then began to implement. I have started using a common directory for re-usable code. In order for the Manager to call a method in its
General Programming
»
Atl / Wtl / Stl
Re: ATL and exceptions
by
bkelly13
Forum Message
24 Jan 2013
Personally: I never did like exceptions and avoid them. I did a google on "exceptions C++ pros and cons" and found several discussions. There are some strong opinions on this. I would much rather
General Programming
»
Atl / Wtl / Stl
TCP/IP CAsyncSocket and pointers to same
by
bkelly13
Forum Message
24 Jan 2013
Environment Windows XP and 7, Visual Studio 2008, C++. Experience level: novice with TCP/IP, but do have the application working with CAsyncSocket. The message application receives telemetry data
General Programming
»
Atl / Wtl / Stl
Re: unicode and non-unicode
by
bkelly13
Forum Message
20 Jan 2013
You have a good point. My problem (and notice my phrasing) is that I dislike unicode. All the various option make dealing with it an absolute pain. If you (you in the general sense) want to use
General Programming
»
Atl / Wtl / Stl
Re: unicode and non-unicode
by
bkelly13
Forum Message
14 Jan 2013
the code is AfxMessageBox("Unable to open log file"); If I pass it a CString it is okay as in: CString x; x.Format( L"stuff" ); AfxMessageBox( x ); But that does not compile in the non uni
General Programming
»
Atl / Wtl / Stl
unicode and non-unicode
by
bkelly13
Forum Message
14 Jan 2013
Windows XP and 7, Visual Studio 2008 and 2010, MFC, C++ Application A supports Unicode and application B does not. Class Log_Writer does not support Unicode. Both applications use Log_Writer ok p
General Programming
»
Atl / Wtl / Stl
books: activeX and com,
by
bkelly13
Forum Message
1 Jan 2013
Where can I get books on ActiveX and COM. I started with an ActiveX book (ATL) and it began by stating I must know COM. I wound up with Dale Rogerson's "Inside Com" Its on Amazon but no soft copy.
General Programming
»
Atl / Wtl / Stl
Re: TCP blocking -vs- CAsyncSocket -vs- Win32 API
by
bkelly13
Forum Message
28 Dec 2012
Soren, You are quite right. It is easy for forget, and much easier to never even realize, just how much effort has gone into writing the core code within the Operating Systems that we use every day
General Programming
»
Atl / Wtl / Stl
Re: TCP blocking -vs- CAsyncSocket -vs- Win32 API
by
bkelly13
Forum Message
28 Dec 2012
Hello pasztorpisti, Re: Anyway, why do you want to use async sockets? Async makes the application easier to deal with. First, when the client has not connected the main application can still captur
General Programming
»
Atl / Wtl / Stl
Re: TCP blocking -vs- CAsyncSocket -vs- Win32 API
by
bkelly13
Forum Message
27 Dec 2012
RE: I highly recommend using dedicated threads that do just the transfer between your memory buffers and the socket buffers. Do you have a favorite tutorial or discussion on how to implement a de
General Programming
»
Atl / Wtl / Stl
Re: TCP blocking -vs- CAsyncSocket -vs- Win32 API
by
bkelly13
Forum Message
27 Dec 2012
Wow, what an incredible reply. I don't understand everything you wrote, but a question or two will help. This is a telemetry application. It receives data from the hardware as a series of ident
General Programming
»
Atl / Wtl / Stl
Re: The reason for the question
by
bkelly13
Forum Message
21 Dec 2012
Good point. I started a new thread to ask that question. Thanks for your time
General Programming
»
Atl / Wtl / Stl
TCP blocking -vs- CAsyncSocket -vs- Win32 API
by
bkelly13
Forum Message
21 Dec 2012
Environment Windows XP Pro, Visual Studio 2008, MFC, C++ This application processes real time telemetry data. The first incarnation uses blocking TCP calls and works fine. It is just difficult to
General Programming
»
Atl / Wtl / Stl
The reason for the question
by
bkelly13
Forum Message
19 Dec 2012
This is a telemetry application where data arrives in a continuous stream. My application breaks that data out into named parameters and sends it to a display device. It generates at least two packe
General Programming
»
Atl / Wtl / Stl
calling virtual base class
by
bkelly13
Forum Message
14 Dec 2012
Visual Studio 2008, MFC, CAsyncSocket The programmer creates the overrides such as OnAccept(). Here is a fragment from elsewhere on this site: void MyEchoSocket::OnAccept(int n
General Programming
»
Atl / Wtl / Stl
Re: cannot add control variable to checkbox
by
bkelly13
Forum Message
14 Dec 2012
Those were not random deletions. They were named in anaother forum. I have collected a list of files that have become corrupt and caused problems. In the meantime I think I have figured out how t
General Programming
»
Atl / Wtl / Stl
Page 1 of 3
1
2
3
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web03 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid