Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 3 of 3 total |
C/C++ ElevateDB Module |
Mon, Nov 4 2013 2:58 AM | Permanent Link |
Harrison Grundy | I'm trying to convert some legacy C code that only builds under mingw32 / 64 (or gcc) into an ElevateDB module. The code performs some spatial operations on a single lat/long, then returns an updated lat/long. Is there an example C module stub I could use as a basis for this?
A simple example of the function (that simply turns turns them into "1" would be: struct latlong { float lat; float long; }; struct latlong updatell(float* a, float* b) { assert(a); assert(b); *a = 1; *b = 1; return } I know I need to implement CloseEDBModule, GetEDBModuleErrorMsg, GetEDBOutputParms, CallEDBRoutine, |
Mon, Nov 4 2013 2:59 AM | Permanent Link |
Harrison Grundy | The wonders of trying to slap together code in a browser.
The basic operation of the module would be to accept 2 floating point values, and return, ideally, two different floating point values, or a character string I could parse back out in Elevate. Any ideas would be greatly appreciated. --- Harrison Grundy |
Tue, Nov 5 2013 2:53 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Harrison,
<< I'm trying to convert some legacy C code that only builds under mingw32 / 64 (or gcc) into an ElevateDB module. The code performs some spatial operations on a single lat/long, then returns an updated lat/long. Is there an example C module stub I could use as a basis for this? >> I've uploaded something that should work here: http://www.elevatesoft.com/forums?action=view&category=edb&id=edb_binaries&msg=53&page=1 If you have any other questions, please let me know. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Monday, April 29, 2024 at 05:23 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |