08-25-2010 08:32 AM
I developped a monitoring application in labview 2010, containing video monitoring using 2 webcams. In the module for video monitoring I call the avicap32.dll and the user32.dll using the call library function.
It runs perfectly. But when I build a .exe and run it on the development PC it will crash before loading and tells me that the following files (attached) can describe what went wrong:
C:\Users\user\AppData\Local\Temp\WERE917.tmp.WERInternalMetadata.xml
C:\Users\user\AppData\Local\Temp\WER4348.tmp.appcompat.txt
C:\Users\user\AppData\Local\Temp\WER4378.tmp.mdmp
when I run the .exe on another PC (with the labview 2010 RTE installed) it generates an "Entry Point Not Found - The procedure entry point wscat_s could not be located in the dynamic link library ntdll.dll" error and other one "Entry Point Not Found - The procedure entry point _except_handler4_common could not be located in the dynamic link library msvcrt.dll". And opens the program with a broken arrow.
when I press on the broken error, it gives the following error:
Missing external function user32.dll: SendMessageA:C in VI myvi.vi.
Missing external function avicap32.dll: capCreateCaptureWindowA:C in VI myvi.vi.
I'm sorry about the large amount of information, but I had to put everything I saw.
08-25-2010 02:10 PM
Post the code you are using to build the .EXE.
I suspect you have a path issue to the actual dll calls. Make sure your paths are absolute paths