{"id":171,"date":"2016-02-26T09:13:44","date_gmt":"2016-02-26T14:13:44","guid":{"rendered":"http:\/\/salzlechner.com\/dev\/?p=171"},"modified":"2016-03-11T07:03:46","modified_gmt":"2016-03-11T12:03:46","slug":"interfacing-from-and-to-dataflex","status":"publish","type":"post","link":"http:\/\/salzlechner.com\/dev\/2016\/02\/26\/interfacing-from-and-to-dataflex\/","title":{"rendered":"Interfacing from and to DataFlex"},"content":{"rendered":"<p>DataFlex is a great system to rapidly develop complex database applications but it lacks functionality in other areas. In addition sometimes things are just better programmed in other languages or you come across a library that was already created in another language and you would like to use it in your DataFlex application.<\/p>\n<p>In this multi part series, we will look into the different ways of interfacing DataFlex with other languages and systems to extend its capabilities.<\/p>\n<p>DataFlex is a 32bit system and is not based on the .NET framework. Given these constraints DataFlex allows you do communicate with 32bit DLLs and ActiveX controls (COM Components).<\/p>\n<p>In addition you can use a technique called COM Interop that is part of the .NET Framework to allow DataFlex to communicate with a .NET Library by wrapping it in a COM Wrapper and making it available to DataFlex as a COM component.<\/p>\n<p>Another possibility to interface with .NET components is to create an unmanaged 32bit DLL that can comunicate with DataFlex and then have that DLL call the managed .NET library.<\/p>\n<p>We have used that technique to interface with components where COM Interop is not an option. This is a little more work but allows you to interface with pretty much any .NET library.<\/p>\n<p>There are a number of other ways for interfacing DataFlex<\/p>\n<ul>\n<li>Web Services Client (SOAP)<br \/>\nDataFlex can be a web service client and call SOAP web services for interfacing<\/li>\n<li>HTTP communication<\/li>\n<li>RESTful web services<br \/>\ncalling RESTful web services from DataFlex<\/li>\n<li>TCPIP communication<\/li>\n<\/ul>\n<p>We will look into all these options and more in separate posts. As we add these posts we will add links here<\/p>\n<p><a title=\"Interfacing DataFlex \u2013 .NET and COM Interop\" href=\"http:\/\/salzlechner.com\/dev\/2016\/02\/26\/interfacing-dataflex-net-and-com-interop\/\">\u00a0.NET and COM Interop<\/a><\/p>\n<p><a title=\"Interfacing DataFlex \u2013 SOAP Webservice client\" href=\"http:\/\/salzlechner.com\/dev\/2016\/02\/26\/interfacing-dataflex-soap-webservice-client\/\">SOAP Web Service Client<\/a><\/p>\n<p><a href=\"http:\/\/salzlechner.com\/dev\/2016\/03\/02\/interfacing-dataflex-restful-web-services\/\">RESTful web services<\/a><\/p>\n<p>&nbsp;<\/p>\n\n\t\t<div class='author-shortcodes'>\n\t\t\t<div class='author-inner'>\n\t\t\t\t<div class='author-image'>\n\t\t\t<img src='http:\/\/salzlechner.com\/dev\/wp-content\/uploads\/sites\/2\/2016\/02\/mike5crop-566174_60x60.jpg' alt='' \/>\n\t\t\t<div class='author-overlay'><\/div>\n\t\t<\/div> \n\t\t<div class='author-info'>\n\t\t\tMichael Salzlechner is the CEO of StarZen Technologies, Inc.<\/p>\n<p>He was part of the Windows Team at Data Access Worldwide that created the DataFlex for Windows Product before joining <a href=\"http:\/\/starzen.com\">StarZen Technologies<\/a>. StarZen Technologies provides consulting services as well as custom Application development and third party products specifically for DataFlex developers<\/p>\n\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This multi part blog post touches on different ways of interfacing DataFlex. Web Services, TCPIP, HTTP, etc<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","ngg_post_thumbnail":0,"footnotes":""},"categories":[6,27],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-dataflex","category-dataflex-webapp"],"_links":{"self":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":8,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":276,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/171\/revisions\/276"}],"wp:attachment":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}