Parameter count mismatch in multi-threading
-
I am getting the following error message: "Parameter count mismatch" I get this message when I run my program using Task for multi-threading, however when I run without multi-processing I do not get an error. The process runs fine and to completion without a problem, but after it is finished this error message pops up. If it is a parameter count mismatch why does it not show up in as an error when I build the project. Why doesn't it show an error when the variables are transferred at the point in the process. How do I find the problem, what are the possible reasons for this problem. Any help will be appreciated, thanks in advance. Michael
-
I am getting the following error message: "Parameter count mismatch" I get this message when I run my program using Task for multi-threading, however when I run without multi-processing I do not get an error. The process runs fine and to completion without a problem, but after it is finished this error message pops up. If it is a parameter count mismatch why does it not show up in as an error when I build the project. Why doesn't it show an error when the variables are transferred at the point in the process. How do I find the problem, what are the possible reasons for this problem. Any help will be appreciated, thanks in advance. Michael
You won't get much help if you can't be bothered to post the offending code. We aren't mind readers.
"It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.
-
You won't get much help if you can't be bothered to post the offending code. We aren't mind readers.
"It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.
-
I am getting the following error message: "Parameter count mismatch" I get this message when I run my program using Task for multi-threading, however when I run without multi-processing I do not get an error. The process runs fine and to completion without a problem, but after it is finished this error message pops up. If it is a parameter count mismatch why does it not show up in as an error when I build the project. Why doesn't it show an error when the variables are transferred at the point in the process. How do I find the problem, what are the possible reasons for this problem. Any help will be appreciated, thanks in advance. Michael
As said before, almost impossible to figure out what your problem is. I would suggest that, if you don't already, depend on a single object to pass information instead of multiple objects. That might help.
-
I am getting the following error message: "Parameter count mismatch" I get this message when I run my program using Task for multi-threading, however when I run without multi-processing I do not get an error. The process runs fine and to completion without a problem, but after it is finished this error message pops up. If it is a parameter count mismatch why does it not show up in as an error when I build the project. Why doesn't it show an error when the variables are transferred at the point in the process. How do I find the problem, what are the possible reasons for this problem. Any help will be appreciated, thanks in advance. Michael
-
I am getting the following error message: "Parameter count mismatch" I get this message when I run my program using Task for multi-threading, however when I run without multi-processing I do not get an error. The process runs fine and to completion without a problem, but after it is finished this error message pops up. If it is a parameter count mismatch why does it not show up in as an error when I build the project. Why doesn't it show an error when the variables are transferred at the point in the process. How do I find the problem, what are the possible reasons for this problem. Any help will be appreciated, thanks in advance. Michael
Since the error comes up with multi-threading only, I'd think it is the block of code where you create and start the threads: do you provide enough parameters for the methods to be started in different threads, and also not too many parameters?