Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread TEDBExternalModule?
Sat, May 23 2015 3:44 PMPermanent Link

Carl


I am trying to create and port some Delphi Pascal external functions. I searched the forums, docs and the web, looking for documentation on TEDBExternalModule to learn how to use it and what the methods and properties are.

I looked at the "nlh" stuff and see part of the story, but not the whole picture.

I have tried looking for edbextmodule.pas, but only found the dcu.

I also just finished upgrading to XE8. Except for a couple of minor issues, all seems good.

FYI: I found the EDB templates in New>Other>Delphi Projects>Inheritable Items. Not sure if this was intended or not, an XE8 restriction, or what.

This may be a low priority for EDB now, and I can work around it. I am accustomed to using custom Pascal external functions in a dll and have a small collection I want to migrate.

Thanks, Carl.
Sun, May 24 2015 3:13 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Carl


There isn't any documentation about the external functions. When I started using it I also looked for documentation but couldn't find any. If you know what you're doing its pretty easy.

1. Unless you like excess baggage choose the lightweight templates
2. The only function you need to bother with is DoRoutines
3. The tricky part Smileyonce you've written & compiled the dll it needs to be added into your database
a)  At the session level you CREATE MODULE whatever
 then
b) At database level CREATE FUNCTION whetever

after that they are simply called like any other SQL function in the database you installed them



Roy Lambert
Image