Home > Net >  C # call medicare interface of VC dynamic library, tip: unable to load the DLL "BargaingApplyV3
C # call medicare interface of VC dynamic library, tip: unable to load the DLL "BargaingApplyV3

Time:10-09

///& lt; Summary>
///trading initialization function
///& lt;/summary>
///& lt; Param name="strEmpty & gt;" Do not need to pass data & lt;/param>
///& lt; Param name="strMsg & gt;" The information returned & lt;/param>
///& lt; Param name="strYLJGBH & gt;" Pass medical institution number & lt;/param>
///& lt; Returns> Equal to zero: success, without any warning, return information in retMsg, greater than 0: success, but there are warnings, warning information in retMsg, less than zero, failure, error messages in retMsg & lt;/returns>
[DllImport (" BargaingApplyV3_08001. DLL, "EntryPoint=" f_UserBargaingInit ")]
Public static extern int f_UserBargaingInit (string strEmpty, StringBuilder strMsg, string strYLJGBH);

CodePudding user response:

https://bbs.csdn.net/topics/390077355
Seven years later, I also encountered this problem, is it that calls the DLL file references the other DLL file?

CodePudding user response:

The StringBuilder sb1=new StringBuilder (512);
Int Init=Test. F_UserBargaingInit (string. The Empty, sb1, txtYLJG. Text);

CodePudding user response:

refer to the second floor lin370832 response:
StringBuilder sb1=new StringBuilder (512);
Int Init=Test. F_UserBargaingInit (string. The Empty, sb1, txtYLJG. Text);


Have some great god for help
  •  Tags:  
  • C#
  • Related