LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Crash "DAbort 0x37C03D in MemoryManager.cpp" when calling DLL with "Call Library Function Node"

Hi all,

 

I would like to work with a LabVIEW program that I did not programm by myself.

 

In this programm an external DLL needs to be called. in the Momente this dll ist called with the "Call Library Dunction Node" LabVIEW crashes with this Error Message:

 

DAbort 0x37C03D in MemoryManager.cpp

 

Attached is the entire Log.

 

The programm runs on the computer of the original programer.

I have never handeled with DLLs or something like that before, so I have absolutely no idea how to rsolve this problem.

 

Thanks for your help!

0 Kudos
Message 1 of 4
(4,356 Views)

Please provide information on the DLL function and its parameters.

It sounds like you messed up with calling convention or struct-types.

 

Is it a "generic" C DLL or is it something else?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(4,329 Views)

Thank for your answer Norbert,

 

I only have this DLL included in the project. I have no original source files and no idea what a "generic" C DLL is.

 

Sorry I fear that I cannot provide you with more information about the DLL.

0 Kudos
Message 3 of 4
(4,309 Views)

A DLL can be compiled by different compilers. By "generic" C DLL, i refer to ANSI C (so no C++, no Borland C or something else).

 

My question is raised as parameters, esp. arrays and strings, can lead to this behavior when used in the wrong way (including "Calling Convention").

Also, interfacing with the LV memory manager can lead to crashes like this, but this wouldn't be a "generic" DLL as it binds to LV (due to LV API calls).

 

Without a better knowledge on the DLL and its functions, there is not much we can help you with.

Where does the DLL come from?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(4,301 Views)