February 4, 2005 at 4:16 am
Hello,
I have a DLL written in C. How can I access its methods and attributes from the sql code? I am using SQL Server.
I would appreciate as much detail as possible, since I am a total newb in this matter, but nay help at alçl would be appreciated.
Thanks in advance,
Marcelo
February 7, 2005 at 8:00 am
This was removed by the editor as SPAM
February 7, 2005 at 11:56 am
Questions -
I have interacted with DLLs in TSQL in a couple of ways. Using the 'standard' way, the DLLs MUST be COM (OLE Automation) libraries. Generally these are written in C++, VB, Delphi (among others). You ineract with the objects defined in the library using the sp_OAxxx procs. From BOL:
To create an OLE Automation object
Note All of these steps must be performed within a single Transact-SQL statement batch. All created OLE objects are destroyed automatically at the end of each statement batch.
If the library is NOT a COM library, you can make it one given some knowledge (and access to) Visual Basic.
-------
at us, very deafly, a most stares
collosal hoax of clocks and calendars
eecummings
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply