LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview how to connect the database via .dll library

Hi, All

 

   I faced a trouble, normally the .dll library can connect the database through C# program, but I invoke the .dll library can't

connect this database , I don't know why ,I used the method is the same with C#, please refer photo and .dll file,thanks

 

Lchjxlz_0-1653535107255.png

Lchjxlz_1-1653535129212.png

lavview connecting fail

C# connect successful

Lchjxlz_2-1653535181019.png

Lchjxlz_3-1653535349155.png

 

 

0 Kudos
Message 1 of 8
(1,115 Views)

what's the reason? why labview to invoke the sajetconnect.dll file is failed,but C# use the same method is successful ?thanks a lot

0 Kudos
Message 2 of 8
(1,113 Views)

Hello,

 

can you help to resolve this problem? thanks so much~

0 Kudos
Message 3 of 8
(1,058 Views)

Another topic related to SajetConnect.dll - https://forums.ni.com/t5/LabVIEW/call-dll-issue/td-p/1997927

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 8
(1,039 Views)

Thanks, it seems not the same issue, their faced problem is not create .ini file, but i faced is can't connect the server invoke dll via labview,thanks

0 Kudos
Message 5 of 8
(1,029 Views)

Thanks ,Resolved

0 Kudos
Message 6 of 8
(1,021 Views)

Please tell us what you did to resolve this.

Rolf Kalbermatter
My Blog
0 Kudos
Message 7 of 8
(1,010 Views)

as you reminder, need to create the .exe file to run and then connected the server,thanks

Message 8 of 8
(1,004 Views)