Call a dll function build with delphi from asp .net
Posted on 2008-10-22
I´m migrating a software build with delphi 7 to .net winforms and asp.
There are some cryptography and authentication issues that is really hard to port from delphi to .net so I decided to build a dll with some "service" functions.
The dll functions basically connect to a sql db using ado, retrieve and write some data (tadodataset, tadocommand).
To see if the dll is fully functional, I made a simple winform with some textboxes and buttons and call all those functions. All the functions are ok.
But when I use the same dll functions into an asp solution they doesnt work.
There are no error messages but the functions always return that an exception was catch by a Try-Except block.
Finally... the questions:
- is it possible to call this kind of dll function inside an asp project?
- why the functions are ok with the win application and fails with asp?