Re: [fpc-pascal] Segmentation Error using VideoBuf

2014-07-02 Thread mokashe.ram
ok Thanks ,Tomas -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Segmentation-Error-using-VideoBuf-tp5719293p5719696.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist

Re: [fpc-pascal] Segmentation Error using VideoBuf

2014-07-02 Thread Tomas Hajny
On Wed, July 2, 2014 14:32, mokashe.ram wrote: Hi, > I have done all my work with Free pascal but only one error > which still i am not able to fix is MEM as i tried all the options which > you > suggest me (heartly thanks for that) but still i am not Getting exect > solution for it

Re: [fpc-pascal] Warning message for constructing an abstract class

2014-07-02 Thread Sven Barth
On 01.07.2014 22:50, Sven Barth wrote: Hello together! In revision 28127 I've commited the addition of a warning message when constructing an abstract class (declared as "class abstract(...) ... end"). Previously the compiler did not acknowledge that flag in any way (except for the JVM target) a

Re: [fpc-pascal] Segmentation Error using VideoBuf

2014-07-02 Thread mokashe.ram
Hi Guys..Please Help Thanks Sud -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Segmentation-Error-using-VideoBuf-tp5719293p5719693.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc

Re: [fpc-pascal] Segmentation Error using VideoBuf

2014-07-02 Thread mokashe.ram
Hi Tomas, I have done all my work with Free pascal but only one error which still i am not able to fix is MEM as i tried all the options which you suggest me (heartly thanks for that) but still i am not Getting exect solution for it.Please see below fully compilable source in free

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-02 Thread Paul Breneman
On 07/01/2014 04:24 PM, Paul Breneman wrote: On 07/01/2014 02:58 PM, Jonas Maebe wrote: On 01/07/14 19:42, Paul Breneman wrote: I'm doing the same thing in FPC and D7: StringLen := 14; MyReturnStr := 'test1234567890'; Status := ps5000aGetUnitInfo( ps5000a_handle, @MyReturnS

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-02 Thread Jonas Maebe
On 02 Jul 2014, at 12:26, Virgo Pärna wrote: On Wed, 2 Jul 2014 11:23:33 +0200, Jonas Maebe > wrote: As has been mentioned earler in the thread, MyReturnStr itself is a pchar. Sorry, I had to recheck thred multiple times before I found it. Initially he did not mention the type at all.

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-02 Thread Virgo Pärna
On Wed, 2 Jul 2014 11:23:33 +0200, Jonas Maebe wrote: > > As has been mentioned earler in the thread, MyReturnStr itself is a > pchar. > Sorry, I had to recheck thred multiple times before I found it. Initially he did not mention the type at all. Anyway, if variable is of type PChar,

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-02 Thread Jonas Maebe
On 02 Jul 2014, at 10:36, Virgo Pärna wrote: On Tue, 01 Jul 2014 13:42:52 -0400, Paul Breneman > wrote: Status := ps5000aGetUnitInfo( ps5000a_handle, @MyReturnStr[ 0], StringLen, requiredSize, RInfo); Also, first character of string is 1'st, not 0'th. When passing string as PChar

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-02 Thread Virgo Pärna
On Tue, 01 Jul 2014 13:42:52 -0400, Paul Breneman wrote: >Status := ps5000aGetUnitInfo( ps5000a_handle, @MyReturnStr[ 0], > StringLen, requiredSize, RInfo); > Also, first character of string is 1'st, not 0'th. When passing string as PChar like that would cause overwriting internal

Re: [fpc-pascal] fpc course

2014-07-02 Thread Jonas Maebe
On 02 Jul 2014, at 03:53, kapibara wrote: However, it doesn't matter how good it is if for example Embarcadero raises some copyright issue or something. And the FPC/Lazarus projects has to go. That sounds of course like madness to come with that now, 10-20 years after the conception of fpc

[fpc-pascal] fpc course

2014-07-02 Thread kapibara
Hi guys, I'm thinking of starting a FPC/Lazarus course in my local area. It would be interesting to know where you all think FPC (and Lazarus) is in 5-10 years? Personally I think ObjectPascal is a great and productive language, hence, I'd like to see it flourish. (C# simply reminds of my six