Support Forums > WinFBX - Windows Framework for FreeBASIC

AfxGetLocalePositiveSign

(1/1)

James Fuller:
Josť,
  Is this the correct way to call AfxGetLocalePositiveSign?
I do not get "+"
compiled for 64bit console release using WinFBE

James


--- Code: ---#define UNICODE
#INCLUDE ONCE "windows.bi"
#INCLUDE ONCE "Afx/AfxNls.inc"
USING Afx

DIM wszBuf AS WSTRING * 260
wszBuf = AfxGetLocalePositiveSign()

PRINT wszBuf
PRINT "Press any key..."
Sleep

--- End code ---

Josť Roca:
You don't get a "+" because in Occident if the data is blank/empty a "+" is assumed to be used.

Navigation

[0] Message Index

Go to full version