Microsoft PPL library dependencies?

29f0b93ab947388f8326143a7e7a4ccd
0
Dan_Ritchie 101 Mar 29, 2012 at 02:37

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.

1 Reply

Please log in or register to post a reply.

A8433b04cb41dd57113740b779f61acb
0
Reedbeta 167 Mar 29, 2012 at 05:37

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.