Calling a deeply recursive function can cause a stack overflow  Restarting a debugging session

Release Bulletin PocketBuilder™ 2.0.4

Writing to a file with the SetProfileString function

You can write to a file with the SetProfileString function, but only if the file name you pass in the first function argument refers to a file that already exists and is a valid Unicode file. A valid Unicode file must have at least one character written to the file.

The following code sample uses regular file functions to create a valid Unicode file by adding a comment to the top of the file:

integer li_file
integer li_retli_file = FileOpen(gs_FileName,  LineMode!,  Write!, &     LockWrite!,  Replace!)	
li_ret = FileWrite( li_file, "; my comment" )	FileClose(li_file)

The ProfileInt and ProfileString functions also require references to valid Unicode files. [CR 328631]





Copyright © 2006. Sybase Inc. All rights reserved. Restarting a debugging session

View this release bulletin as PDF