07-07-2023 12:30 AM
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;
07-07-2023 01:10 AM
Very sparse information to say much but a wild guess: Did you try with calling convention stdcall?
07-08-2023 07:35 PM
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?
07-09-2023 01:49 AM - edited 07-09-2023 01:52 AM
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!
07-09-2023 09:46 AM
@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.