Skip to main content
December 20, 2010
Question

Windows 7 x64 / Adobe AIR 2.5.1.17730 / PAC / COMCTL32.DLL

  • December 20, 2010
  • 1 reply
  • 3725 views
  • Windows 7 x64 Version 6.1.7600 Build 7600
  • Adobe AIR 2.5.1.17730
  • Proxy Automatic Configuration Script to Squid with BASIC Authentication

With a proxy that requires BASIC authentication, the Adobe AIR application continually complains:

The ordinal 345 could not be located in the dynamic link library COMCTL32.dll

just prior to the Windows Authentication box appearing - this is the AIR Installer as well as the AIR Application itself (MySnapper.air).

Can anyone else confirm the bug?

This topic has been closed for replies.

1 reply

chris.campbell
Legend
January 17, 2011

Hi,

I was unable to reproduce this with MySnapper (I was able to at least launch the app), but I suspect that's because I don't have a PAC.  I can setup squid on my Mac, do you have a sample PAC script I could use to help reproduce this?  Have you contacted Snapper to see if they've run across this issue?

Thanks,

Chris

January 17, 2011

As stated in original post, this issue occurs before the AIR Application is installed and after it is installed, so not related to the Application but rather AIR's calls for web connectivity itself.

With the squid configuration, you will need to enable Basic Authentication:

auth_param basic program /usr/sbin/squid_ldap_auth -b "o=community" -s sub -f "(&(cn=%s)(groupMembership=cn=Squid,ou=_GROUPS,o=COMMUNITY))" -D cn=LDAP,o=ADMIN -w <passwordRemoved> -h <ldapHostRemoved> -p 389 -v 3 -Z

auth_param basic realm Scorpio Geek.net.nz Login

acl edir proxy_auth REQUIRED

Then the PAC will need something simple like:

function FindProxyForURL (url, host) {
     return "PROXY squid.domain.com:port;";

}

and needs to be presented as application/x-ns-proxy-autoconfig

chris.campbell
Legend
January 20, 2011

Thanks for the additional details.  Is it possible to find out what version of comctl32.dll you have installed on your system?  It's possible this has been overwritten by an older version.

Thanks,

Chris