Search:
Type: Posts; User: VBCherry
Search:
Search took 0.01 seconds.
-
December 21st, 2017, 07:28 AM
I am terribly sorry. I still feel that the images give a better idea of what I did. So I am linking the pictures below:
Includes: https://imgur.com/a/rrba6
Libraries: https://imgur.com/a/sJs2T...
-
December 21st, 2017, 04:06 AM
I realise that this question has been asked a million times, but I have gone through those solutions and they have not helped me solve the issue.
I am trying to import a library called PDNALib.lib...
-
November 23rd, 2017, 04:22 AM
If I use pointers I then don't have to worry about the object going out of scope somewhere and getting deleted. I know that until I call delete, the pointer stays put. I could be totally wrong on...
-
November 23rd, 2017, 04:20 AM
I hadn't considered this. This would at least relieve my concern that I am reusing the same variable.
-
November 23rd, 2017, 03:32 AM
I honestly hadn't considered this. I had only thought about cleaning up. Each Device object has a unique ID, which the user provides. I could save the Device pointers along with their IDs in a hash...
-
November 23rd, 2017, 12:52 AM
I have to create and initialise objects of a class called Device in my main program. But the number of objects created are based on the user input. The IDE is Qt so I have access to data structures...
-
June 10th, 2017, 07:22 AM
Thank you so much! This is way beyond anything you needed to do!
Could you explain what you are doing with chRead in the two if statements? Also what does Process do? I just want to understand this,...
-
June 10th, 2017, 06:18 AM
This only guarantees a lower limit. So there is a possibility that the process might sleep for longer and miss the next packet of data. Won't my idea work?
-
June 10th, 2017, 06:03 AM
This is a brilliant idea! I do have one hypothetical to run by you. (I am terribly sorry for taking your time, but it is not often that I have someone experience guiding me).
Can use the timer to...
-
June 10th, 2017, 05:37 AM
Is there a way to automatically resume a suspended thread after a certain amount of time? Also does the suspension and resumption happen from within the thread? This could potentially make my code...
-
June 10th, 2017, 05:14 AM
But if it is my timer that creates new threads after the old one have ended (return 0), won't killing that timer stop further threads from being created?
I am terribly sorry if I am making this...
-
June 10th, 2017, 04:50 AM
@VictorN
I was thinking about why the thread wasn't end when I killed the timer, is it possible that the thread doesn't end after the thread function goes out of scope each time?
-
June 10th, 2017, 04:27 AM
@VictorN @2kaud
Thank you for pointing out the mistake I was making. I changed the code so that I declared the THREADSTRUCT instance in the header file, and initialised it and it's members in the...
-
June 10th, 2017, 03:55 AM
The StartThread function is called periodically by SetTimer. That is why I did not put it in a loop.
-
June 10th, 2017, 02:29 AM
I have an MFC application whose GUI has a start and a stop button. The start button calls a function which I want to run in the background, periodically. My solution was to use the SetTimer function...
-
April 24th, 2017, 04:57 AM
I have been getting the same response from a lot of people. Even the comment section of that example is filled with people saying it is a bad implementation.
Learning that the hard way.
I saw...
-
April 24th, 2017, 02:54 AM
So I have been trying to implement the concept of multithreading to an MFC application I am making. I used the method suggested here. It works fine but I am having an issue with using data given by...
-
April 7th, 2017, 03:51 AM
Hi guys,
I am working with a database that contains multiple duplicate records, and my task is to find a way to edit certain fields in these records all at once.
The relevant
short xyz;
...
|
Click Here to Expand Forum to Full Width
|