从Sql Server 2008调用dll [英] call dll from Sql server 2008
本文介绍了从Sql Server 2008调用dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我能够从sql server 2008调用dll,但是sql server仅接受void返回类型.我在dll中有返回类对象的方法,然后调用该对象的方法.我该怎么做.
I am able to call dll from sql server 2008 but sql server accepts only void return type. I have method in dll which returns object of the class and then call method of that object. How can I do this.
推荐答案
你好,
首先使用sp_addextendedproc注册dll,然后
使用master Go sp_addextendedproc" FunctionName","Dll Path"
希望对您有帮助
谢谢
sanjeev
hello,
first register the dll using sp_addextendedproc and then
use master Go sp_addextendedproc " FunctionName " , " Dll Path "
hoping it will help you
thanks
sanjeev
或关注
http://sqlserver-training.com/can-we-call-dll- from-sql-server/- [ ^ ]
谢谢
sanjeev
or follow
http://sqlserver-training.com/can-we-call-dll-from-sql-server/-[^]
thanks
sanjeev
这篇关于从Sql Server 2008调用dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文