16,001,882 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 .NET 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 Guyverthree (Top 61 by date)
Guyverthree
3-Mar-15 8:55am
View
I would second everything that Mike has said here.
A debugger would be the best way of seeing exactly what is reading the memory that is being read.
Checking for Leaks is good practice but does not help track a crash like this as a cause can be try to read memory that had been freed.
Guyverthree
20-Nov-12 10:50am
View
Yeah i agree no reversing is required for a doubly linked list.
:)
Guyverthree
6-Mar-12 7:34am
View
Agree you can do OOP in C++, but it is by no means the only way of using it.
Guyverthree
21-Feb-12 13:14pm
View
Make sure that the Driver is installed and setup correctly on the other machine.
Guyverthree
19-Jan-12 12:52pm
View
Be sure to check that you have not inadvertently, changed the include paths on your project in debug mode so that they differ from the release versions....
Guyverthree
2-Dec-11 11:44am
View
Indeed in Normal English I need is not a question.
Also see the lack of question mark....
Guyverthree
10-Oct-11 6:38am
View
Yes this will solve the problem. + 5
Guyverthree
18-Aug-11 8:21am
View
Please note that a Thread is not a process. A Processes contain threads which all run in the same memory space.
Guyverthree
17-Aug-11 9:54am
View
Thanks. If the terms are wrong I will improve the answer.
Guyverthree
12-Aug-11 12:15pm
View
NO.
Guyverthree
10-Aug-11 12:42pm
View
I believe the problem is that you are overloading the unary * operator, hence the too many parameters error that you get when this compiles. I think you want to overload the binary one however I don't know how to make it do this. Sorry that I cannot help you.
however i did find this on the wiki page i was reading
Multiplication a * b Yes Yes T T::operator *(const T& b) const; T operator *(const T &a, const T& b);
it might help you.
Guyverthree
9-Aug-11 5:22am
View
this is correct my 5.
Guyverthree
8-Aug-11 11:54am
View
As far as I know the new operator is not valid in plain C it's a C++ only keyword.
Be careful not to over run the buffers that you are using :)
Guyverthree
8-Aug-11 6:20am
View
good explanation my 5
Guyverthree
4-Aug-11 9:45am
View
+5 this is correct
Guyverthree
2-Aug-11 10:55am
View
I like simple and exact.
Guyverthree
2-Aug-11 4:12am
View
Check your header files are in order and then check that you have the required libarays in the additional include directories in the properties.
Linker errors are caused because the linker cannot find either a function definition or the symbol is unknown.
Guyverthree
1-Aug-11 12:31pm
View
I agree indentation is good practice.
Guyverthree
1-Aug-11 11:38am
View
I would put the code above into Visual studio and use a debugger to step through the code so you can see what is going on at each step.
Something is obviously doing something you don't expect but since i don't know what you are trying to do I can't say what is wrong. A debugger with watch and step though abilities will be most useful in this endeavour.
Guyverthree
27-Jul-11 7:26am
View
I agree that regular expressions are most likely the way to solve this problem.
Guyverthree
18-Jul-11 11:30am
View
Glad we agree.
Guyverthree
18-Jul-11 8:57am
View
LPVOID does not have a size on Linux so + 1 will move it a single byte. Windows for instance it is 4 bytes.
and ++ will not compile.
Guyverthree
18-Jul-11 8:51am
View
Indeed Emilio is correct, vectors are just like any base type of data type and NOT thread safe.
Guyverthree
13-Jul-11 8:44am
View
don#'t forget that ++ is an operator and + 1 is not.
therefore if i is a pointer + 1 might only move the pointer a single byte.
where as ++i or i++ will move it the size of the data that the pointer points to :)
Guyverthree
12-Jul-11 11:17am
View
I'm not 100% sure which is why this is not an answer, I believe that you cannot define code without it being inside a function definition.
Guyverthree
30-Jun-11 8:50am
View
i had made that assumption based on the #include of windows.h, I have updated my solution accordingly. Safar.
Guyverthree
24-Jun-11 5:30am
View
That's correct. 5+
Guyverthree
22-Jun-11 5:45am
View
http://msdn.microsoft.com/en-us/library/ms682425%28v=vs.85%29.aspx
this will also help
5 from me.
Guyverthree
22-Jun-11 4:21am
View
Agree 5
I didn't know about design patterns but they are obviously very very useful.
Guyverthree
22-Jun-11 4:17am
View
Agree 5 :)
I didn't know about design patterns but they are obviously very very useful.
Guyverthree
21-Jun-11 10:06am
View
Yes that is a fair point. The gobal queue is a must.
I was assuming that he must have thought about timeouts, parallel tasks and dead locking if he is creating 11K worth of threads already and wants the task to be completed successfully.
Guyverthree
2-Jun-11 11:51am
View
Indeed I agree.
Guyverthree
1-Jun-11 11:04am
View
I second this.
If you need to keep a copy of this Information then put it in a file and only display the it every second to the user.
Guyverthree
26-May-11 10:36am
View
Seconded.
Full code of something like that would be highly prized I think.
Guyverthree
18-May-11 12:04pm
View
thanks I tired to offer an approach rather than code for him to copy.
Guyverthree
18-May-11 4:41am
View
thanks :)
Guyverthree
20-Apr-11 11:49am
View
try dumping the memory at local_member_buffer_1 and see if the image that you are copying is empty.
Guyverthree
20-Apr-11 10:43am
View
GetLastError(); can be your best friend in this case :)
Guyverthree
19-Apr-11 8:51am
View
move what type of buttons ?
how do you know it's solved ? would a message box be enough.
comment more on the method you want to use and the exact problem that you are having.
Guyverthree
18-Apr-11 11:31am
View
Sorry it was a badly written comment.
It should have said: I like changing the function, warning suppression is rarely a good idea.
I agree that changing the function is the right thing to do, rather than just suppressing the warning like the other solutions. I voted 5. :)
Guyverthree
18-Apr-11 9:29am
View
like changing the function warning removal is rarely a good idea.
J
Guyverthree
18-Apr-11 9:29am
View
Deleted
like changing the function warning removal is rarely a good idea.
J
Guyverthree
18-Apr-11 9:10am
View
this does fix the issue +5
Guyverthree
18-Apr-11 9:09am
View
Aamir Butt is correct I should have used the macro instead of the L parameter.
I have changed the solution to improve it.
Guyverthree
18-Apr-11 7:21am
View
indeed and seconded.
J
Guyverthree
18-Apr-11 5:31am
View
Sorry i use mobile programming alot and that defaults to Wide string.
Remove the L from the front of the path
Guyverthree
16-Apr-11 17:06pm
View
can you just remove the lib and the system("cls"); functions and compile and run the code then ???
Guyverthree
16-Apr-11 16:59pm
View
i think the problem was conio.h not having clrscr() ni it.
I ahve changed it for antoher function that does the same thing from cstdlib
Guyverthree
14-Apr-11 5:07am
View
Deleted
Usually it's a version problem. In the Cab file is a version field when it's created for the platform that it's intended to be installed on. It most likely that you are doing the right thing but that the other CAB files are designed to run on a different (later) version of windows and hence you get the warning message.
Guyverthree
14-Apr-11 4:25am
View
Sorry I miss read the wording of your post of poorly as purely.
I apologize.
Guyverthree
11-Apr-11 19:14pm
View
do you mean a stocastic Search pattern ????
Guyverthree
11-Apr-11 8:52am
View
I disagree that overloading was purely idiotic, you load a functions with parameters, and in it's first instance (very old I might add) overloading was used to increase the variables which were passed to a function, hence the terms overloading.
But I agree that the terms are mixed on occasion. And need to be understood completely.
Guyverthree
6-Apr-11 12:54pm
View
I agree, that is the simplest way to do what you want to do.
Guyverthree
5-Apr-11 7:11am
View
I have a similar problem on Vista, Olivier correctly states that you need to use the application Data. It might well be a hidden directory called app data under the user which is signed in however.
Guyverthree
5-Apr-11 4:37am
View
I like this good answer
Guyverthree
5-Apr-11 3:56am
View
Indeed you are right and readability of code is important.
Guyverthree
4-Apr-11 9:37am
View
This is correct, they changed the standard so you must specific the return type from a function.
Guyverthree
31-Mar-11 9:39am
View
Have you tried creating three events, one for there is some work and the other two for a quit.
Then wait on all three and if you have work do some, but if you need to quit clean up the thread and then set the exit event so you know the thread has completed and cleaned up.
This structure would also be the same sort of thing if you message based the thread instead of event based it.
Guyverthree
31-Mar-11 9:15am
View
Is the thread message or event based ?
Or is it just going till the program quits ???
Guyverthree
31-Mar-11 7:58am
View
it might be that you are not handling the redraw of the window properly. Just a suggestion.
Guyverthree
31-Mar-11 5:33am
View
Indeed they are the same for assignment purposes.
Show More