Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-08

Widestrings manager ?

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Steve Howe

Hello all,

I have a console application (web server) which prints this message at the console:

"This binary has no widestrings support compiled in. Recompile the application with a widestrings-manager in the program uses clause."

I found no references to that on the documentation - the widestrings reference advices to look at the system unit documentation but I found nothing there. Google says nothing as well.

The system.pp unit has a call to "InitWideStringManager"; I'd think it initializes the widestring manager, but it seems not.

How can I fix that ?

My environment:
Linux 2.6.24-19 (ubuntu)
Free Pascal Compiler version 2.2.2 [2008/07/30] for i386

Thanks.

Best Regards, Steve Howe
Graeme Geldenhuys
to Steve Howe
Steve Howe wrote
"This binary has no widestrings support compiled in. Recompile the application with a widestrings-manager in the program uses clause."

You need to add the "cwstring" unit to your project's uses clause as one of the first units.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Steve Howe
to Graeme Geldenhuys

Hello Graeme,

Show quoted text 7 lines
On 8/23/08, Steve Howe wrote: > "This binary has no widestrings support compiled in. > Recompile the application with a widestrings-manager in the program uses > clause." You need to add the "cwstring" unit to your project's uses clause as one of the first units.

It worked fine. I guess that should be pointed somewhere in docs... anyway, it should be searchable on Google by now.

Thanks!

Best Regards, Steve Howe
Joost van der Sluis
to Steve Howe

Op zondag 24-08-2008 om 03:34 uur [tijdzone -0300], schreef Steve Howe:

Show quoted text 10 lines
Hello Graeme, > On 8/23/08, Steve Howe wrote: > > "This binary has no widestrings support compiled in. > > Recompile the application with a widestrings-manager in the program uses > > clause." > > You need to add the "cwstring" unit to your project's uses clause as > one of the first units. It worked fine. I guess that should be pointed somewhere in docs... anyway, it should be searchable on Google by now.

This behavour in new in fpc 2.2.2, earlier versions gave an unhandled exception, iirc.

You could make a documentation-bug report. ;)

Joost