Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 3 of 3 total |
External Modules |
Wed, Aug 5 2009 1:05 PM | Permanent Link |
"Terry Swiers" | Hi,
Got a couple of questions with regards to external modules that I've not been able to answer from the documentation. 1. Is there any way of implementing some type of on progress event from within a external module? 2. Is there any way to access the session and database connection information from an external module to access the database from which it is being called? Or would I have to pass the connection information through the parameters and then 3. Is there any way to "unload" a module after it's no longer needed. The functions that I'm working on would be one time functions and not used anywhere else, so I would like to get them out of the way once they are done. Thanks. -- --------------------------------------- Terry Swiers Millennium Software, Inc. http://www.1000years.com http://www.atrex.com Atrex Inventory Control/POS - Big business features without spending big business bucks! Atrex Electronic Support Options: Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp Email: mailto:support@atrex.com Newsgroup: news://news.1000years.com/millennium.atrex Fax: 1-925-829-1851 Phone: 1-925-828-5892 (M-F, 9a-5p Pacific) --------------------------------------- |
Thu, Aug 6 2009 2:16 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Terry
>1. Is there any way of implementing some type of on progress event from >within a external module? If its SQL based I don't know, but I doubt it. If its as a Delphi etc dll then you can implement something in there as with any dll >2. Is there any way to access the session and database connection >information from an external module to access the database from which it is >being called? Not to my knowledge >3. Is there any way to "unload" a module after it's no longer needed. The >functions that I'm working on would be one time functions and not used >anywhere else, so I would like to get them out of the way once they are >done. No idea but in that case the question has to be asked - why have an external module which is intended to be an extension to ElevateDB. Can what you want not be just achieved using a standard dll? Roy Lambert [Team Elevate] |
Thu, Aug 6 2009 10:58 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Terry,
<< 1. Is there any way of implementing some type of on progress event from within a external module? >> No, not at this time. << 2. Is there any way to access the session and database connection information from an external module to access the database from which it is being called? Or would I have to pass the connection information through the parameters >> No, you would have to do like you say and pass the database name, etc. to connect to. We usually recommend that you split the necessary external parts out from the database processing parts, and have the database processing occur in a normal SQL procedure. For example, say you have a situation where you need to interface with another DLL or hardware device. Instead of coding the whole thing in an external procedure using the ElevateDB components, you can code the database portions in SQL and then call the external procedure for the specific interface calls. << 3. Is there any way to "unload" a module after it's no longer needed. The functions that I'm working on would be one time functions and not used anywhere else, so I would like to get them out of the way once they are done. >> No, EDB will keep it around for performance purposes until the session is closed. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Saturday, May 4, 2024 at 12:54 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |