参考:https://blog.csdn.net/KKALL1314/article/details/81915354 https://forum.qt.io/topic/80301/file-not-recognized-file-format-not-recognized-error 背景:在Ubuntu下 QT环境中添加讯飞语音库 要求:.so文件要经过交叉编译,否则报错:“error: file not recognized: File format not recognized” 过
简介:有时候Sql Server的内置函数没有那么好用的时候,可以引用一下外部程序集,下面献下丑,做下添加外部程序集操作 1.准备程序,编译出一个MyCLR的DLL. public class CLRClass { [Microsoft.SqlServer.Server.SqlFunction] public static int MyFun(int a, int b) //必须使用静态方法,非静态方法会报错. { return a <= b ? a : b; //其实就是一个判断最小值函数 }