03-03-2019 03:03 PM
Hi Everyone,
I had an application developed with 32-bit LabVIEW which was playing a video using VLC player. The application was controlling the video playback from LabVIEW.
As there was a need to build the same application with 64-bit LabVIEW I have found 64-bit supporting VLC player, which is running as a stand-alone application just fine. But when I try to access it with the corresponding DLL from LabVIEW (exactly the same way is in case of 32-bit), it throw an error 1097 on call library function node.
"LabVIEW: (Hex 0x449) An exception occurred within the external code called by a Call Library Function Node. The exception might have corrupted the LabVIEW memory. Save any work to a new location and restart LabVIEW."
Does anybody have an experience with controlling a video playback with VLC from LabVIEW, and specifically with 64-bit version?
Thanks in advance.
Thanks,
Arev
CTO | RAFA Solutions
Solved! Go to Solution.
03-04-2019 09:40 AM
Hi,
That error typically occurs with a parameter mismatch, as outlined in the KnowledgeBase below.
Error 1097 While Calling DLL with Correct Calling Convention
I think I recall that you may need to change the library call function parameters from Signed 32-bit Integer to Signed 64-bit Integer to make it work.
What operating system are you currently using?
03-04-2019 10:17 AM
Hi Kevin,
Thank you very much for the hint. It helped. I change data types to I64 and now it functions properly.
To answer your question I'm using 64-bit OS.
Thanks,
Arev
CTO | RAFA Solutions
01-12-2023 01:39 AM
May I know where to change data type to I64... Is in function return or ??
01-12-2023 12:01 PM
@gopinathbb wrote:
May I know where to change data type to I64... Is in function return or ??
Likely anywhere handles or pointers are used.
If you are having a similar problem, it would be good to include the definition of the function that is generating an error and how you have the call library node configured.