PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD21] Using a .NET dll from a stored procedure.
[WD21] Using a .NET dll from a stored procedure.
Iniciado por guest, 07,jul. 2016 16:21 - No hay respuesta
Publicado el 07,julio 2016 - 16:21
Hi Everyone

Does anyone know if it's possible to utilise a .NET dll located on the server, from within a stored procedure?

I want client PC's using my application to be able to launch a stored procedure on the server, which then uses a .net dll, and then returns a result back to the client. I have tried this in my project and all that seems to happen is that the client PC looses connection to the server as soon as i try to declare an object within the stored procedure.

I have imported the .NET assembly into the project and it works fine in regular procedures, Eg. "MyObject is DotNetClass" but this same line of code does not seem to work in a stored procedure.

In this case it is not possible to use the class methods on the client machines, as they interact with a program that can only be located on the server. Any help with this would be much appreciated.

Thanks

Phil.