Archive: NSIS Unicode internet plugin


NSIS Unicode internet plugin
It doesn't work under unicode but works under ascii.

This is the plugin url:http://nsis.sourceforge.net/Internet_plug-in

Could anybody help me to solve this problem, thanks.


Seems to work fine with CallAnsiPlugin (not every ansi plugin does). E.g.

!ifdef NSIS_UNICODE
InitPluginsDir
File /oname=$PLUGINSDIR\Internet.dll "${NSISDIR}\Plugins\Internet.dll"
CallAnsiPlugin::Call "$PLUGINSDIR\Internet" GetLocalHostIP 1 $0
!else
Internet::GetLocalHostIP $0
!endif


Originally posted by aerDNA
Seems to work fine with CallAnsiPlugin (not every ansi plugin does). E.g.

!ifdef NSIS_UNICODE
InitPluginsDir
File /oname=$PLUGINSDIR\Internet.dll "${NSISDIR}\Plugins\Internet.dll"
CallAnsiPlugin::Call "$PLUGINSDIR\Internet" GetLocalHostIP 1 $0
!else
Internet::GetLocalHostIP $0
!endif
Thanks, it works.