Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-09

Lazarus Win32

26 messages · 11 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael A. Hess
to Michal Bukovjan: something wrong with it? I looked at that and fixed the buggy code which was converting…
Bahattin Vidinli wrote 5 lines
I'm new in lazarus project, I've downloaded the code but don't know how to execute it under linux, that is I want to see the basic IDE in the linux and start programming.

At this point there isn't anything to execute. We are still in the process of building the LCL (Lazarus Class Libraries) which equate to the Delphi VCL. Using these tools we will then be able to build the IDE. What is needed now is more programmer to help in the creation of the various components in the LCL the correspond to the components in the Delphi VCL.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Jeffrey A. Wormsley
Colin Laplace wrote
Hello everybody, I was wondering if there were a native win32 version of Lazarus available. Anybody knows ?

I have done a little work on that, but have been under a rather high load lately and have not been able to work on it. The focus for everyone right now is to get a GTK version functioning, since GTK can run on Windows and Linux. You may want to jump in there and help, to get familiar with the environment, then later on the native windows can get a little attention.

Jeff.

Reply by email

Jyllian Mitchell
to Michal Bukovjan: something wrong with it? I looked at that and fixed the buggy code which was converting…

At 04:25 PM 9/11/1999 -0400, Michael A. Hess wrote: .

What is needed now is more programmer to help in the creation of the various components in the LCL the correspond to the components in the Delphi VCL.

I would like to start by commenting some of the code already written, as that will give me a feel for how it all works (the various .pp files have me slightly confused), and is something that the web site points out as being needed. But I've no idea what files are in need of this, nor do I really understand how to upload the files with my changes. Can anyone give me a pointer as to what would be a good place to start?

Thanks,
Jyll

********************************************************* http://www.itouch.net/~jm/
ICQ = 633051
A closet is too small a space for an adult human.
*********************************************************

Reply by email

Shane Miller
I looked at that and fixed the buggy code which was converting GDK keycodes

to

LCL keycodes. I tried to use the gtk_widget_queue_draw for Invalidate, and it looks like

it

Show quoted text 8 lines
sort of works, at least it does not crash. I commited the changes to CVS. Have fun, Michal Bukovjan

THANKS!!!!!!! Sorry for the lack of progress recently, but the new addition to my family is taking my spare time at the moment.

------------------------------------------------------------ Shane Miller

Get paid to surf the net!
http://alladvantage.com/go.asp?refid=DEX-870

Home page : http://www.lakefield.net/~smiller

Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip

Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard

Lazarus : http://www.miraclec.com/lazarus
----------------------------------------------------------

Earlier message 34 lines
-----Original Message----- From: Michal Bukovjan To: Date: Saturday, September 11, 1999 5:33 AM Subject: Re: [Re: [lazarus] Key Down messages] >"Shane Miller" wrote: >> Has anyone been able to look at the keydown message and see if there is >something wrong with it? > >I looked at that and fixed the buggy code which was converting GDK keycodes to >LCL keycodes. >I tried to use the gtk_widget_queue_draw for Invalidate, and it looks like it >sort of works, at least it does not crash. > >I commited the changes to CVS. > >Have fun, > >Michal Bukovjan > > >____________________________________________________________________ >Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com. > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Michael A. Hess
to Michal Bukovjan: something wrong with it? I looked at that and fixed the buggy code which was converting…
Jyllian Mitchell wrote 5 lines
I would like to start by commenting some of the code already written, as that will give me a feel for how it all works (the various .pp files have me slightly confused), and is something that the web site points out as being needed.

Ooooooo. That would be an excellent idea. If you have checked out the files from CVS you should also have files in the lcl/templates directory. You will find a template for the .inc and the .pp files. This template is the layout that will work well with pasdoc. This is the tool that we are using that builds the user manual or documentation for the code.

But I've no idea what files are in need of this,

If you look at the code just about every file. Up to this point we have been concentrating on writing the code and not all that much on the comments for use by pasdoc. Probably naughty of us. :-\

Just pick a .pp file and start to comment it. You will see that it probably references some .inc files. These are usually the files that contain the class code to go with the class definitions found in the .pp file. To start stick with one group of .pp and .inc files. When done move to the next.

Be sure to add the header and footer information as found in the template as well. This information is used by CVS to add change comments. This helps us track what was done to the code, when, and by whom.

nor do I really understand how to upload the files with my changes.

At this point you can send your modified files to one of the core people in the group. I would suggest either myself.

or Shane or Cliff. You can get their email addresses from archives of the mailing list. (see link at bottom of this email).

Adding these comments would be a VERY big help.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michael A. Hess
to Jeffrey A. Wormsley: I have done a little work on that, but have been under a rather high load lately and have…
Colin Laplace wrote 5 lines
Thank you. I know that Lazarus is great for Linux with GTK, but i think that many Win32 developers won't like to have to distribute huge runtime libs (not on Linux, gtk is usually installed there). So i'm just curious to give a look to it ;-)

Granted this little tidbit only relates to VB programs but it is interesting all the same.

Minimum files recommended for installation along with a Visual Basic 5.0 application.

orig. - 2,496,656 bytes compressed in Zip file - 1,254,195 bytes

GTK+ Library files required for a Win32 application

orig. - 1,941,665 bytes compressed in Zip file - 715,233 bytes

A GTK+ application needs almost 50% fewer files in size then Visual Basic does. Alot of developers don't seem to mind delivering a whole pile of files with Visual Basic applications. :-)

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michal Bukovjan
"Shane Miller" wrote
Has anyone been able to look at the keydown message and see if there is

something wrong with it?

I looked at that and fixed the buggy code which was converting GDK keycodes to LCL keycodes.
I tried to use the gtk_widget_queue_draw for Invalidate, and it looks like it sort of works, at least it does not crash.

I commited the changes to CVS.

Have fun,

Michal Bukovjan

____________________________________________________________________ Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.

Reply by email

Colin Laplace
to Michal Bukovjan

Hello,

Thank you for your answer. It's really a great thing to use GTK for Linux, but for win32 i think it's not the best solution. Why ? simply because not so much people like to have to distribute also a 2 Mb runtime-library for just a program. That's why the win32 native version may be another good reason to say you've done a great work as for now. BTW, does somenody knows the email of the win32 version worker ?

In deep respect,
Colin

Earlier message 29 lines
----- Original Message ----- From: Michael A. Hess To: Sent: Saturday, September 11, 1999 7:36 PM Subject: Re: [lazarus] Lazarus Win32 > Colin Laplace wrote: > > > > I was wondering if there were a native win32 version of Lazarus > > available. > > Anybody knows ? > > It is slowly being worked on by one of the members. It isn't our main > push at the moment. We are mainly focused on creating a GTK+ version. > Since GTK+ is also available for Win32 this means that you will be able > to create Win32 apps using GTK+. > > -- > ==== Programming my first best destiny! ==== > > Michael A. Hess Miracle Concepts, Inc. > http://www.miraclec.com > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Jeffrey A. Wormsley

That would be me, at Not done much lately, as I have been covered up with both work and sidelines.

Jeff.

*********** REPLY PARTITION ***********

Colin Laplace wrote 47 lines
Hello, Thank you for your answer. It's really a great thing to use GTK for Linux, but for win32 i think it's not the best solution. Why ? simply because not so much people like to have to distribute also a 2 Mb runtime-library for just a program. That's why the win32 native version may be another good reason to say you've done a great work as for now. BTW, does somenody knows the email of the win32 version worker ? In deep respect, Colin ----- Original Message ----- From: Michael A. Hess To: Sent: Saturday, September 11, 1999 7:36 PM Subject: Re: [lazarus] Lazarus Win32 > Colin Laplace wrote: > > > > I was wondering if there were a native win32 version of Lazarus > > available. > > Anybody knows ? > > It is slowly being worked on by one of the members. It isn't our main > push at the moment. We are mainly focused on creating a GTK+ version. > Since GTK+ is also available for Win32 this means that you will be able > to create Win32 apps using GTK+. > > -- > ==== Programming my first best destiny! ==== > > Michael A. Hess Miracle Concepts, Inc. > http://www.miraclec.com > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michael A. Hess
to Michal Bukovjan: something wrong with it? I looked at that and fixed the buggy code which was converting…
Colin Laplace wrote
I was wondering if there were a native win32 version of Lazarus available. Anybody knows ?

It is slowly being worked on by one of the members. It isn't our main push at the moment. We are mainly focused on creating a GTK+ version. Since GTK+ is also available for Win32 this means that you will be able to create Win32 apps using GTK+.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Colin Laplace
to Jeffrey A. Wormsley: I have done a little work on that, but have been under a rather high load lately and have…

Thank you. I know that Lazarus is great for Linux with GTK, but i think that many Win32 developers won't like to have to distribute huge runtime libs (not on Linux, gtk is usually installed there). So i'm just curious to give a look to it ;-)

Colin

Show quoted text 13 lines
I have done a little work on that, but have been under a rather high load lately and have not been able to work on it. The focus for everyone right now is to get a GTK version functioning, since GTK can run on Windows and Linux. You may want to jump in there and help, to get familiar with the environment, then later on the native windows can get a little attention. Jeff. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Bahattin Vidinli linux system
to Michal Bukovjan: something wrong with it? I looked at that and fixed the buggy code which was converting…

Then, I would participate in the development of this project. I have the knowledge and experience of programming in pascal, delphi and C++.

Now it is the time of programming, if somebody helps me in the point of start.
I don't know exactly what to do.

Please contact me.

"Michael A. Hess" wrote 24 lines
Bahattin Vidinli (linux system) wrote: > > I'm new in lazarus project, > I've downloaded the code but don't know how to execute it under linux, > that is I want to see the basic IDE in the linux and start > programming. At this point there isn't anything to execute. We are still in the process of building the LCL (Lazarus Class Libraries) which equate to the Delphi VCL. Using these tools we will then be able to build the IDE. What is needed now is more programmer to help in the creation of the various components in the LCL the correspond to the components in the Delphi VCL. -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

begin:vcard
n:Vidinli;Bahattin
tel;cell:0542.3123876 - 0312.3632121
tel;
tel;,
tel;work:Surat Bilgisayar
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;
fn:Bahattin Vidinli
end:vcard

Reply by email

Bahattin Vidinli linux system
to Michal Bukovjan: something wrong with it? I looked at that and fixed the buggy code which was converting…

I'm new in lazarus project,
I've downloaded the code but don't know how to execute it under linux, that is I want to see the basic IDE in the linux and start programming.

Can anybody help me?

Thanks
Bahattin Vidinli

begin:vcard
n:Vidinli;Bahattin
tel;cell:0542.3123876 - 0312.3632121
tel;
tel;,
tel;work:Surat Bilgisayar
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;
fn:Bahattin Vidinli
end:vcard

Reply by email

Pascal Dutilleul
--- "Michael A. Hess" wrote 9 lines
Colin Laplace wrote: > > think that many Win32 developers won't like to > have to distribute huge runtime libs Alot of developers don't seem to mind delivering a whole pile of files with Visual Basic applications. :-)

Colin was talking about Win32 *Developers*, and not Win32 VB *amateurs* ;-)

Pascal
__________________________________________________ Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

Reply by email

Shane Miller

Yes, I did but only sent the code to CVS because I needed to pull it plan on fixing the issue today. Here's why I changes TCutsomNotebook:

I got the editor displaying the code correctly. Now I need to display that code on a notebook page but the problem is that only forms have canvas' at this popint so I need to add one to the notebook. I started by adding it to tcustomnbotrebook but soon realized that it should be added to tcustomcontrol. Also, I have to make sure the paint message method is used in tcustomcontrol so I can get paint messages. I did initially change the tnotebook but I will be returning it back to it's proper state.

Sorry for the trouble that this caused.

Shane

>> Curtis White 09/22/99 12:42AM >>>

Has anyone changed anything recently in gtkobject.inc or in extctrls.pp that could potentially affect the Notebook component? The reason I ask is that all the sudden the notebook component doesn't work any more and I get the following warning when I compile the lcl code:

customnotebook.inc(303,44) Hint: Parameter not used PARAMS
customnotebook.inc(320,39) Hint: Parameter not used PROC
customnotebook.inc(320,60) Hint: Parameter not used ROOT
customnotebook.inc(341,39) Hint: Parameter not used ACONTROL
timer.inc(105,29) Hint: Parameter not used MSG
Warning: ./extctrls.ppu Interface CRC changed -294228524-1361824228
Assembling extctrls

I don't know if this warning has anything to do with the notebook not working any more or not. I am just trying to figure out what is causing the problem. The problem appears to be when attempting to access the Strings property of a Notebook page. Normally, this sets the name placed on the notebook tab.

The notebook page (TNBPages) inherits from TStrings. The Strings property calls a virtual method called Put. I have Put defined in the customnotebook.inc file. Something has changed within the last few days that caused this method to stop working.

I know it was working several days ago and now it isn't. But I don't know exactly what changed. I did cycle my compiler tonight, including the fcl, rtl, lcl and all the other code. So the problem could be anywhere :-(

If anyone has any ideas that might be able to help me figure this out, please let me know. I have been working on it now for about 3 hours tonight and still haven't found the problem.

Thanks...Curtis

----------------------------------
Curtis White
Curtis White
http://www.teleport.com/~osiriz/
----------------------------------

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Curtis White
to Colin Laplace: yes, but probably VB will be abandonned in a few years or less (unless Micro$oft does a…
On 14-Sep-99 Colin Laplace wrote
> yes, but probably VB will be abandonned in a few years or less (unless Micro$oft does a big effort on it). Free Software are the tools of the next generation ;-)

Since Micro$oft has enough money to run the company for many years even if they didn't sell another product, I would guess they are just waiting until the right time (when it will benefit them the most or they can use it to kill a competitor) and they will probably start giving VB away for free. Maybe to combat the Open Source movement and Linux.

Curtis

Reply by email

Colin Laplace
to Samuel Liddicott: I hate VB but my brother made a darn site more writing VB software for Reuters and use on…
Show quoted text 6 lines
> Colin was talking about Win32 *Developers*, and not Win32 VB*amateurs* I hate VB but my brother made a darn site more writing VB software for Reuters and use on the stock market than I do with Delphi. I guess a good professional can even do a lot with bad tools.

yes, but probably VB will be abandonned in a few years or less (unless Micro$oft does a big effort on it).
Free Software are the tools of the next generation ;-)

colin

_________________________________________________________________

To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michael A. Hess
to Jeffrey A. Wormsley: I have done a little work on that, but have been under a rather high load lately and have…
Colin Laplace wrote
Yes, this is why i HATE visual Basic. Btw, when people wants to do a serious work on Win32, they don't use VB, it's getting very old now and lacks many features.

For coders like the group here, interested in FPC, who use Delphi and code for Linux, etc. etc. etc. I will agree with the above statement. I myself hate VB. However, I am currently doing a contract job for the largest dental supplies distributer in the US writing a complete e-commerce application for use by sales reps and customers. It is being written in VB. We coders, and I consider anyone interested or involved with FPC and Lazarus to be the cream of the crop, would not use VB but we aren't always the people making the decisions. Many times management who barely know how to turn on a computer pick the products used to develop with. VB is a name that they have heard (M$ marketing) and that is what they go with. The place mentioned above has 40 people in the TIS department and would you believe that not one of them had ever heard of Delphi. To make matters worse all but one has NEVER seen Linux. Several have even asked me why would they want to use Linux. This was asked by several who are Unix users.

My point of my file size comparison was just to point out that alot of application in the corporate world are written in VB. They deliver at least that minimal file amount that I indicate. If the corporate world doesn't mind doing it for VB they shouldn't have any problem doing 50% fewer files and be able to deliver on 2 platforms at the same time.

I have kept track over the last 4 months of how many people, fellow coders and clients, have ever heard of Delphi. In 4 months I found only 1 other person. Just one! I have also learned that pascal is not only not taught in college any more but it isn't even mentioned. When I asked about this I was told that college professors consider pascal to be a dead language and not to be seriously considered. Yet they still promote Visual Basic. Makes you scratch your head, doesn't it!!

Well enough of this. Time to get some work done. :-)

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Samuel Liddicott
to Pascal Dutilleul: Colin was talking about Win32 *Developers*, and not Win32 VB *amateurs* ;-) Pascal…
Show quoted text 18 lines
-----Original Message----- From: Pascal Dutilleul Sent: Tuesday, September 14, 1999 10:46 AM To: Subject: Re: [lazarus] Lazarus Win32 --- "Michael A. Hess" wrote: > Colin Laplace wrote: > > > > think that many Win32 developers won't like to > > have to distribute huge runtime libs > Alot of developers don't seem to mind > delivering a whole > pile of files with Visual Basic applications. :-) > Colin was talking about Win32 *Developers*, and not Win32 VB *amateurs*

I hate VB but my brother made a darn site more writing VB software for Reuters and use on the stock market than I do with Delphi.

I guess a good professional can even do a lot with bad tools.

Sam

Reply by email

Colin Laplace
to Jeffrey A. Wormsley: I have done a little work on that, but have been under a rather high load lately and have…
A GTK+ application needs almost 50% fewer files in size then Visual Basic does. Alot of developers don't seem to mind delivering a whole pile of files with Visual Basic applications. :-)

Yes, this is why i HATE visual Basic. Btw, when people wants to do a serious work on Win32, they don't use VB, it's getting very old now and lacks many features.

In reply to Jeff:
Thank you, i'll look at it soon.

Colin

Show quoted text 12 lines
-- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

Actually, it doesn't sound like my addition of a canvas would have caused your problem. I will look into it though...

Shane

>> Curtis White 09/22/99 12:42AM >>>

Has anyone changed anything recently in gtkobject.inc or in extctrls.pp that could potentially affect the Notebook component? The reason I ask is that all the sudden the notebook component doesn't work any more and I get the following warning when I compile the lcl code:

customnotebook.inc(303,44) Hint: Parameter not used PARAMS
customnotebook.inc(320,39) Hint: Parameter not used PROC
customnotebook.inc(320,60) Hint: Parameter not used ROOT
customnotebook.inc(341,39) Hint: Parameter not used ACONTROL
timer.inc(105,29) Hint: Parameter not used MSG
Warning: ./extctrls.ppu Interface CRC changed -294228524-1361824228
Assembling extctrls

I don't know if this warning has anything to do with the notebook not working any more or not. I am just trying to figure out what is causing the problem. The problem appears to be when attempting to access the Strings property of a Notebook page. Normally, this sets the name placed on the notebook tab.

The notebook page (TNBPages) inherits from TStrings. The Strings property calls a virtual method called Put. I have Put defined in the customnotebook.inc file. Something has changed within the last few days that caused this method to stop working.

I know it was working several days ago and now it isn't. But I don't know exactly what changed. I did cycle my compiler tonight, including the fcl, rtl, lcl and all the other code. So the problem could be anywhere :-(

If anyone has any ideas that might be able to help me figure this out, please let me know. I have been working on it now for about 3 hours tonight and still haven't found the problem.

Thanks...Curtis

----------------------------------
Curtis White
Curtis White
http://www.teleport.com/~osiriz/
----------------------------------

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Curtis White
to Shane Miller: Yes, I did but only sent the code to CVS because I needed to pull it plan on fixing the…

Oh, OK. That is fine then. It sounds like you know what the problem is and have it under control, so I won't worry about it. I just didn't know if maybe some other change affected the notebook. So I was trying to figure out what it was. I am actually glad to hear that you know about it, so I don't have to worry about it any more :-)

Curtis

On 22-Sep-99 Shane Miller wrote 75 lines
Yes, I did but only sent the code to CVS because I needed to pull it here at work. I plan on fixing the issue today. Here's why I changes TCutsomNotebook: I got the editor displaying the code correctly. Now I need to display that code on a notebook page but the problem is that only forms have canvas' at this popint so I need to add one to the notebook. I started by adding it to tcustomnbotrebook but soon realized that it should be added to tcustomcontrol. Also, I have to make sure the paint message method is used in tcustomcontrol so I can get paint messages. I did initially change the tnotebook but I will be returning it back to it's proper state. Sorry for the trouble that this caused. Shane >>> Curtis White 09/22/99 12:42AM >>> Has anyone changed anything recently in gtkobject.inc or in extctrls.pp that could potentially affect the Notebook component? The reason I ask is that all the sudden the notebook component doesn't work any more and I get the following warning when I compile the lcl code: customnotebook.inc(303,44) Hint: Parameter not used PARAMS customnotebook.inc(320,39) Hint: Parameter not used PROC customnotebook.inc(320,60) Hint: Parameter not used ROOT customnotebook.inc(341,39) Hint: Parameter not used ACONTROL timer.inc(105,29) Hint: Parameter not used MSG Warning: ./extctrls.ppu Interface CRC changed -294228524-1361824228 Assembling extctrls I don't know if this warning has anything to do with the notebook not working any more or not. I am just trying to figure out what is causing the problem. The problem appears to be when attempting to access the Strings property of a Notebook page. Normally, this sets the name placed on the notebook tab. The notebook page (TNBPages) inherits from TStrings. The Strings property calls a virtual method called Put. I have Put defined in the customnotebook.inc file. Something has changed within the last few days that caused this method to stop working. I know it was working several days ago and now it isn't. But I don't know exactly what changed. I did cycle my compiler tonight, including the fcl, rtl, lcl and all the other code. So the problem could be anywhere :-( If anyone has any ideas that might be able to help me figure this out, please let me know. I have been working on it now for about 3 hours tonight and still haven't found the problem. Thanks...Curtis ---------------------------------- Curtis White Curtis White http://www.teleport.com/~osiriz/ ---------------------------------- _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

----------------------------------
Curtis White
Curtis White
http://www.teleport.com/~osiriz/
----------------------------------

Reply by email

Ranulf J. Goss

Dear all,

Unfortunately, this is true. A lot of people use VB because that's the standard (Microsoft standard, that is). I've been using Delphi since version 2 and I think it's the best development tool around. Unfortunately, more hype has been put in to other languages like Java and VB.

I need a favor from you guys. If you have any "technical" comparisons of Delphi and Lazarus with other languages like Java and VB, please send or resend to all of us. Right now I'm in the process of introducing Delphi to the students in my university, and I would be very thankful for any inputs. With these technical comparisons we can easily convince other people to use Delphi and Lazarus. Maybe we can also put it in the website.

Ranulf
(lurker)

Earlier message 55 lines
-----Original Message----- From: Michael A. Hess Sent: Tuesday, September 14, 1999 9:23 PM To: Subject: Re: [lazarus] Lazarus Win32 Colin Laplace wrote: > > Yes, this is why i HATE visual Basic. Btw, when people wants to do a > serious work on Win32, they don't use VB, it's getting very old now > and lacks many features. For coders like the group here, interested in FPC, who use Delphi and code for Linux, etc. etc. etc. I will agree with the above statement. I myself hate VB. However, I am currently doing a contract job for the largest dental supplies distributer in the US writing a complete e-commerce application for use by sales reps and customers. It is being written in VB. We coders, and I consider anyone interested or involved with FPC and Lazarus to be the cream of the crop, would not use VB but we aren't always the people making the decisions. Many times management who barely know how to turn on a computer pick the products used to develop with. VB is a name that they have heard (M$ marketing) and that is what they go with. The place mentioned above has 40 people in the TIS department and would you believe that not one of them had ever heard of Delphi. To make matters worse all but one has NEVER seen Linux. Several have even asked me why would they want to use Linux. This was asked by several who are Unix users. My point of my file size comparison was just to point out that alot of application in the corporate world are written in VB. They deliver at least that minimal file amount that I indicate. If the corporate world doesn't mind doing it for VB they shouldn't have any problem doing 50% fewer files and be able to deliver on 2 platforms at the same time. I have kept track over the last 4 months of how many people, fellow coders and clients, have ever heard of Delphi. In 4 months I found only 1 other person. Just one! I have also learned that pascal is not only not taught in college any more but it isn't even mentioned. When I asked about this I was told that college professors consider pascal to be a dead language and not to be seriously considered. Yet they still promote Visual Basic. Makes you scratch your head, doesn't it!! Well enough of this. Time to get some work done. :-) -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Curtis White
to Ranulf J. Goss

Has anyone changed anything recently in gtkobject.inc or in extctrls.pp that could potentially affect the Notebook component? The reason I ask is that all the sudden the notebook component doesn't work any more and I get the following warning when I compile the lcl code:

customnotebook.inc(303,44) Hint: Parameter not used PARAMS
customnotebook.inc(320,39) Hint: Parameter not used PROC
customnotebook.inc(320,60) Hint: Parameter not used ROOT
customnotebook.inc(341,39) Hint: Parameter not used ACONTROL
timer.inc(105,29) Hint: Parameter not used MSG
Warning: ./extctrls.ppu Interface CRC changed -294228524-1361824228
Assembling extctrls

I don't know if this warning has anything to do with the notebook not working any more or not. I am just trying to figure out what is causing the problem. The problem appears to be when attempting to access the Strings property of a Notebook page. Normally, this sets the name placed on the notebook tab.

The notebook page (TNBPages) inherits from TStrings. The Strings property calls a virtual method called Put. I have Put defined in the customnotebook.inc file. Something has changed within the last few days that caused this method to stop working.

I know it was working several days ago and now it isn't. But I don't know exactly what changed. I did cycle my compiler tonight, including the fcl, rtl, lcl and all the other code. So the problem could be anywhere :-(

If anyone has any ideas that might be able to help me figure this out, please let me know. I have been working on it now for about 3 hours tonight and still haven't found the problem.

Thanks...Curtis

----------------------------------
Curtis White
Curtis White
http://www.teleport.com/~osiriz/
----------------------------------

Reply by email

Jeffrey A. Wormsley
Colin Laplace wrote
Thank you. I know that Lazarus is great for Linux with GTK, but i think

that

many Win32 developers won't like to have to distribute huge runtime libs (not on Linux, gtk is usually installed there). So i'm just curious to

give

a look to it ;-)

Ok. If you'll look in the LCL subdirectory, you'll find a few units whose name start with win32. These are an attempt to map Win32 onto the way GTK works, so as not to disrupt the GTK development. The example hello.pp in the examples directory can be compiled for win32 native, and it displays a form with a button, but the events do not work. To make this under win32, edit the Interfaces.pp file, and change the IFDEF GTK to IFDEF WIN32 (I usually add a space in front of the one to be removed, you'll see when you open the file).

You will notice there is a trememndous difference in the GTK implementation of components than Win32. The biggest difference to me is the lack of a WindProc. My next line of attack was to be the implementation of a TBaseWin32 component to be able to create a unique WindProc for each component, and embed the reference to it in the HWnd using SetProp. Right now there is only one WindProc for the entire application, which is entirely too unwieldy. The TBaseWind32 would have a WinProc method and some default wm_ messages. For each component, I was going to subclass the TBaseWin32 to handle the wm_ messages needed by that component and translate them to LCL LM_ messages. Any OS specific state information needed by the component would be stored there as well.

I am fairly sure this type of implementation would work, I just haven't had time to implement it. If you can think of a better way, or would like to try this, let me know. I hope to be able to put more into it in a couple of weeks.

Jeff.

Reply by email