[fpc-pascal] mmsystem unit : errors

2005-08-02 Thread Jean-Marc Chourot
Hi all, Could someone help to understand what happens with this piece of code : When I call the following function, I very very often receive an error :MCIERR_PARAM_OVERFLOW: writeln(err,' The output string was not long enough.'); Does anybody know why ? why is the pchar too small ? thx for help JM

RE: [fpc-pascal] Freepascal and good usage of TStringList

2005-07-25 Thread Jean-Marc Chourot
dear Mariano, OH.. many thanks... How stupid I was ! I feel better now ! JM -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Mariano Envoyé : lundi 25 juillet 2005 20:11 À : 'FPC-Pascal users discussions' Objet : RE: [fpc-pascal] Freepascal and good usage of

[fpc-pascal] Freepascal and good usage of TStringList

2005-07-25 Thread Jean-Marc Chourot
Dear All, Could any one help me debug the little piece of code thereafter ? I get a SIGSEGV.. and I don't know why (OK.. i am not that good). Thanks for your help. JM * Program TestStringList; Uses CLasses; var TheStringList:TStringList; Procedure PopulateList(var