I am trying to get the local IP address.
I am already using synapse and saw it contains the GetLocalIPs function in unit synamisc. However, when I try to use it, upon including synamisc, lots of error crop up (see below), which suggest to me it is trying to use the LCL.
What surprises me is that I have included units httpsend, synacode, synautil and ssl_openssl without this occurring. So why would a "misc" unit, as "synamisc" obviously is, have different requirements.
Needless to say I am lost. Looking forward to a solution.
The errors (lazarus marks them at the begin stmt of the program):
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterCustomImageList
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterMenuItem
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterMenu
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterMainMenu
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterPopupMenu
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterDragImageList
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterLazAccessibleObject
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterControl
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterWinControl
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterGraphicControl
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterCustomControl
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterScrollingWinControl
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterScrollBox
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterCustomFrame
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterCustomForm
gwsEnvio.lpr(197,1) Error: Undefined symbol: WSRegisterHintWindow
gwsEnvio.lpr(197,1) Fatal: There were 16 errors compiling module, stopping