15,886,362 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 Russell
'
(Top 6 by date)
Russell
'
15-Oct-14 12:29pm
View
The application is a simple, multithread (see C++ CreateThread), Console Win32, numerical-only software.... so there is any optimization for some grid computing. And it can not modified.
The question is different: is Windows Server giving the application the sum of the possible thread available in a network of 2 or more computers, or are them simply 2-3 separate computers on a network?
Russell
'
28-Sep-11 9:40am
View
I love you!
Russell
'
21-Apr-11 13:37pm
View
HiSorry, I am not so expert on this kind of stuff.
I will try to explain better but googling it looks that many have the same problem.
The setup project takes the output of my application project.
It Stores into the "application folder" also another exe (not mine).
Then I am simply using a custum action in my setup project to run the other exe.
That exe is the setup of some needed drivers that needs to be installed before that my application runs.
What happens is that the setup fails when run. If UAC is disable the setup succeses.
What do you mean with "that installer should prompt trigger the UAC again"? Cna you please explain better? How to do that?
Russell
'
1-Apr-11 3:56am
View
Thank you
Finally I found a way to export all the memory-cleaning into the distructor of the class I created to contain the thread. So the memory leaks is solved.
It remains a mistery how to detect the right moment to close myself the thread because I found that it can be 'terminated' at any time when the main window of the application is closed.
I think the only way can be now to receive a special call from the exe when it is receiving WM_CLOSE or something like that.
But in my case I don't like this because I want that the thread remains an hidden 'concept' into the dll so I don't like this needing. So I have adapted the code of the thread trying to avoid big problems ... but some little problems with the file managing still remains (I'll solve in future).
Regards
Russell
'
31-Mar-11 9:23am
View
HiIt is a simple worker thread (only file managing). It has to run always during the program run. Then I need to stop it correcly using a simple flag when the program stops.
I am trying to get some event from the CWinApp inside the dll (not the one in the exe, MFC application) to set that flag and wait that the thread exits itself, but it looks that everytime it is too late and the thread is already destroyed from somewhat before.
Russell
'
29-Sep-10 5:56am
View
It look you solved both my problems.
Bravo Sauro!
Show More