SaveAsTArch3
Private Shared Declare Function SaveAsTArch3_32 Lib "tch_kernal.arx" Alias "?SaveAsTArch3@@YAHPAVAcDbDatabase@@PB_WH_N@Z" (ByVal db As IntPtr, <MarshalAs(UnmanagedType.BStr)> ByVal path As String, ByVal param1 As Integer, ByVal param2 As Boolean) As Integer
Private Shared Declare Function SaveAsTArch3_64 Lib "tch_kernal.arx" Alias "?SaveAsTArch3@@YAHPEAVAcDbDatabase@@PEB_WH_N@Z" (ByVal db As IntPtr, <MarshalAs(UnmanagedType.BStr)> ByVal path As String, ByVal param1 As Integer, ByVal param2 As Boolean) As Integer
判断用户是否以管理员身份运行了程序
欢迎关注微信公众账号ByCAD