Skip to content
⌘ NSIS Forum Archive

NSIS Unicode internet plugin

3 posts

johnelder#

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.
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
johnelder#
Originally Posted by aerDNA View Post
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.