15,917,329 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 Sir Roland (Top 20 by date)
Sir Roland
2-Mar-15 21:07pm
View
Sorry SA, I did some more digging and came up with a solution myself. But when I reread your answer after I composed a note bragging about my success, I saw that my solution was in function exactly what you recommended. We just used device dependent functions How do I take back my rejection of your solution?
Sir Roland
2-Mar-15 17:07pm
View
Thanks for your input. Apparently I don't have the ability to communicate I though I have. You are not answering the question, so perhaps I didn't state it well. This is being done as part of some academic work.
I am calculating millions of points to get an image of about 60,000 pixels. The calculations obviously results in thousands of duplicates. Printing 32-bit pixels to the screen is extremely slow. As I understand it, the display adapter takes the time to match every pixel to those in its repertoire to make sure it is using the best choice. Everyone I know who studies fractals seriously writes the data to an external file and transfers the result to the screen to avoid this time delay. With this workaround I can plot over a couple of billion points in less than two minutes. If I wrote directly to the screen, this would take hours.
The end point of the work is not a bit map. This is a way of explaining what I need. I am trying to advance understand of the random dot process by which millions of randomly generated dots results in images of such order and beauty as manifest in Sierpinski polygons. I have in mind several avenues of exploration that will be facilitated if I can draw polygons on my screen buffer before I begin the iteration process. If you have expertise, please help me out here. I am hoping for simple answers to what I think is simple problem.
Regards, Sir Roland.
Sir Roland
16-Feb-15 11:33am
View
Thanks, Baccus. I pasted test0 into my code but Visual studio 2010 didn't accept inline although it did flag it as a reserve word. I installed the .h file called for in the snippet. I'm have never used inline. Is there a C language test that will do the job? Thanks again
Sir Roland
16-Feb-15 11:11am
View
Thanks for the comment. I have the coding to get the name. What I'm looking for is how to find if the file already exists.
Sir Roland
5-Feb-15 11:20am
View
Yes, that's what I mean.
Sir Roland
1-Feb-15 20:31pm
View
I am using Visual C++ 2010 Express. Being aware of that may affect suggestions of solutions
Sir Roland
1-Feb-15 20:08pm
View
I have repaired Visual Studio and Visual C++. No joy.
Sir Roland
1-Feb-15 20:07pm
View
There is no error list
Sir Roland
1-Feb-15 14:58pm
View
How do I access the error and warnings settings? I didn't see them when I looked at properties. I do have some #pragma tokens. I'll try turning them off. Since I am suddenly seeing the problem when I rebuild inactive projects, it seems it would be associated with the Visual Studio set-up.
Sir Roland
25-Jan-15 7:17am
View
You are probably right Sergey. I spent a hour looking for bugs before I posted the question with no joy. I want to increase the stack about 20% as a diagnostic tool.
Thank you for your input.
Sir Roland
25-Jun-14 22:04pm
View
Thanks for the suggestion. I'll probably go with Solution 2.
Sir Roland
25-Jun-14 22:02pm
View
Thanks for the solution. I read the documentation, apparently not closely enough
regards, Roland
Sir Roland
23-Jun-14 12:28pm
View
Yes, that's true. Perhaps you didn't notice. I'm referring to Visual Studio C++.
Sir Roland
5-Jun-14 15:21pm
View
I clearly don't know how to control accept/reject. Is there any to inspect the answer without either accepting or rejecting? What I wanted to do is not accept or reject until I could evaluate the solution. After looking at the suggestion carefully, it solves my problem, not directly, but tangentially. I am not trying to capture the whole screen, but to capture the bits that are also used to populate the client area. Thanks again for the suggestion.
Sir Roland
Sir Roland
5-Jun-14 11:13am
View
This looks like it will solve my problem. The headers look like what I need. I'm going to try them before I accept this as a solution. Thanks for the help
Sir Roland
Sir Roland
10-Mar-14 17:27pm
View
Thanks for the input. I'm not far enough into it to have looked at platforms and engines. In my first and only exposure 15 years ago I was playing around with the voice recognition feature on Windows 95. When that gave me such low recognition, I decided it wouldn't be accurate enough for my application.
I'll take a look at the Microsoft Speech API and go from there. Thanks again.
Roland
Sir Roland
8-Mar-14 15:42pm
View
Thanks Graham. This answer was exactly what I needed. I tried to give it 5 stars. I thought I should mark every star, but the application would accept no changes after I marked the leftmost one.
Sir Roland
26-Feb-14 11:21am
View
Thanks for the assist!
Roland
Sir Roland
11-Jul-13 15:14pm
View
I just pressed the accept button. I hope it does the job. Thanks again
Sir Roland
9-Jul-13 15:14pm
View
Thanks, this clarifies my situation. I would conclude that my problem with the program is not due to any optimization since I see it after building "debug" and after building "release". I'll just have to define the problem more before I ask for any additional help.
Regards,
Roland
Show More