Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Felipe Monteiro de Carvalho
Ah, now I see that you already gave an example output ... sorry -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Felipe Monteiro de Carvalho
I didn't fully understand the original problems. You have already posted an example input, please add also an example output for the same input for the routine you are trying to build. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist -

Re: [fpc-pascal] Apache Modules without LResources

2009-04-29 Thread Felipe Monteiro de Carvalho
On Mon, Apr 27, 2009 at 9:58 PM, Giovanni Premuda wrote: > Is it possible to use fclweb without linking LResources and a lazarus > resource file? Why don't you want to have the resource file? -- Felipe Monteiro de Carvalho ___ fpc-pasc

[fpc-pascal] Widestring endianness

2009-04-21 Thread Felipe Monteiro de Carvalho
Hello, I suppose that widestring is encoded with UTF-16 LE (little endian), regardless of the platform endianness. Is that correct? I mean, standard operations like assignment of string, copy from ansistring, etc, will result in UTF-16-LE thanks, -- Felipe Monteiro de Carvalho

[fpc-pascal] Interface reference counting

2009-04-02 Thread Felipe Monteiro de Carvalho
  d3d := Direct3DCreate9(D3D_SDK_VERSION);   // ... use the interface here   d3d := nil; // necessary or not? end; thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: DirectX applications crash

2009-03-17 Thread Felipe Monteiro de Carvalho
Really interresting, this helps a lot. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] DirectX applications crash

2009-03-16 Thread Felipe Monteiro de Carvalho
Hello, I've always had a problem with using COM with Free Pascal. If I release the interfaces, then the application crashes without reason somewhere unrelated with the code to do the actual release. In the following example I used the DirectX units from clootie: http://www.clootie.ru/fpc/index.ht

Re: [fpc-pascal] ActiveX COM OLE2 on WinCE Arm

2009-03-16 Thread Felipe Monteiro de Carvalho
On Mon, Mar 16, 2009 at 6:35 AM, Henrik Genssen wrote: > I was using lazarus-0.9.26-fpc-2.2.2-win32.exe. > After updateing those files from SVN TRUNC, everything seems to work. With svn trunc do you mean FPC 2.3.1 ? -- Felipe Monteiro de Ca

Re: [fpc-pascal] Acces IO-ports in Linux with FPC 2.2.0

2009-03-05 Thread Felipe Monteiro de Carvalho
You can use the ports unit. Read here: http://wiki.lazarus.freepascal.org/Hardware_Access#Using_ioperm_to_access_ports_on_Linux -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread Felipe Monteiro de Carvalho
ieces supposed to go? Anywhere you want. Usually somewhere in your user directory. Then you add -Fu when calling FPC so that it can find the units -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread Felipe Monteiro de Carvalho
nerates a namespace conflict, but Jonas kindly renamed their unit in the FPC copy of it. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread Felipe Monteiro de Carvalho
op your own apps. If you need any class not yet wrapped, just drop an e-mail and I will add it. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TZipper from FPC 2.2.2

2009-02-01 Thread Felipe Monteiro de Carvalho
I solved my problem by adding a copy of the latest zipper unit, with a different name, to FPSpreadsheet. And the latest zipper unit works very well!! thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] TZipper from FPC 2.2.2

2009-01-31 Thread Felipe Monteiro de Carvalho
have 2.2.2 installed ... Any ideas if it's possible to avoid the base directory with the current TZipper? Another cool possibility would be having this change merged. Any chance? I can help testing 2.2.3 thanks, -- Felipe Monteiro de Carvalho ___

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-29 Thread Felipe Monteiro de Carvalho
based ... It's interresting that OpenDocument is 1-based ... maybe because it's user readable. Excel binary files were all zero-based (good for programmers, and the format isn't user readable) ... don't know about OOXML. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-29 Thread Felipe Monteiro de Carvalho
start at 1 like what is seen in most spreadsheet user interfaces or in zero . It was zero before, but now I am changing it to 1, althougth I am still not sure of the best option ... ideas? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal mai

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-12 Thread Felipe Monteiro de Carvalho
t also reads Excel 5 files generated by fpspreadsheet, but I didn't test with files coming from Excel and Open Office. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Suggestions for fpspreadsheet

2009-01-10 Thread Felipe Monteiro de Carvalho
I am not saying I will implement any of this in a short time, just asking for suggestions =) thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Writing a compiler

2009-01-07 Thread Felipe Monteiro de Carvalho
very simplified Pascal. I did it handwritten because that's what the professor wanted. It's documented in portuguese, but here is the link in case it helps: http://p-tools.svn.sourceforge.net/viewvc/p-tools/fpjava/ My professor uses Wirth notation for the gramatics

Re: [fpc-pascal] html and chm help (lcl, fcl) translation in other languages ?

2009-01-01 Thread Felipe Monteiro de Carvalho
I think you can work on that even if there isn't yet a decision about your question. If it turns out to be different from what you made, just rename the files. I would suggest a new directory. Too many files in the same directory make it hard to find things. -- Felipe Monteiro de Car

Re: [fpc-pascal] TListBox bug in LCL of Lazarus?

2008-12-21 Thread Felipe Monteiro de Carvalho
but it is easy to find out. Just right click "MessageBox" and select "Find Declaration" The "Find in Files" dialog is also useful. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TListBox bug in LCL of Lazarus?

2008-12-21 Thread Felipe Monteiro de Carvalho
> I just converted to UTF-8 but now got problems with constant strings in > MessageBox calls which require Ansi instead of UTF-8. If you are using MessageBox from the LCL, then it uses UTF-8. Maybe your are using a Windows API. -- Felipe Monteiro de Ca

Re: [fpc-pascal] TListBox bug in LCL of Lazarus?

2008-12-21 Thread Felipe Monteiro de Carvalho
our tone isn't very helpful. I responded only in a intention to help, and yet the response doesn't seam to have been apreciated. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.

Re: [fpc-pascal] TListBox bug in LCL of Lazarus?

2008-12-21 Thread Felipe Monteiro de Carvalho
r chinese, because the application is already unicode capable and can easely support those languages. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TListBox bug in LCL of Lazarus?

2008-12-21 Thread Felipe Monteiro de Carvalho
ure whether we are talking about the same bug here. Delphi 7 doesn't support unicode, so I doubt you were using unicode routines there. Isn't that correct? The bug is about a unicode routine. -- Felipe Monteiro de Carvalho ___ fpc-pascal

Re: [fpc-pascal] Problems with Dynlibs.UnloadLibrary on Linux

2008-12-17 Thread Felipe Monteiro de Carvalho
Read this to create a backtrace: http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Schema Types

2008-12-15 Thread Felipe Monteiro de Carvalho
fancy:=new(fancy_type); // or something similar, I usually use GetMem not New SetLength(fancy.first, 10, 20); SetLength(fancy.second, 10, 20); SetLength(fancy.third, 300); -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] How to build .so with FPC and use it in C program?

2008-12-11 Thread Felipe Monteiro de Carvalho
I have managed to convert part of the LCL into a library usable in C: http://wiki.lazarus.freepascal.org/LCL_Bindings I don't remember which OS I was using, likely Windows. And the Apache modules are also libraries, which work and connect to a C software (apache) =) -- Felipe Montei

Re: [fpc-pascal] RTL function list?

2008-12-09 Thread Felipe Monteiro de Carvalho
Go to www.freepascal.org Select documentation Scroll to the HTML docs Select at Run-Time Library (RTL) units reference manual (with/without comments). (I usually select without comments, but with could be a good idea too). Select a unit. Select Procedures and Functions -- Felipe Monteiro

Re: [fpc-pascal] Re: Embarcadero/CodeGear officialy interested in Firebird and on native versions of Delphi for other operating systems ...

2008-12-09 Thread Felipe Monteiro de Carvalho
then now? But nothing really new, I have always heard that depending on a single vendor is a bad idea. Sure, some single vendor software are doing fine now. But how long before management decides it's more profitable to milk the software and stagnate development? -- Felipe

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-06 Thread Felipe Monteiro de Carvalho
ny other tasks at hand, and this one isn't making any money, so it has very low priority... -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] GTK Pascal and Gnome applets

2008-12-06 Thread Felipe Monteiro de Carvalho
ranslation job is usually easy. There is a C tutorial about this which should be easy to follow translating things to pascal: http://projects.gnome.org/ORBit2/appletstutorial.html -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lis

Re: [fpc-pascal] Porting linux to pascal, would it be possible ?

2008-12-05 Thread Felipe Monteiro de Carvalho
ver comes with the window manager. It would also be possible to build a distribution instead of a window manager, but I'm usually into writing code, as opposed to setting things up, so building a distribution doesn't seam a lot of fun to me

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Felipe Monteiro de Carvalho
t expect people from the list to join your initiative. Usually you have to start the project alone and get something working before one or two people join in. Don't expect everyone to stop what they are doing to help you in what you think is important. -- Felipe

Re: [fpc-pascal] Lazarus: graphical interface using code only?

2008-12-04 Thread Felipe Monteiro de Carvalho
org/LCL_Tips#Creating_a_GUI_by_code I have created a couple of programs with Lazarus in this way and it works perfectly. The main reason I did this was to facilitate using the same code with Lazarus and Delphi. -- Felipe Monteiro de Carvalho ___ fpc-pas

Re: [fpc-pascal] Verify if string is a valid number

2008-11-23 Thread Felipe Monteiro de Carvalho
thanks, Val worked nicely =) -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Verify if string is a valid number

2008-11-23 Thread Felipe Monteiro de Carvalho
w? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] How to execute a command line

2008-11-19 Thread Felipe Monteiro de Carvalho
thing that works on all OSes (yes, I know that UNIX unit wouldn't). -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Advantages page in website

2008-11-03 Thread Felipe Monteiro de Carvalho
ee it was somewhat aggressive and that needs to be changed. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Advantages page in website

2008-11-03 Thread Felipe Monteiro de Carvalho
I for one think that the page is very important to clarify strong points of Free Pascal for eventual users. I will be moving the old contents to the wiki, where they can be worked and improved. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist

[fpc-pascal] Advantages page in website

2008-10-31 Thread Felipe Monteiro de Carvalho
hello, What happened to the advantages page in the Free Pascal website? It used to be: http://www.freepascal.org/advantage.html I would like to reference it from an article, but it seams to be removed. Why? Maybe it could be added back? thanks, -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-21 Thread Felipe Monteiro de Carvalho
On Tue, Oct 21, 2008 at 4:04 PM, Francisco Reyes <[EMAIL PROTECTED]> wrote: > I can run windows from VM.. just have no idea what to use to open a chm. You just double click the chm. It's the standard Windows help system in Windows XP+ (maybe older too). -- Felipe Montei

Re: [fpc-pascal] Delphi / FPC and UTF8 BOM

2008-10-21 Thread Felipe Monteiro de Carvalho
viewvc/magnifier/trunk/translationsvmg.pas?view=markup The software is aiming to Delphi 2007 or older I expect things to change in the new Delphi. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://list

Re: [fpc-pascal] Delphi / FPC and UTF8 BOM

2008-10-21 Thread Felipe Monteiro de Carvalho
e is still theorical. To share code at the moment I do a IFDEF. If in Delphi, then I convert the string from utf-8 to ansi and I don't use the BOM. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.free

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-21 Thread Felipe Monteiro de Carvalho
poses. Or better: then it is not > duplication. Not all comments are in the documentation. Only those marked to be, like {@@ .... } -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-21 Thread Felipe Monteiro de Carvalho
otally unreadable if you would > mix them with the current documentation. Maybe for Free Pascal. I think it depends on the project. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-21 Thread Felipe Monteiro de Carvalho
on, because we already describe how things work in the comments, and then we need to describe that again in external docs. Or if we don't comment properly it becomes hard to underderstand the code. -- Felipe Monteiro de Carvalho __

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-21 Thread Felipe Monteiro de Carvalho
he source code, which I prefer. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-21 Thread Felipe Monteiro de Carvalho
d it to the svn repository. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-21 Thread Felipe Monteiro de Carvalho
rmat later today. It is possible to use any documentattion generator by inputing the adequate parameters it will use to analize the source code, but I tested many pascal doc generators and Doc-O-Matic was by far the best. -- Felipe Monteiro de Carvalho ___

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-18 Thread Felipe Monteiro de Carvalho
or OOXML: uses xlsxooxml; I don't remember what exactly is working for each one, but I don't think they will be usable without improving them. >Which formats currently work under unix (Linux/FreeBSD)? Only Excel 2 -- Felipe Monteiro de Carvalho _

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-18 Thread Felipe Monteiro de Carvalho
h one ... thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-18 Thread Felipe Monteiro de Carvalho
I just updated the wiki page, added the API reference file, added a proper example, status information And commited some small improvements in the wiki -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-16 Thread Felipe Monteiro de Carvalho
in fpspreadsheet. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-04 Thread Felipe Monteiro de Carvalho
And if would be great if you can document it in the wiki page or contribute patches if you wish to extend it. >From all the possible things to store in a Cell I think that only numbers, strings and formulas were working. -- Felipe Monteiro de Carva

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-04 Thread Felipe Monteiro de Carvalho
ng spreadsheets, althougth I don't remember if I implemented this for any format. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Random crashes in i386-macosx in PasCocoa

2008-09-29 Thread Felipe Monteiro de Carvalho
nope ... went back to the previous crash -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Random crashes in i386-macosx in PasCocoa

2008-09-29 Thread Felipe Monteiro de Carvalho
org.magnifier.magnifier 0x1ff9 start + 41 Now I am getting somewhere It was really unhappy with the previous texteditor.app name (I had even restarted the system to check if it was holding some kind of info). -- Felipe Monteiro de Carvalho

[fpc-pascal] Re: Random crashes in i386-macosx in PasCocoa

2008-09-29 Thread Felipe Monteiro de Carvalho
got fresh files from subversion, but still doesn't work =/ -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Random crashes in i386-macosx in PasCocoa

2008-09-29 Thread Felipe Monteiro de Carvalho
38 #4 0x0001c555 in SYSTEM_FPC_SYSTEMMAIN$LONGINT$PPCHAR$PPCHAR () #5 0x2702 in _start () #6 0x2629 in start () thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] external variable

2008-09-28 Thread Felipe Monteiro de Carvalho
: CFStringRef; external; Doesn't work. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] command-line+Carbon template?

2008-09-27 Thread Felipe Monteiro de Carvalho
I do not know what the word flaky means, but it would probably be better if you describe your problem with the standard pascal I/O in FPC so someone can help you. I have never had problems with it. And what is the turbo-based I/O? TStream? -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Help converting h-file

2008-09-21 Thread Felipe Monteiro de Carvalho
ear that one would need to improve the existing interface. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Help converting h-file

2008-09-21 Thread Felipe Monteiro de Carvalho
On Sun, Sep 21, 2008 at 7:42 AM, Den Jean <[EMAIL PROTECTED]> wrote: > Did you notice this: > http://www.klc.net.nz/linux/?page_id=13 kool!! So lcl-qt is already working with qtopia, is that it? -- Felipe Monteiro de Carvalho ___ fpc-pas

Re: [fpc-pascal] Help converting h-file

2008-09-21 Thread Felipe Monteiro de Carvalho
me parts are slow, then we need a better description of the problem. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Help converting h-file

2008-09-21 Thread Felipe Monteiro de Carvalho
it. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Bus error in ARM architecture

2008-09-18 Thread Felipe Monteiro de Carvalho
illustrates the problem, which they claim should not exist because the compiler should make sure everything is aligned. So, does anyone have a particularly illustrative example? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Next stabel installation for WinCE ?

2008-09-18 Thread Felipe Monteiro de Carvalho
een 2 weeks and 6 weeks (anyone please correct me if this is the wrong timeframe). -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Small OSX GUI apps

2008-09-17 Thread Felipe Monteiro de Carvalho
hich link directly to Carbon/Cocoa instead of using the Lazarus Component Library. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Can't resize form in WinCE

2008-09-16 Thread Felipe Monteiro de Carvalho
s been updated for those changes. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Can't resize form in WinCE

2008-09-16 Thread Felipe Monteiro de Carvalho
Which version of Lazarus are you using? You should use a snapshot, or the upcoming 0.9.26 -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Can't resize form in WinCE

2008-09-16 Thread Felipe Monteiro de Carvalho
Hello, The behavior is documented here: http://wiki.freepascal.org/Windows_CE_Development_Notes#Positioning_and_size_of_Dialogs_and_Forms In short, set the BorderStyle to bsDialog, but you really should read this wiki page to better understand Windows CE development. -- Felipe Monteiro de

Re: [fpc-pascal] WinCE api calls info

2008-09-14 Thread Felipe Monteiro de Carvalho
The problem is too much ambiguity because the Windows unit declares a lot of stuff with the same names as LCL, so drop the Windows unit if you don't really need it and add LCLType and LCLIntf instead. Create a separate unit to isolate direct calls to the Windows API. -- Felipe Montei

Re: [fpc-pascal] WinCE api calls info

2008-09-13 Thread Felipe Monteiro de Carvalho
On Sat, Sep 13, 2008 at 6:17 PM, Paul <[EMAIL PROTECTED]> wrote: > when I remove Windows from the uses clause, then TBitmap.create is OK. > But then HDC is not anymore Try specifing Graphics.TBitmap -- Felipe Monteiro de Carvalho __

Re: [fpc-pascal] WinCE api calls info

2008-09-13 Thread Felipe Monteiro de Carvalho
Please copy here your entire unit. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] WinCE api calls info

2008-09-13 Thread Felipe Monteiro de Carvalho
On Sat, Sep 13, 2008 at 5:18 PM, Paul <[EMAIL PROTECTED]> wrote: > Unfortunalety, TBitmap.create is not recognized by the lazarus IDE (WinCE) Is the Graphics unit in your uses clause? TBitmap works in Windows CE, so there is something wrong with your code. -- Felipe Monteiro de

Re: [fpc-pascal] WinCE api calls info

2008-09-13 Thread Felipe Monteiro de Carvalho
to take a screenshot.. For most platform you can use this: http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Taking_a_screenshot_of_the_screen I don't know if it works on Windows CE. -- Felipe Monteiro de Carvalho ___ fp

Re: [fpc-pascal] Install FPC/Lazarus for Win CE

2008-09-10 Thread Felipe Monteiro de Carvalho
s installed and that you have subversion installed. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Install FPC/Lazarus for Win CE

2008-09-10 Thread Felipe Monteiro de Carvalho
s CE with x86 processor? Intel also produces ARM processors. For this case you will need to build your own compiler. There are instructions in the wiki. The add-on installer is only for ARM architecture. -- Felipe Monteiro de Carvalho ___ fpc-pascal

Re: [fpc-pascal] Install FPC/Lazarus for Win CE

2008-09-10 Thread Felipe Monteiro de Carvalho
rating system: wince Target architecture: arm -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Install FPC/Lazarus for Win CE

2008-09-10 Thread Felipe Monteiro de Carvalho
the place where you put the sources and start from the bundle, or drag it to your dock. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Install FPC/Lazarus for Win CE

2008-09-10 Thread Felipe Monteiro de Carvalho
On Wed, Sep 10, 2008 at 12:24 PM, Paul <[EMAIL PROTECTED]> wrote: > Need to install all 4 packages in this order ? 2 packages in this order. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal

Re: [fpc-pascal] Install FPC/Lazarus for Win CE

2008-09-10 Thread Felipe Monteiro de Carvalho
use Windows as a development operating system to develop for Windows CE. It is theorically possible to use other base operating systems, but it's very hard, and I wouldn't recommend it. -- Felipe Monteiro de Carvalho ___ fpc-pasc

Re: [fpc-pascal] Re: Using TSdfDataset

2008-09-07 Thread Felipe Monteiro de Carvalho
the wiki. It's a completely different format. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Using TSdfDataset

2008-09-07 Thread Felipe Monteiro de Carvalho
I started a documentation for TSdfDataset: http://wiki.lazarus.freepascal.org/Lazarus_Database_Tutorial#Using_TSdfDataset_and_TFixedDataset ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pasca

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-07 Thread Felipe Monteiro de Carvalho
I would suggest to put this routines in a new unit, to keep the existing base units small and clean. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] How to customize a TDBMemo

2008-09-06 Thread Felipe Monteiro de Carvalho
also doesn't work, because I would need to access private fields in TDBMemo (specially FDataLink). Do I really need to create a completely new component or is there some strategy to customize the existing TDBMemo? thanks, -- Felipe Monteiro de Carvalho _

Re: [fpc-pascal] Re: Using TSdfDataset

2008-09-06 Thread Felipe Monteiro de Carvalho
Thanks! It works! But I am confused as to why the previous code didn't work, specially considering that it worked perfectly with the sqlite dataset. I assume that RecNo does not work with the Sdf dataset. -- Felipe Monteiro de Carvalho ___ fpc-p

[fpc-pascal] Re: Using TSdfDataset

2008-09-06 Thread Felipe Monteiro de Carvalho
Now I got it a bit further. It seams that it doesn't crash if I set FirstLineAsSchema to true, but it also shows wrong value. Here is my database file: ID,NAMEEN,NAMEPT,HEIGHT,WIDTH,PINS,DRAWINGCODE 1,resistor,resistor,1,1,1,LINE 2,capacitor,capacitor,1,1,1,LINE When listing the value of the NAM

[fpc-pascal] Re: Using TSdfDataset

2008-09-05 Thread Felipe Monteiro de Carvalho
Extra information: Free Pascal 2.2.2 Mac OS X 10.4 -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Using TSdfDataset

2008-09-05 Thread Felipe Monteiro de Carvalho
begin FDataset.RecNo := i; AStringList.Add(FDataset.FieldByName(STR_DB_COMPONENTS_NAMEEN).Value); end; end; The same code worked fine with sqlite, any ideas? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

[fpc-pascal] Using TSdfDataset

2008-09-05 Thread Felipe Monteiro de Carvalho
eld); MyField := TField.Create(nil); MyField.FieldName := 'DRAWINGCODE'; MyField.SetFieldType(ftMemo); FDataset.Fields.Add(MyField); FDataset.Active := True; end; Any ideas how to get TSdfDataset working? thanks, -- Felipe Monteiro de Carvalho ___

Re: [fpc-pascal] Exe size

2008-09-05 Thread Felipe Monteiro de Carvalho
us cannot? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Installing on Mac OS X

2008-09-02 Thread Felipe Monteiro de Carvalho
l once you learn how to use it. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Installing on Mac OS X

2008-09-02 Thread Felipe Monteiro de Carvalho
ers as idiots. There are some ideas here about how to show the unix directories in finder. I never tested them myself, but certainly will: http://forums.appleinsider.com/showthread.php?t=35034 -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist

Re: [fpc-pascal] Installing on Mac OS X

2008-08-31 Thread Felipe Monteiro de Carvalho
issuing "lazarus" in the command line For the next version I hope we will have a much better installer, with an application bundle. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

Re: [fpc-pascal] FPC 2.3.1 on Mac OS X?

2008-08-30 Thread Felipe Monteiro de Carvalho
Install 2.2.2 instead -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-08-13 Thread Felipe Monteiro de Carvalho
Yes, that was it =) Excellent. I assumed it wasn't merged because no answer was given to my e-mail. This is pretty good for that part of the book =) thank you, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-08-13 Thread Felipe Monteiro de Carvalho
Umm ... so can I assume that it wasn't merged? Maybe it could at least be merged to 2.2.3 thanks, On Tue, Jul 22, 2008 at 12:58 PM, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > On Tue, Jul 22, 2008 at 10:59 AM, Marco van de Voort <[EMAIL PROTECTED]> > wrot

Re: [fpc-pascal] Translate C to Pascal

2008-08-13 Thread Felipe Monteiro de Carvalho
he C-code is. It is usually used for having an opaque type, referencing it with a pointer. I would put in pascal both the empty structure and a pointer type to it. a: record end; pa: ^a; -- Felipe Monteiro de Carvalho ___ fpc-pascal mai

<    1   2   3   4   5   6   7   8   9   >