Click here to Skip to main content
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.
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...
Forum Message 13 May 2013  
Both suffer from code bloat due to backwards compatibility issues. http://www.foxnews.com/science/2013/05/
Article 9 May 2013   license: GPL3
Visualizing the Mandelbrot set using multiple threads of execution.
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.
My vote of 5 by Andy Bantly
Forum Message 25 Apr 2013  
Thank you for the explanation.
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;
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
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.
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[
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++...
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...
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 !=...
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
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.
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!
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...
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
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.
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
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
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
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
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
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
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
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
My vote of 2 by Andy Bantly
Forum Message 1 Apr 2013  
No code and the article lack the basic detail
Forum Message 1 Apr 2013  
Here is an alternative to this article. Visualizing the Mandelbrot set[
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.
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.
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.
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.
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
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
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
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
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
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.
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.
Forum Message 30 Jan 2013  
This code answers all your questions and more Remote Control PCs[
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.
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
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[^]
Re: My vote of 5 by Andy Bantly
Forum Message 14 Dec 2012  
Thank you very much!
Re: 5 * & question by Andy Bantly
Forum Message 12 Dec 2012  
It is not currently available for vb.net
My vote of 5 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...

Page 1 of 5
1 2 3 4 5


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