Forum Discussion

CircaLucid_1155's avatar
CircaLucid_1155
Icon for Nimbostratus rankNimbostratus
May 23, 2013

Windows Firepass automation

I have a client that requires a Firepass VPN as part of their import/export processes.

 

 

I wrote a C app that automates f5fpclientW.exe but when I run it from Task Scheduler, I get an error about the job requiring an interactive desktop. Digging deeper, I'm seeing that all ActiveX controls require a Form which requires an interactive desktop.

 

 

I then wrote a C app that uses AxAppTunnelEx based on the SDK's "C AppTunnel" sample but at:

 

((System.ComponentModel.ISupportInitialize)(this.axAppTunnel)).EndInit();

 

I get:

 

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

 

 

I then wrote a C app derived from AppTunnelExClass but I get this:

 

 

Thu May 23 17:20:38 2013 GMT (HOST:6280,1796) USmartUpdateEx::ReadInstalledPath: component name - {E0FF21FA-B857-45C5-8621-F120A0C17FF2}

 

Thu May 23 17:20:38 2013 GMT (HOST:6280,1796) USmartUpdateEx::ReadInstalledPath: expanded path - C:\Windows\Downloaded Program Files\urxhost.dll

 

Thu May 23 17:20:38 2013 GMT (HOST:6280,1796) Patform: 2 version: 6.1

 

Thu May 23 17:20:38 2013 GMT (HOST:6280,1796) uGetProcessIntegrityLevel: Running on high integrity level

 

Thu May 23 17:20:38 2013 GMT (HOST:6280,1796) CHostCtrl::SetClientSite: Base URL II - xxxx.xxxxx.com

 

Thu May 23 17:20:38 2013 GMT (APPCTRL:1796) CAppTunnelEx::OpenByParam:EXCEPTION!!

 

 

when I call:

 

this.OpenByName("VPN", szName);

 

 

 

Is there any solution available other than referencing f5fpapi.dll? Or am I just going about this really, really wrong?

 

No RepliesBe the first to reply