9,868,710 members (31,691 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*
205 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 5
Page Size:
10
·
25
·
50
Author filtered by: Andy Bantly
[x]
How to use Unicode in C++
by
Andy Bantly
Answer
13 May 2013
license:
CPOL
I would also encourage the programmer to use the TCHAR versions of the library functions, which convert to UNICODE or Ansi based on the project settings.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Unicode
How to programmaticly size bitmap resource to fit inside button ?
by
Andy Bantly
Answer
13 May 2013
license:
CPOL
Bite the bullet and use owner draw buttons. You'll enjoy them. If you don't want to write one from scratch then know that in my project Visualizing the Mandelbrot set[^] are two files ImageButton.cpp and ImageButton.h which implement various kinds of owner draw buttons with support for classic...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Win32
My vote of 5
by
Andy Bantly
Forum Message
13 May 2013
Refreshing!
General Discussions
»
Article "Beginners Guide: Creating Web Applications With Javascript"
What does DNA and Microsoft have in common?
by
Andy Bantly
Forum Message
13 May 2013
Both suffer from code bloat due to backwards compatibility issues. http://www.foxnews.com/science/2013/05/
General Discussions
»
The Lounge
Visualizing the Mandelbrot set
by
Andy Bantly
Article
9 May 2013
license:
GPL3
Visualizing the Mandelbrot set using multiple threads of execution.
General Programming
»
Algorithms & Recipes
»
Computational Geometry
C++
Windows
MFC
Intermediate
Algorithms
Re: Just wanted to...
by
Andy Bantly
Forum Message
5 May 2013
I haven't read that book. I've been getting the concepts from the Stevens Pascal based book and expressing them in C++. I'll look that one up and hopefully it is available for the kindle.
General Discussions
»
Article "Visualizing The Mandelbrot Set"
My vote of 5
by
Andy Bantly
Forum Message
25 Apr 2013
Thank you for the explanation.
General Discussions
»
Article "Understanding Factory Method And Abstract Factory Patterns"
Re: Question about the ngrids number.
by
Andy Bantly
Forum Message
23 Apr 2013
Look in RDSDlg.cpp for these variable initializations, they control the performance of the system. // Set the number of threads m_nGridThreads = m_iYScale; m_nCompThreads = 1;
General Discussions
»
Remote Control Pcs
Re: Question about the ngrids number.
by
Andy Bantly
Forum Message
22 Apr 2013
It really depends on how many threads you are devoting and whether the compression is also threaded. The code is parameterized so that different threading schemes can be configured. I haven't looked i
General Discussions
»
Remote Control Pcs
Re: C# Code Requier
by
Andy Bantly
Forum Message
22 Apr 2013
I don't have the time anymore to devote to this code. Sorry.
General Discussions
»
Remote Control Pcs
Sorting points
by
Andy Bantly
Forum Message
22 Apr 2013
I am very interested in using this code in my article Visualizing the Mandelbrot set[
General Discussions
»
Article "Polyline Simplification"
Need some information
by
Andy Bantly
Answer
18 Apr 2013
license:
CPOL
It would be helpful to see your header. I can only assume that your member function that handles the thread proc is declared static. I think there is a problem with calling conventions. The code expects a function with _cdecl calling conventions and you are likely giving it the C++...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
Threading
How an application can delete itself and its containing folder in C++?
by
Andy Bantly
Answer
18 Apr 2013
license:
CPOL
I can't help but think for questions like these that something nefarious is planned. I agree with the others that a transactional based approach is better. Visual Studio has a WSYWIG installer project that is dead simple (for a simple application)As I continue in my surprise, I also am...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Windows
Using AfxBeginThread in c++ with managed c++ and c#
by
Andy Bantly
Answer
18 Apr 2013
license:
CPOL
I don't normally do anything from C# to C++ (I just stay 100% C++). Usually debug assertions in that have to do with handles and stuff.Looking at that file, on line 21 I see the followingAFXWIN_INLINE HINSTANCE AFXAPI AfxGetInstanceHandle() { ASSERT(afxCurrentInstanceHandle !=...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C++/CLI
C#
Yes, I do
by
Andy Bantly
Forum Message
18 Apr 2013
Assembling a pc from parts is about as easy as hooking up a stereo receiver. I like building media center gaming machines. It is nice that NVidia FX cards also support hi-def digital audio. I have
General Discussions
»
Survey "Do You Build Your Own Machine?" (15 Apr 2013)
C++ / MFC
by
Andy Bantly
Forum Message
17 Apr 2013
After seeing this, and having done many custom button classes in MFC/C++, it makes me want to do this for the C++ MFC crowd. All of those drawing options are available in the regular GDI.
General Discussions
»
Creating A Glass Button Using Gdi+
My vote of 5
by
Andy Bantly
Forum Message
10 Apr 2013
Your use of CArchiveStream solved my problem with OleLoadPicture. I used COleStreamFile to serialize a CImage but it fails to work as the stream for OleLoadPicture!
General Discussions
»
Transfers Image Through Tcp
This code should work but it doesn't
by
Andy Bantly
Question
10 Apr 2013
license:
CPOL
This sample code below demonstrates using CImage (from ATLImage.h) to load a file based image, save it to a stream, and create a COM picture interface which can be the return value in an OLE automation property.The crazy thing is that OleLoadPicture fails with an error code indicating a...
General Programming
»
Uncategorised Quick Answers
»
General
C++
OleLoadPicture
Re: MDI Application
by
Andy Bantly
Forum Message
8 Apr 2013
You need to lock the application in your document constructor and release it in the destructor CYourDocument::CYourDocument() { EnableAutomation(); AfxOleLockApp(); } CYourDocument::~CYour
General Discussions
»
Adding Automation To Mfc Applications
Re: Just wanted to...
by
Andy Bantly
Forum Message
8 Apr 2013
The windows media SDK framework for adding graphical enhancements feeds you the audio data. How do I make use of the FFT? I'm not sure how I could leverage it.
General Discussions
»
Article "Visualizing The Mandelbrot Set"
Re: Just wanted to...
by
Andy Bantly
Forum Message
8 Apr 2013
I would love to have your help on this aspect of the project! I will ping you on that. Basically I guess audio frequency data has to be mapped to the color palette indexes, which are from [0,max col
General Discussions
»
Article "Visualizing The Mandelbrot Set"
Re: Just wanted to...
by
Andy Bantly
Forum Message
6 Apr 2013
Thanks! My end game with this project is to create an automation server that ties into Windows Media Player and synchronizes with the audio data. BTW -- A minor bug fix was just posted that lets you
General Discussions
»
Article "Visualizing The Mandelbrot Set"
Bastard child
by
Andy Bantly
Forum Message
5 Apr 2013
You have taken a beautiful subject and have shown how to turn it into the flying spaghetti monster. I wish you would have shown a different subject besides the Mandelbrot set. I'll bet you could squ
General Discussions
»
Obfuscating Your Mandelbrot Code
Re: Nice Enhancements
by
Andy Bantly
Forum Message
5 Apr 2013
Thank you for the compliment and suggestions. The never ending quest with this system (for me) is to be able to intelligently assign colors. I do plan on adding extra UI that allows building a list
General Discussions
»
Article "Visualizing The Mandelbrot Set"
Re: Alternative fractal implementation in C++
by
Andy Bantly
Forum Message
3 Apr 2013
Thanks. I have thought about most of those things already. I hadn't thought about the idea of transforming x with x = f(x). (f = sqrt, log, etc...) I will have to contemplate that. The wikipedia a
General Discussions
»
Article "Fractal Photographer"
Re: Alternative fractal implementation in C++
by
Andy Bantly
Forum Message
3 Apr 2013
I would like to know more about how you determine the colorization of each pixel. Largely this done by assigning a color based on arbitrary logic. The color is usually based on the number of calcula
General Discussions
»
Article "Fractal Photographer"
Re: Aspect Ratio
by
Andy Bantly
Forum Message
3 Apr 2013
You are welcome! I updated the code to once again use X[-2,1] Y[-1,1] as the set and I based the original width and height off of this aspect of 3 to 2. This causes the image to default to 1536 x 10
General Discussions
»
Article "Visualizing The Mandelbrot Set"
Re: Aspect Ratio
by
Andy Bantly
Forum Message
2 Apr 2013
I believe that your calculation is flawed as it is based on the aspect ratio of the screen width in pixels to height in pixels and it also has built in rounding. The typical Mandelbrot set has a rati
General Discussions
»
Article "Visualizing The Mandelbrot Set"
My vote of 2
by
Andy Bantly
Forum Message
1 Apr 2013
No code and the article lack the basic detail
General Discussions
»
Article "Fractal Photographer"
Alternative fractal implementation in C++
by
Andy Bantly
Forum Message
1 Apr 2013
Here is an alternative to this article. Visualizing the Mandelbrot set[
General Discussions
»
Article "Fractal Photographer"
Re: Aspect Ratio
by
Andy Bantly
Forum Message
1 Apr 2013
Will you please post the link to my article as an alternative to your fractal application? Thanks. I'm anxious to check out your source code.
General Discussions
»
Article "Visualizing The Mandelbrot Set"
Re: Fractal Dimension
by
Andy Bantly
Forum Message
31 Mar 2013
What an interesting question. I will have to think about what your question really means.
General Discussions
»
Article "Visualizing The Mandelbrot Set"
Re: My vote of 1
by
Andy Bantly
Forum Message
12 Mar 2013
I must not have voted when I originally commented. Sorry 'bout that.
General Discussions
»
Article "Visual C++ Express, Custom Wizard"
suggestion for how to learn Multi-thread
by
Andy Bantly
Answer
8 Mar 2013
license:
CPOL
I've had great success using the MFC CWinThread class to add multi-threading. Advanced Windows by Richter of Microsoft Press is a good book.
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
Threading
Re: My vote of 5
by
Andy Bantly
Forum Message
7 Mar 2013
Please refer to this project. I don't look at the code in this project anymore. It is not stable or robust. Thanks! Remote Cont
General Discussions
»
Remote Desktop Viewer Lite
Re: Updating RDVL(v2).net 2003 To VS 2010
by
Andy Bantly
Forum Message
7 Mar 2013
Please use the other remote desktop project I created. It works much better than this project. This project is not very stable or robust. Please use
General Discussions
»
Remote Desktop Viewer Lite
Comments in a foreign language
by
Andy Bantly
Forum Message
5 Mar 2013
The best thing I ever saw while debugging code was comments in Polish. The variables were also given Polish names so discerning the possible usage was more difficult. I asked a Polish programmer to p
General Discussions
»
The Weird And The Wonderful
I must be getting old
by
Andy Bantly
Forum Message
2 Mar 2013
For the last 10+ years I have been logging onto Code Project for my daily dose of tech and code. I see the main page with all the new articles in which the title is a plethora of 3 to 5 letter acrony
General Discussions
»
The Lounge
How to detect hardware
by
Andy Bantly
Answer
21 Feb 2013
license:
CPOL
I don't think you are in the right forum for this question
General Programming
»
Uncategorised Quick Answers
»
General
C++
Thanks!
by
Andy Bantly
Forum Message
21 Feb 2013
Being named Andy, I thank you for your remarks about anyone named "Andy". Therefore, out of pure narcissism I am voting it 5.
General Discussions
»
Article "Hijk Project -Tiny Webapi Kit"
Re: TCP Server: Render the image on server side
by
Andy Bantly
Forum Message
3 Feb 2013
Tell your boss I'm available, by a short term contract, to write the application for him. I could produce this application in a short amount of time and to his specifications.
General Programming
»
C / C++ / Mfc
Re: TCP Server: Render the image on server side
by
Andy Bantly
Forum Message
30 Jan 2013
This code answers all your questions and more Remote Control PCs[
General Programming
»
C / C++ / Mfc
Re: C++ Developers
by
Andy Bantly
Forum Message
25 Jan 2013
I saw that same sample code in Visual C++ 2012. It is extremely cool. I wish I understood the Direct X components of that software.
General Discussions
»
Survey "Which Of The Following Do You Commonly Use?" (21 Jan 2013)
Re: C++ Developers
by
Andy Bantly
Forum Message
25 Jan 2013
C++ all the way!
General Discussions
»
Survey "Which Of The Following Do You Commonly Use?" (21 Jan 2013)
Re: Scanty number of C , C++ Developers.
by
Andy Bantly
Forum Message
25 Jan 2013
I agree that C++ is delightful. I don't understand the growing class of developers who are claiming that it is a bad language. One of my ongoing learning projects has to do with developing iterato
General Discussions
»
Survey "Which Of The Following Do You Commonly Use?" (21 Jan 2013)
How to check how a bit is set in c?
by
Andy Bantly
Answer
4 Jan 2013
license:
CPOL
The solutions listed above are good for unstructured testing. If you are designing a system from scratch and you know that the data structure for your algorithm is going to need to check bits then you should investigate the use of bit fields.http://en.wikipedia.org/wiki/Bit_field[^]
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
C#
Re: My vote of 5
by
Andy Bantly
Forum Message
14 Dec 2012
Thank you very much!
General Discussions
»
Article "Easy Command Line Service"
Re: 5 * & question
by
Andy Bantly
Forum Message
12 Dec 2012
It is not currently available for vb.net
General Discussions
»
Remote Control Pcs
My vote of 5
by
Andy Bantly
Forum Message
6 Dec 2012
I learned from your explanation. Thanks.
General Discussions
»
Article "A Beginner's Tutorial On Basics Of Delegates, Anonymous Functions And Lambda Expressions In C#"
owner drawn controls in c++/mfc
by
Andy Bantly
Answer
6 Dec 2012
license:
CPOL
To elaborate on Jochens response for buttons, since that was your emphasis, the API provides functions for drawing the button, during the handling of DrawItem. You piece them together to get the result you want and/or draw in your own stuff to create a unique look and feel. DrawFrameControl is...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
Page 1 of 5
1
2
3
4
5
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid