LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Laview dll error 1097

Hello everyone.

I have one .dll library from my company. I was trying to communicate with Labview 2020 SP1, 32 bits. But I got the error 1097.

The paths was correct and it's not the problem.

I think I was missing understanding what is the character*255 (I really don't get it that), so I've put the .dll input one the simple string. The input must be one path directory and have 68 letters.

I can't post the whole program and their names here, but I think that with the photos attached maybe someone can help me.

Regards;

0 Kudos
Message 1 of 5
(901 Views)

Very sparse information to say much but a wild guess: Did you try with calling convention stdcall?

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 5
(886 Views)

Hello Rolf. I’ve tried all options available in the dll configuration. Nothing works. 

I don't now how to add more information. Did suggest something?

0 Kudos
Message 3 of 5
(835 Views)

Then it’s time to look at the DLL itself. You mentioned it is from your company. Them you should have someone who created it and can debug it in the source code of the DLL, shouldn’t you?

Either the DLL does try something that the developer did not anticipate it to do in a more complex environment than his simple command line test program or the information you got about the function is incomplete or outdated!

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 5
(821 Views)

@LeonardoMelloCeleste wrote:

Hello Rolf. I’ve tried all options available in the dll configuration. Nothing works. 

I don't now how to add more information. Did suggest something?


As Rolf stated it is time to dig into the external code documentation. 

 

This Knowledge Base Article is a good guide.


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 5
(801 Views)