Re: [U2] Unidata 7.1.9 and .Net DLL
DW, Yes, I currently use the Vertex EI interface with the .NET application I'm working on. So do you know just link directly (add voc entry) with the vptrei.dll (enhanced integration) directly in Unidata? And yes, the XML is pretty sweet. Robert, Thanks for the heads-up about regasm. Tony, I did a quick google, but got a bit of search overload. I've written plenty of web services so that's not a huge huddle. I'll take a look at your articles for some refreshers on BASIC and WS. Thank you all for your ideas and helpful advice. Don Verhagen u2-usersrem...@thissoutheast-florida.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of David Wolverton Sent: Wednesday, July 21, 2010 12:31 AM To: 'U2 Users List' Subject: Re: [U2] Unidata 7.1.9 and .Net DLL Vertex's new code for passing XML is pretty sweet -- it's a different interface, but worth checking out. It's called their 'Enhanced Interface' version. DW -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Don Sent: Tuesday, July 20, 2010 9:21 PM To: 'U2 Users List' Subject: [U2] Unidata 7.1.9 and .Net DLL Does anyone know if you can hook/link a .NET dll (Managed code) into Unidata 7.1.9 (Windows). I know you can with COM .DLL by creating an E type voc entry. Sample COM DLL Voc entry 1 E 2 E:\Vertex\VertexUtils\VertexDriver.DLL 3 v_LocConnect 4 POINTER 5 CHAR_PTR 6 CHAR_PTR 7 CHAR_PTR 8 CHAR_PTR 9 INT I was hoping to update the VertexDriver.DLL (Currently COM/_cdecl) to a .Net dll. I really hate writing c code. David Wolverton, you out there? I know you have some experience writing c - Vertex utils. I may just end up writing a webservice to handle this and have Unidata call the webservice. Just want to check before I start writing this. Thanks for any assistance. Donald Verhagen u2-usersrem...@thissoutheast-florida.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata 7.1.9 and .Net DLL
Ultimately we are calling a routine as a 'service' passing the XML and receiving back the 'answer' XML - this logic will allow abstraction off the 'core database' machine since the service call can point to any machine -- if they would complete all GeoCode actions with an EI XML interface, we'd be able to be C free... They are a bit slow getting this done -- the whole EI started as a 'skunkworks' project that ended up being marketable, but the GeoCode stuff is another group. On the tax side, the hardest thing was 'mapping' all the fields to a 'file' so the XML translations could just be handled by UniData -- lots of data in the 'EI request'! -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Don Sent: Wednesday, July 21, 2010 6:27 AM To: 'U2 Users List' Subject: Re: [U2] Unidata 7.1.9 and .Net DLL DW, Yes, I currently use the Vertex EI interface with the .NET application I'm working on. So do you know just link directly (add voc entry) with the vptrei.dll (enhanced integration) directly in Unidata? And yes, the XML is pretty sweet. Robert, Thanks for the heads-up about regasm. Tony, I did a quick google, but got a bit of search overload. I've written plenty of web services so that's not a huge huddle. I'll take a look at your articles for some refreshers on BASIC and WS. Thank you all for your ideas and helpful advice. Don Verhagen u2-usersrem...@thissoutheast-florida.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of David Wolverton Sent: Wednesday, July 21, 2010 12:31 AM To: 'U2 Users List' Subject: Re: [U2] Unidata 7.1.9 and .Net DLL Vertex's new code for passing XML is pretty sweet -- it's a different interface, but worth checking out. It's called their 'Enhanced Interface' version. DW -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Don Sent: Tuesday, July 20, 2010 9:21 PM To: 'U2 Users List' Subject: [U2] Unidata 7.1.9 and .Net DLL Does anyone know if you can hook/link a .NET dll (Managed code) into Unidata 7.1.9 (Windows). I know you can with COM .DLL by creating an E type voc entry. Sample COM DLL Voc entry 1 E 2 E:\Vertex\VertexUtils\VertexDriver.DLL 3 v_LocConnect 4 POINTER 5 CHAR_PTR 6 CHAR_PTR 7 CHAR_PTR 8 CHAR_PTR 9 INT I was hoping to update the VertexDriver.DLL (Currently COM/_cdecl) to a .Net dll. I really hate writing c code. David Wolverton, you out there? I know you have some experience writing c - Vertex utils. I may just end up writing a webservice to handle this and have Unidata call the webservice. Just want to check before I start writing this. Thanks for any assistance. Donald Verhagen u2-usersrem...@thissoutheast-florida.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata 7.1.9 and .Net DLL
From Don Verhagen: Does anyone know if you can hook/link a .NET dll (Managed code) into Unidata 7.1.9 (Windows). I know you can with COM .DLL by creating an E type voc entry. Sample COM DLL Voc entry 1 E 2 E:\Vertex\VertexUtils\VertexDriver.DLL 3 v_LocConnect 4 params... I really didn't know that this call-out functionality existed. I know GCI allows for invoking COM from UV. UCI has been equated to GCI but I don't think they're the same at all. Does Unidata support GCI? What is this E item syntax called, and where can I find a doc on it? Does Universe support this E item syntax? Does anyone have any performance data for this E syntax? I'm wondering if DLLs are truly linked and they stay in memory, or if they're dynamically referenced on every invocation. The former is painful only on first execution. The latter would alwould be painful and we might as well Execute/SH. Heck, I can see entire libraries of new functionality being created with this mechanism. Deployment would be Muuuch easier than GCI. Thanks. Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD sells mv.NET and other Pick/MultiValue products worldwide, and provides related development services remove.pleaseNebula-RnD.com/blog Visit PickWiki.com! Contribute! http://Twitter.com/TonyGravagno ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata 7.1.9 and .Net DLL
Lookup callc There are notes on how to implement on UNIX (link with makeudt) and Windows (dll with E voc item) Wally Terhune U2 Support Architect Rocket Software 4700 S. Syracuse Street, Suite 400 **Denver, CO 80237 **USA Tel: +1.720.475.8055 Email: wterh...@rs.com Web: www.rocketsoftware.com/u2 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno Sent: Wednesday, July 21, 2010 12:22 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Unidata 7.1.9 and .Net DLL From Don Verhagen: Does anyone know if you can hook/link a .NET dll (Managed code) into Unidata 7.1.9 (Windows). I know you can with COM .DLL by creating an E type voc entry. Sample COM DLL Voc entry 1 E 2 E:\Vertex\VertexUtils\VertexDriver.DLL 3 v_LocConnect 4 params... I really didn't know that this call-out functionality existed. I know GCI allows for invoking COM from UV. UCI has been equated to GCI but I don't think they're the same at all. Does Unidata support GCI? What is this E item syntax called, and where can I find a doc on it? Does Universe support this E item syntax? Does anyone have any performance data for this E syntax? I'm wondering if DLLs are truly linked and they stay in memory, or if they're dynamically referenced on every invocation. The former is painful only on first execution. The latter would alwould be painful and we might as well Execute/SH. Heck, I can see entire libraries of new functionality being created with this mechanism. Deployment would be Muuuch easier than GCI. Thanks. Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD sells mv.NET and other Pick/MultiValue products worldwide, and provides related development services remove.pleaseNebula-RnD.com/blog Visit PickWiki.com! Contribute! http://Twitter.com/TonyGravagno ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata 7.1.9 and .Net DLL
Is there an equivalent in Universe, or is that GCI which means building UV not calling a dynamically linked library as far as I understand? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Wally Terhune Sent: Thursday, 22 July 2010 6:45 a.m. To: U2 Users List Subject: Re: [U2] Unidata 7.1.9 and .Net DLL Lookup callc There are notes on how to implement on UNIX (link with makeudt) and Windows (dll with E voc item) Wally Terhune U2 Support Architect Rocket Software 4700 S. Syracuse Street, Suite 400 **Denver, CO 80237 **USA Tel: +1.720.475.8055 Email: wterh...@rs.com Web: www.rocketsoftware.com/u2 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno Sent: Wednesday, July 21, 2010 12:22 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Unidata 7.1.9 and .Net DLL From Don Verhagen: Does anyone know if you can hook/link a .NET dll (Managed code) into Unidata 7.1.9 (Windows). I know you can with COM .DLL by creating an E type voc entry. Sample COM DLL Voc entry 1 E 2 E:\Vertex\VertexUtils\VertexDriver.DLL 3 v_LocConnect 4 params... I really didn't know that this call-out functionality existed. I know GCI allows for invoking COM from UV. UCI has been equated to GCI but I don't think they're the same at all. Does Unidata support GCI? What is this E item syntax called, and where can I find a doc on it? Does Universe support this E item syntax? Does anyone have any performance data for this E syntax? I'm wondering if DLLs are truly linked and they stay in memory, or if they're dynamically referenced on every invocation. The former is painful only on first execution. The latter would alwould be painful and we might as well Execute/SH. Heck, I can see entire libraries of new functionality being created with this mechanism. Deployment would be Muuuch easier than GCI. Thanks. Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD sells mv.NET and other Pick/MultiValue products worldwide, and provides related development services remove.pleaseNebula- RnD.com/blog Visit PickWiki.com! Contribute! http://Twitter.com/TonyGravagno ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata 7.1.9 and .Net DLL
David, I sent you an offline email at your flash.net account from my work email. But I'm glad you detailed it out here. Good news, I sent a support ticket into Vertex about the missing Geocoder functionality in the EI XML interface and was told that it will be in Release 2.9.8 due to be released around September 2010. This means the entire Vertex logic will be able to use request/response XML model that the tax calculation currently uses. (sidenote to those who are wondering what is Vertex) Vertex is a (payroll) tax calculation engine that is updated monthly with changes in the US/Canadian payroll tax tables for Federal, State, Local, County, and School District taxes). I haven't created a tax table in over 15 years with the help of Vertex. This isn't an ad, just an endorsement. Don Verhagen u2-usersrem...@thissoutheast-florida.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of David Wolverton Sent: Wednesday, July 21, 2010 10:55 AM To: 'U2 Users List' Subject: Re: [U2] Unidata 7.1.9 and .Net DLL Ultimately we are calling a routine as a 'service' passing the XML and receiving back the 'answer' XML - this logic will allow abstraction off the 'core database' machine since the service call can point to any machine -- if they would complete all GeoCode actions with an EI XML interface, we'd be able to be C free... They are a bit slow getting this done -- the whole EI started as a 'skunkworks' project that ended up being marketable, but the GeoCode stuff is another group. On the tax side, the hardest thing was 'mapping' all the fields to a 'file' so the XML translations could just be handled by UniData -- lots of data in the 'EI request'! -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Don Sent: Wednesday, July 21, 2010 6:27 AM To: 'U2 Users List' Subject: Re: [U2] Unidata 7.1.9 and .Net DLL DW, Yes, I currently use the Vertex EI interface with the .NET application I'm working on. So do you know just link directly (add voc entry) with the vptrei.dll (enhanced integration) directly in Unidata? And yes, the XML is pretty sweet. Robert, Thanks for the heads-up about regasm. Tony, I did a quick google, but got a bit of search overload. I've written plenty of web services so that's not a huge huddle. I'll take a look at your articles for some refreshers on BASIC and WS. Thank you all for your ideas and helpful advice. Don Verhagen u2-usersrem...@thissoutheast-florida.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of David Wolverton Sent: Wednesday, July 21, 2010 12:31 AM To: 'U2 Users List' Subject: Re: [U2] Unidata 7.1.9 and .Net DLL Vertex's new code for passing XML is pretty sweet -- it's a different interface, but worth checking out. It's called their 'Enhanced Interface' version. DW -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Don Sent: Tuesday, July 20, 2010 9:21 PM To: 'U2 Users List' Subject: [U2] Unidata 7.1.9 and .Net DLL Does anyone know if you can hook/link a .NET dll (Managed code) into Unidata 7.1.9 (Windows). I know you can with COM .DLL by creating an E type voc entry. Sample COM DLL Voc entry 1 E 2 E:\Vertex\VertexUtils\VertexDriver.DLL 3 v_LocConnect 4 POINTER 5 CHAR_PTR 6 CHAR_PTR 7 CHAR_PTR 8 CHAR_PTR 9 INT I was hoping to update the VertexDriver.DLL (Currently COM/_cdecl) to a .Net dll. I really hate writing c code. David Wolverton, you out there? I know you have some experience writing c - Vertex utils. I may just end up writing a webservice to handle this and have Unidata call the webservice. Just want to check before I start writing this. Thanks for any assistance. Donald Verhagen u2-usersrem...@thissoutheast-florida.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata 7.1.9 and .Net DLL
Tony, You can find documentation for it the following manual: Unidata 7.1.x Manual: Developing UniBasic Applications (BASD.pdf) Section: Linking C Programs (Windows Platforms Only) Page: 226-325 I don't use Universe enough to know if it works on that platform. Feel free to contact me offline with any specific questions/details. Don Verhagen u2-usersrem...@thissoutheast-florida.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno Sent: Wednesday, July 21, 2010 2:22 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Unidata 7.1.9 and .Net DLL From Don Verhagen: Does anyone know if you can hook/link a .NET dll (Managed code) into Unidata 7.1.9 (Windows). I know you can with COM .DLL by creating an E type voc entry. Sample COM DLL Voc entry 1 E 2 E:\Vertex\VertexUtils\VertexDriver.DLL 3 v_LocConnect 4 params... I really didn't know that this call-out functionality existed. I know GCI allows for invoking COM from UV. UCI has been equated to GCI but I don't think they're the same at all. Does Unidata support GCI? What is this E item syntax called, and where can I find a doc on it? Does Universe support this E item syntax? Does anyone have any performance data for this E syntax? I'm wondering if DLLs are truly linked and they stay in memory, or if they're dynamically referenced on every invocation. The former is painful only on first execution. The latter would alwould be painful and we might as well Execute/SH. Heck, I can see entire libraries of new functionality being created with this mechanism. Deployment would be Muuuch easier than GCI. Thanks. Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD sells mv.NET and other Pick/MultiValue products worldwide, and provides related development services remove.pleaseNebula-RnD.com/blog Visit PickWiki.com! Contribute! http://Twitter.com/TonyGravagno ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Unidata 7.1.9 and .Net DLL
Does anyone know if you can hook/link a .NET dll (Managed code) into Unidata 7.1.9 (Windows). I know you can with COM .DLL by creating an E type voc entry. Sample COM DLL Voc entry 1 E 2 E:\Vertex\VertexUtils\VertexDriver.DLL 3 v_LocConnect 4 POINTER 5 CHAR_PTR 6 CHAR_PTR 7 CHAR_PTR 8 CHAR_PTR 9 INT I was hoping to update the VertexDriver.DLL (Currently COM/_cdecl) to a .Net dll. I really hate writing c code. David Wolverton, you out there? I know you have some experience writing c - Vertex utils. I may just end up writing a webservice to handle this and have Unidata call the webservice. Just want to check before I start writing this. Thanks for any assistance. Donald Verhagen u2-usersrem...@thissoutheast-florida.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata 7.1.9 and .Net DLL
Vertex's new code for passing XML is pretty sweet -- it's a different interface, but worth checking out. It's called their 'Enhanced Interface' version. DW -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Don Sent: Tuesday, July 20, 2010 9:21 PM To: 'U2 Users List' Subject: [U2] Unidata 7.1.9 and .Net DLL Does anyone know if you can hook/link a .NET dll (Managed code) into Unidata 7.1.9 (Windows). I know you can with COM .DLL by creating an E type voc entry. Sample COM DLL Voc entry 1 E 2 E:\Vertex\VertexUtils\VertexDriver.DLL 3 v_LocConnect 4 POINTER 5 CHAR_PTR 6 CHAR_PTR 7 CHAR_PTR 8 CHAR_PTR 9 INT I was hoping to update the VertexDriver.DLL (Currently COM/_cdecl) to a .Net dll. I really hate writing c code. David Wolverton, you out there? I know you have some experience writing c - Vertex utils. I may just end up writing a webservice to handle this and have Unidata call the webservice. Just want to check before I start writing this. Thanks for any assistance. Donald Verhagen u2-usersrem...@thissoutheast-florida.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata 7.1.9 and .Net DLL
Check out regasm.exe (part of the .NET SDK). You can use it to create a COM Interop interface to an assembly. Note that on a x64 system there is one version for 32 bit, and another one for 64 bit access. You can add these lines to a PostBuildEvent: %25Windir%25\Microsoft.NET\Framework\v2.0.50727\regasm $(TargetPath) %25Windir%25\Microsoft.NET\Framework64\v2.0.50727\regasm $(TargetPath) I haven't tried it myself, so your mileage may vary. Void where prohibited... etc... -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Don Sent: Tuesday, July 20, 2010 7:21 PM To: 'U2 Users List' Subject: [U2] Unidata 7.1.9 and .Net DLL Does anyone know if you can hook/link a .NET dll (Managed code) into Unidata 7.1.9 (Windows). I know you can with COM .DLL by creating an E type voc entry. Sample COM DLL Voc entry 1 E 2 E:\Vertex\VertexUtils\VertexDriver.DLL 3 v_LocConnect 4 POINTER 5 CHAR_PTR 6 CHAR_PTR 7 CHAR_PTR 8 CHAR_PTR 9 INT I was hoping to update the VertexDriver.DLL (Currently COM/_cdecl) to a .Net dll. I really hate writing c code. David Wolverton, you out there? I know you have some experience writing c - Vertex utils. I may just end up writing a webservice to handle this and have Unidata call the webservice. Just want to check before I start writing this. Thanks for any assistance. Donald Verhagen u2-usersrem...@thissoutheast-florida.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata 7.1.9 and .Net DLL
From: Donald Verhagen Does anyone know if you can hook/link a .NET dll (Managed code) into Unidata 7.1.9 (Windows). I was hoping to update the VertexDriver.DLL (Currently COM/_cdecl) to a .Net dll. I really hate writing c code. Don - This isn't rocket science (pun intended). Google for call ..net from com and related keywords regasm and Make Assembly COM Visible. I should also mention that mv.NET also has the capability to trigger .NET code events from the MV DBMS, though it's not as fast as linked DLLs. In full disclosure, my company is a worldwide distributor for this product, so consider this paragraph an AD. Speaking of web services, I've written a few articles in my blog recently (link below), about automatic generation of fully functional Web Services against common BASIC code. I dunno if any of that matches your plans. HTH Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com remove.pleaseNebula-RnD.com/blog Visit PickWiki.com! Contribute! http://Twitter.com/TonyGravagno ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users