4 Replies Latest reply: Jul 12, 2016 11:38 AM by Julien HAMARD RSS

    External dll as base for user defined vb functions

    Mathias Vanden Auweele

      Hello all,


      I have an external dll file that contains some functions that I need to use to transform data. I do not have the functions available elsewhere. I have succesfully used this DLL file in Excel where you would use a module like this:


      Declare Sub Lambert08ToLambert72 Lib "C:\Program Files\NGI\WINDOWS\32bits\ETRS89_LAMBERT_UTM_32bits.dll" (ByVal xi As Double, ByVal yi As Double, ByVal Hi As Double, ByRef xo As Double, ByRef yo As Double, ByRef Ho As Double)
      Function NGI_Lambert08ToLambert72(x As Double, y As Double) As Variant
          Dim xo, yo, Ho As Double
          Call Lambert08ToLambert72(x, y, 100, xo, yo, Ho)
          NGI_Lambert08ToLambert72 = Array(xo, yo)
      End Function


      Is there a way to do the same in QlikView?