<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calling a DLL function in my QV script ... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calling-a-DLL-function-in-my-QV-script/m-p/1119537#M369163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Marcus. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;My problem was solved by changing the Module &amp;amp; Local Security.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" height="271" src="https://community.qlik.com/legacyfs/online/130945_Untitled.png" style="height: 271px; width: 159.034px;" width="159" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling "user32.dll" and getting the double-click time is a simple test.&lt;/P&gt;&lt;P&gt;What I need to do is calling a &lt;SPAN class="gt-baf-word-clickable"&gt;proprietary &lt;/SPAN&gt;decryption dll during the load of data comming from an encrypted database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2016 08:38:50 GMT</pubDate>
    <dc:creator>jhamard</dc:creator>
    <dc:date>2016-07-12T08:38:50Z</dc:date>
    <item>
      <title>Calling a DLL function in my QV script ...</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-a-DLL-function-in-my-QV-script/m-p/1119535#M369161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hello,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I'm trying to do something special in QlikView Desktop and need your help …&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I want to call (in my script) a Function() stored in a DLL.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;In this simple example, the called function returns the “DoubleClickTime” which is a NUMBER in milliseconds.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;The function is stored in "user32.dll" and is called "GetDoubleClickTime()".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I've read it's mandatory to use a wrapper (eg DynamicWrapperX in my case) to load a DLL in VBScript.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;It's one of the big diffences between VB/VBA and VBScript ...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif; text-decoration: underline;"&gt;My QV sript (CTRL+E):&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DATA:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; 'TOTO'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS F1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; ,Test()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS F2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; ,AddOne(100)&amp;nbsp; AS F3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AutoGenerate(1);&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif; text-decoration: underline;"&gt;My QV module (CTRL+M):&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Function AddOne(Val)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; AddOne = Val + 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;End Function&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;'--&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Function Test()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; Dim DWX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; Set DWX = CreateObject("DynamicWrapperX")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; DWX.Register "user32.dll", "GetDoubleClickTime", "r=u"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; Test=DWX.GetDoubleClickTime&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;End Function&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;EM&gt;test.qvw application is attached to this discution.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;After reloading the application, my result is a table named&lt;/SPAN&gt; DATA having one line:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;TABLE border="1" class="jiveBorder" height="49" style="border: 1px solid #000000; border-image: none; width: 140px; height: 34px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;F1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;F2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;F3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;TOTO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;null()&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;101&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;Addone()&lt;/STRONG&gt; is a very simple function used to validate that calling a VBScript function in a script work. And it works well.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;Test()&lt;/STRONG&gt; is more complicated, and doesn’t work. It return a null() value rater than "500" wich is the expected result.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I’m using a wrapper (DynamicWrapperX 2.1.1.1) to call "GetDoubleClickTime()" function which is stored in "user32.dll".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Easy, isn't it ? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; text-decoration: underline;"&gt;The Test() function has been tested in a simple VBScript named “test.vbs” lookink like this :&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;wscript.echo "DoubleClickTime is " &amp;amp; Test &amp;amp; " ms"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Function Test()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; Dim DWX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; Set DWX = CreateObject("DynamicWrapperX")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; DWX.Register "user32.dll", "GetDoubleClickTime", "r=u"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; Test=DWX.GetDoubleClickTime&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;End Function&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;EM&gt;test.vbs script is attached to the discution.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I’ve registred the DynamicWrapperX DLL with administrator privileges.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; text-decoration: underline;"&gt;Using cmd.exe (opened with admin account) :&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;C:\...\&amp;gt;&lt;/SPAN&gt;regsvr32 dynwrapx.dll&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; text-decoration: underline;"&gt;Execute the script using cmd.exe (&lt;SPAN style="font-family: Calibri;"&gt;with administrator privileges)&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;C:\...\&amp;gt;cscript test.vbs&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Microsoft (R) Windows Script Host Version 5.812&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Copyright (C) Microsoft Corporation. Tous droits réservés. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;DoubleClickTime is 500 ms&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;























&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;The result is good &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Thus &lt;/SPAN&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;it should work in QlikView, isn't it ? But it don't&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/angry.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/angry.png" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;&lt;STRONG&gt;Where is the problem in QlikView ???&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;Any suggestion is welcome ... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; text-decoration: underline;"&gt;I've remark several things:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;There's nothing special in the QV application logs. No Error.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;In QV 'Edit Module', when I test my Test() function, i receive this message : &lt;SPAN style="color: #ff0000;"&gt;ActiveX component can't create object: 'DynamicWrapperX' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #ff0000; font-family: Calibri;"&gt;ActiveX component can't create object: 'DynamicWrapperX'&lt;/SPAN&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt; message appears when I call '&lt;SPAN style="font-family: Calibri;"&gt;cscript test.vbs'&lt;/SPAN&gt; and if I haven't registred the DynamicWrapperX in Windows (&lt;SPAN style="font-family: Calibri;"&gt;regsvr32 dynwrapx.dll&lt;/SPAN&gt;).&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I've to be administror to execute the test.vbs script. Otherwise I have the error message : &lt;SPAN style="color: #ff0000; font-family: Calibri;"&gt;ActiveX component can't create object: 'DynamicWrapperX'&lt;SPAN style="color: #000000;"&gt;. Why ? I don't know&lt;/SPAN&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I've to be &lt;SPAN style="font-family: Calibri;"&gt;administror too, to register the dll. Otherwise &lt;SPAN style="font-family: Calibri;"&gt;I have the error message : &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Calibri;"&gt;ActiveX component can't create object: 'DynamicWrapperX'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; text-decoration: underline;"&gt;I've tried a lot of things that don't work:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Using full dll path when calling CreateObject() --&amp;gt; &lt;SPAN style="color: #ff0000; font-family: Calibri;"&gt;ActiveX component can't create object: 'DynamicWrapperX'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Copying the DLL in the QV DLL folders &amp;amp; binary folders, in System32 folder too ... --&amp;gt; &lt;SPAN style="color: #ff0000; font-family: Calibri;"&gt;ActiveX component can't create object: 'DynamicWrapperX'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Opening/reloading the application with administrator account. It doesn't change anything ... --&amp;gt; &lt;SPAN style="color: #ff0000; font-family: Calibri;"&gt;ActiveX component can't create object: 'DynamicWrapperX'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;A lot of little things ... --&amp;gt; &lt;SPAN style="color: #ff0000; font-family: Calibri;"&gt;ActiveX component can't create object: 'DynamicWrapperX'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Drinking beers &amp;amp; tea ... --&amp;gt; &lt;SPAN style="color: #ff0000; font-family: Calibri;"&gt;ActiveX component can't create object: 'DynamicWrapperX'&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; text-decoration: underline;"&gt;My sources :&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Principale source : &lt;A href="http://omen999.developpez.com/tutoriels/vbs/dynawrapperx-v2-1/"&gt;http://omen999.developpez.com/tutoriels/vbs/dynawrapperx-v2-1/&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;DynamicWrapperX 2.1.1.1 : &lt;A href="http://yuripopov.ucoz.net/index/dwx_version_history_en/0-23"&gt;http://yuripopov.ucoz.net/index/dwx_version_history_en/0-23&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;GetDoubleClickTime function : &lt;A href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms646258(v=vs.85).aspx"&gt;https://msdn.microsoft.com/en-us/library/windows/desktop/ms646258(v=vs.85).aspx&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Why am I doing that ?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN lang="en" style="font-family: calibri, verdana, arial, sans-serif;"&gt;Because the use of DLL hugely opens opportunities to QlikView. Like IBAN validation (too complex in QV script), encryption capability (not a simple &lt;/SPAN&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN lang="en"&gt;hashing), complex transformations using C/C++/VB/... functions, ..., to go on the moon &lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="short_text" lang="en"&gt;perhaps&lt;/SPAN&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Many thanks for reading me. &lt;/SPAN&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Even more for helping me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; ...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;-&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Julien&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 14:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-a-DLL-function-in-my-QV-script/m-p/1119535#M369161</guid>
      <dc:creator>jhamard</dc:creator>
      <dc:date>2016-07-08T14:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a DLL function in my QV script ...</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-a-DLL-function-in-my-QV-script/m-p/1119536#M369162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your AciveX error-message is caused from security-settings. At first within the module-editor you need to enable system-access (left pane in the mid) and then the settings from the OS (mostly configured within the options of the IE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the aim from the use of these function within the load-execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 15:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-a-DLL-function-in-my-QV-script/m-p/1119536#M369162</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-07-11T15:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a DLL function in my QV script ...</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-a-DLL-function-in-my-QV-script/m-p/1119537#M369163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Marcus. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;My problem was solved by changing the Module &amp;amp; Local Security.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" height="271" src="https://community.qlik.com/legacyfs/online/130945_Untitled.png" style="height: 271px; width: 159.034px;" width="159" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling "user32.dll" and getting the double-click time is a simple test.&lt;/P&gt;&lt;P&gt;What I need to do is calling a &lt;SPAN class="gt-baf-word-clickable"&gt;proprietary &lt;/SPAN&gt;decryption dll during the load of data comming from an encrypted database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 08:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-a-DLL-function-in-my-QV-script/m-p/1119537#M369163</guid>
      <dc:creator>jhamard</dc:creator>
      <dc:date>2016-07-12T08:38:50Z</dc:date>
    </item>
  </channel>
</rss>

