Hello. I am attempting to make use of Microsoft’s parallel patterns
library to add threading in my application. I am using the express
version of VC++.
I am creating a dll project.
I have used the Parallel_For function in several cases, and the code
all compiles and runs fine, and utilizes the processors fairly well.
Everything works fine on my machine. When a user install on another
computer, the application crashes. Everything was fine before I added
the PPL stuff.
I am statically linking with the runtime libraries.
Does anyone know if there are other dependencies I need to install? Or
any other ideas? I have nothing to go on at this point. I’ve been
searching for a couple of days and have found nothing.
Please log in or register to post a reply.
You might try using Dependency
Walker to see if the .exe has any
odd-looking DLL dependencies (not built-in Windows DLLs). However, if
it’s a missing DLL the application should be giving a popup message that
says which DLL it is, rather than just crashing silently.
Other than that, are you catching exceptions / checking return codes
from API calls and suchlike in your app? If not, perhaps you are missing
something that could help narrow down the problem.