Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB Extensions » View Thread |
Messages 11 to 13 of 13 total |
External Module Strange Behaviour |
Thu, Dec 17 2009 5:27 PM | Permanent Link |
Steve Forbes Team Elevate | Hi Tim,
Found the problem. When creating a new ElevateDB External Module via the New Item template (in RAD Studio 2010), the method signature for EDBExternalModuleRoutine is incorrect (parameter is a String rather than AnsiString) causing the modules OnRoutine link to the method to be removed ... obviously when this happens the event handler is never triggered, doh Slow going, but the penny dropped for me eventually Best regards Steve "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message news:107A880D-DC7A-43DA-A2E8-F5D54A1E8237@news.elevatesoft.com... > Steve, > > << I will bundle it up and send to you tomorrow. >> > > Thanks. > > << This is not a high priority so don't worry about a quick answer. >> > > No problem. I'm getting a new build ready by next week, so I can squeeze > it in there. I'm sure the fix is simple. > > << For example I have added the following functions today >> > > Cool. > > -- > Tim Young > Elevate Software > www.elevatesoft.com > |
Thu, Dec 17 2009 7:02 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Steve,
<< Found the problem. When creating a new ElevateDB External Module via the New Item template (in RAD Studio 2010), the method signature for EDBExternalModuleRoutine is incorrect (parameter is a String rather than AnsiString) causing the modules OnRoutine link to the method to be removed ... obviously when this happens the event handler is never triggered, doh >> RAD Studio still has issues with identifying AnsiString vs. WideStrings when automatically creating event handler templates in the code. I always have to be careful when modifying the external modules that we ship with ElevateDB because of this - the IDE always wants to remove them because it doesn't know what to do with our TEDBString type that we use for abstracting out the AnsiString/WideString differences. -- Tim Young Elevate Software www.elevatesoft.com |
Fri, Dec 18 2009 8:22 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Steve
Well done that man <vbg> Roy Lambert |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |