ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error loading a .exe labview application (attachement)

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.

Does anyone knows what went wrong and what should I do?
Thank you
0 Kudos
Message 1 of 2
(3,145 Views)

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




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 2
(3,111 Views)