Re: [fpc-pascal] Free pascal 1.0.6

2013-07-13 Thread Matúš Kudláč
I want to ask about that hanging of the IDE. Was that the problem of Win32 release or GO32v2 release? On Sat, Jul 13, 2013 at 1:29 AM, Tomas Hajny wrote: > On Fri, July 12, 2013 20:33, Sven Barth wrote: > > On 11.07.2013 22:14, Matúš Kudláč wrote: > >> Hi, > >> > >> > >> I want to use Free

Re: [fpc-pascal] Free pascal 1.0.6

2013-07-13 Thread Marco van de Voort
In our previous episode, Mat?? Kudl?? said: > I want to ask about that hanging of the IDE. Was that the problem of Win32 > release or GO32v2 release? No idea, it was something with mouse support and shelling to a command shell. Keep in mind this is all ten years ago, and 1.0.6 was rather swiftly

Re: [fpc-pascal] Free pascal 1.0.6

2013-07-13 Thread Sven Barth
On 13.07.2013 01:29, Tomas Hajny wrote: On Fri, July 12, 2013 20:33, Sven Barth wrote: On 11.07.2013 22:14, Matúš Kudláč wrote: Hi, I want to use Free Pascal 1.0.6 in windows XP Professional 32bit. I know to ask some questions about that. Are there some stability problems with that vers

[fpc-pascal] Re: AV: FCL-Image and XPM image

2013-07-13 Thread silvioprog
2013/7/13 silvioprog > Hello, > > How do I load a XPM image using only FCL-Image? > > I'm trying it: > > program project1; > > {$mode objfpc}{$H+} > > uses > FPimage, FPReadXPM; > > var > r: TFPReaderXPM; > i: TFPMemoryImage; > begin > r := TFPReaderXPM.Create; > i := TFPMemoryImage.Cre

[fpc-pascal] Re: MAC window creation / Management / OpenGL

2013-07-13 Thread Kirill Kranz
Пятница, 12 июля 2013, 16:34 +04:00 от Kirill Kranz : >Hi, > >I need to knew who to create a window under OSX and handle menu. Also it would >be nice to init OpenGL. No GLUT, NSGL would be fine. > >need a complete example! no snippets! I'm complitly new on OSX, so sorry for >lameness :)  > >th

Re: [fpc-pascal] Free pascal 1.0.6

2013-07-13 Thread Tomas Hajny
On Sat, July 13, 2013 13:26, Sven Barth wrote: > On 13.07.2013 01:29, Tomas Hajny wrote: >> On Fri, July 12, 2013 20:33, Sven Barth wrote: . . >>> If it is really the first case then I don't really see anything that >>> would not work with 2.6.2 that did work in 1.0.6... (except it's >>> somethin

Re: [fpc-pascal] Free pascal 1.0.6

2013-07-13 Thread Tomas Hajny
On Sat, July 13, 2013 13:26, Sven Barth wrote: > On 13.07.2013 01:29, Tomas Hajny wrote: >> On Fri, July 12, 2013 20:33, Sven Barth wrote: . . >>> If it is really the first case then I don't really see anything that >>> would not work with 2.6.2 that did work in 1.0.6... (except it's >>> somethin

Re: [fpc-pascal] Free pascal 1.0.6

2013-07-13 Thread Tomas Hajny
On Sat, July 13, 2013 13:26, Sven Barth wrote: > On 13.07.2013 01:29, Tomas Hajny wrote: >> On Fri, July 12, 2013 20:33, Sven Barth wrote: . . >>> If it is really the first case then I don't really see anything that >>> would not work with 2.6.2 that did work in 1.0.6... (except it's >>> somethin

Re: [fpc-pascal] Free pascal 1.0.6

2013-07-13 Thread Tomas Hajny
On Sat, July 13, 2013 13:26, Sven Barth wrote: > On 13.07.2013 01:29, Tomas Hajny wrote: >> On Fri, July 12, 2013 20:33, Sven Barth wrote: . . >>> If it is really the first case then I don't really see anything that >>> would not work with 2.6.2 that did work in 1.0.6... (except it's >>> somethin

Re: [fpc-pascal] Free pascal 1.0.6

2013-07-13 Thread Tomas Hajny
On Sat, July 13, 2013 13:26, Sven Barth wrote: > On 13.07.2013 01:29, Tomas Hajny wrote: >> On Fri, July 12, 2013 20:33, Sven Barth wrote: . . >>> If it is really the first case then I don't really see anything that >>> would not work with 2.6.2 that did work in 1.0.6... (except it's >>> somethin

Re: [fpc-pascal] Re: AV: FCL-Image and XPM image

2013-07-13 Thread waldo kitty
On 7/13/2013 17:03, silvioprog wrote: 2013/7/13 silvioprog mailto:silviop...@gmail.com>> C:\Users\Silvio\Desktop\xpm>project1.exe An unhandled exception occurred at $00412008: EAccessViolation: Access violation $00412008 $00411D6F $00410B81 $0040F9B1

[fpc-pascal] Getting the current Unit Name

2013-07-13 Thread Noah Silva
Hi, In Delphi, there exists: TObject Class Function UnitName, which allows you to get the Unit of a given class. This seems not to be implemented in FreePascal. If there a similar function available in FreePascal? (I am sure there is some way to do this using the VMT.) Alternatively, is there an

Re: [fpc-pascal] Console Encoding in Windows (Local VS. UTF8)

2013-07-13 Thread Noah Silva
Hi, First, I want thank everyone for taking the time to answer! 2013/7/9 Jonas Maebe > > On 09 Jul 2013, at 11:02, Noah Silva wrote: > > 1. What encoding "should" I be writing to the terminal? >> > > The console code page. You can get it using the following function: > function GetConsoleOut

Re: [fpc-pascal] Re: Console Encoding in Windows (Local VS. UTF8)

2013-07-13 Thread Noah Silva
Hi, Thank you very much for the link. I think it will take some experimenting to get everything to work how it should on my systems. I am not using the {$codepage utf8} in my files, but I don't usually have any non-ASCII text in the programs. (The source files are in UTF8 though). The data I a

Re: [fpc-pascal] Console Encoding in Windows (Local VS. UTF8)

2013-07-13 Thread Noah Silva
Hi, Some comments... 2013/7/9 Marco van de Voort > In our previous episode, Tomas Hajny said: > > There is code page 65001 for UTF-8, however I don't know since which > > version of MS Windows it is supported (and to which extent - e.g. > > including the console output). > > Afaik Windows XP, b

Re: [fpc-pascal] Re: AV: FCL-Image and XPM image

2013-07-13 Thread silvioprog
2013/7/13 waldo kitty > On 7/13/2013 17:03, silvioprog wrote: > >> 2013/7/13 silvioprog mailto:silviop...@gmail.com>> >> >> C:\Users\Silvio\Desktop\xpm>**project1.exe >> An unhandled exception occurred at $00412008: >> EAccessViolation: Access violation >>$00412008 >>$

[fpc-pascal] FPReadIcon?

2013-07-13 Thread silvioprog
Hello, How to load an ICON using FCL-Image? Something like: program project1; {$mode objfpc}{$H+} uses FPimage, FPRead???; var r: TFPReader???; i: TFPMemoryImage; begin r := TFPReader???.Create; i := TFPMemoryImage.Create(16, 16); try i.LoadFromFile('lazarus16x16.ico', r); fi

[fpc-pascal] Re: Getting the current Unit Name

2013-07-13 Thread leledumbo
What compiler version? I have it in my trunk version -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Getting-the-current-Unit-Name-tp5715789p5715795.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___

Re: [fpc-pascal] Getting the current Unit Name

2013-07-13 Thread Mattias Gaertner
On Sun, 14 Jul 2013 09:13:42 +0900 Noah Silva wrote: > Hi, > > In Delphi, there exists: TObject Class Function UnitName, which allows you > to get the Unit of a given class. This seems not to be implemented in > FreePascal. It exists since many years in fpc. What compiler version are you using