Re: [lazarus] Function to parse valid CSV string?

2006-07-06 Thread Graeme Geldenhuys
On 7/6/06, Bisma Jayadi [EMAIL PROTECTED] wrote: As I said, the CSV parsing logic can be tuned. :) But, it must able to solve all malformed format possibilities first (at least most of them). The actual behavior then can be set. Thinking a bit more about it. I don't known if allowing

Re: [lazarus] Function to parse valid CSV string?

2006-07-06 Thread Graeme Geldenhuys
On 7/6/06, ik [EMAIL PROTECTED] wrote: That's how security vulnerabilities starts... When you do not have at least a default way of handling stuff, and you just throw it all back at the user ... If you can't handle the file format, you can report it, but if you don't have some type of balance,

Re: [lazarus] Function to parse valid CSV string?

2006-07-06 Thread Bisma Jayadi
I don't known if allowing malformed CSV is a good idea. Where do you draw the line with what is acceptable? Yes, I knew it's a bad practice, but under some circumstances I have to assume that the data is always correct. I think the first step is I have to grab all the data first (and insert

[lazarus] compiling a DLL

2006-07-06 Thread Christian Budde
Hello, I've been trying to compile a DLL with no luck the code looks like this: library DLLTest; uses Forms, LCLType, LCLClasses, LCLIntf, interfaces, Dialogs; function Main(audioMaster: Pointer): Pointer; cdecl; export; begin  ShowMessage('Test'); end; exports

Re: [lazarus] compiling a DLL

2006-07-06 Thread Christian U.
 why you want to make a showmessage from an dll ? thats bad. the only think i know where you need forms in dll´s are configure dialogs for plugins but this can also be solved with other methods. librarys should add functionality to your program ... not ui regards Christian -

Re: [lazarus] compiling a DLL

2006-07-06 Thread dhkblaszyk
Christian, I faced the same problem a while ago and (temporarily) gave up on it. You mention there are other methods to use configure dialogs from dll. What methods would that be? In my app I would like to show a dialog where the user can select some items from a list. The items are calculated

Re: [lazarus] compiling a DLL

2006-07-06 Thread Christian Iversen
On Thursday 06 July 2006 17:32, Alexandre Leclerc wrote: We can do it in Delphi. In fact I was able to have an EXE and a DLL of the complete and same application; it was very handy when someone desired to integrate the whole software in is own application, whether it be in pascal or not. For

Re: [lazarus] compiling a DLL

2006-07-06 Thread Christian U.
In my app I would like to show a dialog where the user can select some items from a list. The items are calculated within the DLL. After the user selected which items it wants to see the selected items are passed on to the main app. i hjave written an framework for this, in my applications an

Re: [lazarus] compiling a DLL

2006-07-06 Thread Christian U.
lazarus is no delphi, and delphi isnt crossplatform. librarys (as the name says) are for sharing functions, the ui is always platform dependend librarys not ... and i dont know an case where an whole application needs to used by another. and if this fall is the case, why dont use an normal

Re: [lazarus] compiling a DLL

2006-07-06 Thread Christian Budde
Christian Iversen schrieb: Can you give more information about the problem? Is there a crash? A segmentation fault? Does nothing happen? etc Access violation read of address 0003 In any circumstance, I think you should join #lazarus-ide on irc://irc.freenode.org, to discuss this

Re: [lazarus] compiling a DLL

2006-07-06 Thread Alexandre Leclerc
2006/7/6, Christian U. [EMAIL PROTECTED]: lazarus is no delphi, and delphi isnt crossplatform. librarys (as the name says) are for sharing functions, the ui is always platform dependend librarys not ... Yes I know that laz isn't delphi. Yet, we talk about technical possibilities here. If

Re: [lazarus] compiling a DLL

2006-07-06 Thread Alexandre Leclerc
2006/7/6, Christian Budde [EMAIL PROTECTED]: Christian Iversen schrieb: Can you give more information about the problem? Is there a crash? A segmentation fault? Does nothing happen? etc Access violation read of address 0003 In any circumstance, I think you should join #lazarus-ide on

[lazarus] New widget set for Lazarus

2006-07-06 Thread Graeme Geldenhuys
Hi, Is there any documentation or wiki site I can refer to on how to add a new Widget Set to Lazarus. My GUI toolkit is written in pure Object Pascal and only uses what is offered with FPC. The framework is coming on nicely and I want to find out how much work it would be to implement it as

AW: [lazarus] compiling a DLL

2006-07-06 Thread Christian Ulrich
you can dock another window to an form ... so you can use any application you want in this way. Well, this is not completely working in lazarus yet (under win32 you can't dock a form in another without having mouse/focus problems), so it would be much more hard in some other languages. (This

Re: [lazarus] New widget set for Lazarus

2006-07-06 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Is there any documentation or wiki site I can refer to on how to add a new Widget Set to Lazarus. Have a look here: http://lazarus.dommelstein.nl/lcl/interfaces/template.tgz or http://lazarus.dommelstein.nl/lcl/interfaces/template Marc (which reminds me

Re: [lazarus] compiling a DLL

2006-07-06 Thread Alexandre Leclerc
2006/7/6, Christian Ulrich [EMAIL PROTECTED]: you can dock another window to an form ... so you can use any application you want in this way. Well, this is not completely working in lazarus yet (under win32 you can't dock a form in another without having mouse/focus problems), so it would be

[lazarus] lazarus is crashing

2006-07-06 Thread Darius Blaszijk
Since yesterday I have this problem; Each time I run a project (doesn't matter if it's existing or new). The application compiles and then I get a message "file not open". I've been looking what could cause this without success. I have added the debug snip below. Does anybody have an idea?

Re: [lazarus] lazarus is crashing

2006-07-06 Thread Alexandre Leclerc
2006/7/6, Darius Blaszijk [EMAIL PROTECTED]: Since yesterday I have this problem; Each time I run a project (doesn't matter if it's existing or new). The application compiles and then I get a message file not open. I've been looking what could cause this without success. I have added the

Re: [lazarus] compiling a DLL

2006-07-06 Thread Alexandre Leclerc
2006/7/6, Alexandre Leclerc [EMAIL PROTECTED]: 2006/7/6, Christian Ulrich [EMAIL PROTECTED]: you can dock another window to an form ... so you can use any application you want in this way. Well, this is not completely working in lazarus yet (under win32 you can't dock a form in another

Re: [lazarus] lazarus is crashing

2006-07-06 Thread Vincent Snijders
Darius Blaszijk wrote: Since yesterday I have this problem; Each time I run a project (doesn't matter if it's existing or new). The application compiles and then I get a message file not open. I've been looking what could cause this without success. I have added the debug snip below. Does

Re: [lazarus] New widget set for Lazarus

2006-07-06 Thread Michael Van Canneyt
On Thu, 6 Jul 2006, Graeme Geldenhuys wrote: Hi, Is there any documentation or wiki site I can refer to on how to add a new Widget Set to Lazarus. My GUI toolkit is written in pure Object Pascal and only uses what is offered with FPC. The framework is coming on nicely and I want to

Re: [lazarus] New widget set for Lazarus

2006-07-06 Thread Graeme Geldenhuys
On 7/6/06, Marc Weustink [EMAIL PROTECTED] wrote: Have a look here: http://lazarus.dommelstein.nl/lcl/interfaces/template.tgz Thanks Marc, will look at it shortly... Graeme. _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] New widget set for Lazarus

2006-07-06 Thread Burkhard Carstens
[..] My GUI toolkit is written in pure Object Pascal and only uses what is offered with FPC. The framework is coming on nicely and I want to find out how much work it would be to implement it as part of Lazarus. Would others be interested in such a toolkit, or has Lazarus got them all

Re: [lazarus] New widget set for Lazarus

2006-07-06 Thread Felipe Monteiro de Carvalho
On 7/6/06, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Is there any documentation or wiki site I can refer to on how to add a new Widget Set to Lazarus. There is even a tutorial: http://wiki.lazarus.freepascal.org/index.php/LCL_Internals It should get you started. Latter you can ask how to

Re: [lazarus] New widget set for Lazarus

2006-07-06 Thread Graeme Geldenhuys
On 7/6/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: Can you post some screenshots ? No problem... Will generate a few as soon as I am back in the office. Regards, Graeme. _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] New widget set for Lazarus

2006-07-06 Thread Graeme Geldenhuys
On 7/6/06, Felipe Monteiro de Carvalho [EMAIL PROTECTED] There is even a tutorial: http://wiki.lazarus.freepascal.org/index.php/LCL_Internals Thanks Felipe. I knew I saw it somewhere, just couldn't find it on the wiki. The Lazarus wiki is becoming huge, but still stays a goldmine of

Re: [lazarus] New widget set for Lazarus

2006-07-06 Thread Graeme Geldenhuys
On 7/6/06, Felipe Monteiro de Carvalho [EMAIL PROTECTED] One particular thing you could consider is integrating only the X11 version on Lazarus. After all we already have a win32 widgetset, but it would be very nice to have a good X11 widgetset. I forgot to mention, I agree fully, that

Re: [lazarus] About Promoting-FPC

2006-07-06 Thread Graeme Geldenhuys
Search the mailing list archives, it has been discused a few weeks back. Graeme. On 7/6/06, Lord ZealoN [EMAIL PROTECTED] wrote: Nobody are writen something in the web. Somebody are interested in this initiative? _ To

[lazarus] Lazarus Forum Organization

2006-07-06 Thread Felipe Monteiro de Carvalho
Hello, The current Lazarus forum has some issues, like: * lot´s of people can´t register (has this being solved?). We need to solve this in order to force people to register before posting, because there have being too many spam attacks. * Bad organization of the topics. You will notice that