k******r 发帖数: 2300 | 1 我有一个非COM dll, 现在我想在一个SQL script 里面调用这个dll 里定义的函数,
应该怎么做?如果能有一个简短的例子,就最好不过了。另外这个dll 是不是一定要是
COM dll? 多谢! |
j*****n 发帖数: 1781 | 2 You may have to wrap the DLL in a .NET
http://www.eggheadcafe.com/software/aspnet/32001556/how-to-call-noncom-legac.aspx
【在 k******r 的大作中提到】 : 我有一个非COM dll, 现在我想在一个SQL script 里面调用这个dll 里定义的函数, : 应该怎么做?如果能有一个简短的例子,就最好不过了。另外这个dll 是不是一定要是 : COM dll? 多谢!
|
k******r 发帖数: 2300 | 3 Thanks for your reply. I am not using ASP.net at all. Basically, I need call
the dll from SQL. Why'd I need to wrap the dll in a .net?
【在 j*****n 的大作中提到】 : You may have to wrap the DLL in a .NET : http://www.eggheadcafe.com/software/aspnet/32001556/how-to-call-noncom-legac.aspx
|
j*****n 发帖数: 1781 | 4 CLR does not support non-Com dll.
call
【在 k******r 的大作中提到】 : Thanks for your reply. I am not using ASP.net at all. Basically, I need call : the dll from SQL. Why'd I need to wrap the dll in a .net?
|
k******r 发帖数: 2300 | 5 Actually, my question has nothing to do with .net. I don't care about CLR.
Again I use SQL script to call dll. Thanks.
【在 j*****n 的大作中提到】 : CLR does not support non-Com dll. : : call
|
j*****n 发帖数: 1781 | 6 what i told you is that sql server can only call COM dll, ok?
【在 k******r 的大作中提到】 : Actually, my question has nothing to do with .net. I don't care about CLR. : Again I use SQL script to call dll. Thanks.
|
k******r 发帖数: 2300 | 7 So do you know how to call COM dll from SQL server? Thanks.
【在 j*****n 的大作中提到】 : what i told you is that sql server can only call COM dll, ok?
|
j*****n 发帖数: 1781 | 8 sample:
http://www32.brinkster.com/srisamp/sqlArticles/article_31.htm
【在 k******r 的大作中提到】 : So do you know how to call COM dll from SQL server? Thanks.
|
k******r 发帖数: 2300 | |