Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Does anybody know Delphi?

If so, is it event-driven (like VB)?
Laurel :WAVE:
[60 byte] By [Laurel] at [2007-11-11 8:38:51]
# 1 Re: Does anybody know Delphi?
Yes, lots of people know Delphi. ;-) Yes, it is event-driven, but it's more similar to VB.NET or C#, in that it allows you to see and manipulate the plumbing that makes everything work. VB, on the other hand, hides the details from you; it works by "magic."
Phil Weber at 2007-11-11 17:25:20 >
# 2 Re: Does anybody know Delphi?
Yes, lots of people know Delphi. ;-)

SOMEONE is being a smarty-pants! ;o)

Yes, it is event-driven, but it's more similar to VB.NET or C#, in that it allows you to see and manipulate the plumbing that makes everything work. VB, on the other hand, hides the details from you; it works by "magic."

What "details" does vb hide from you? Give me an example.

Thanks, Phil dear!

L&K,
Laurel
Laurel at 2007-11-11 17:26:20 >
# 3 Re: Does anybody know Delphi?
Well, I'm no Delphi expert, but I know that (as in C# and VB.NET) when you design a form in the form designer, it actually generates code to create the controls and set their properties at runtime. This code is visible in your project; if you modify the code, the changes are reflected in the forms designer and vice-versa. In VB6, on the other hand, the code to generate the controls is hidden from you.
Phil Weber at 2007-11-11 17:27:19 >
# 4 Re: Does anybody know Delphi?
Thank you, Phil! ;)

I'm trying to "HELP" our programmers figure out why we keep getting Access Violations in our program. I'm sure they don't appreciate it! >:[
Laurel at 2007-11-11 17:28:13 >
# 5 Re: Does anybody know Delphi?
Access violations mean the program is trying to access memory that doesn't belong to it. Look for out-of-bounds array references (that is, trying to access the 11th element of a 10-element array) or operations that copy a block of memory into a container that's too small to hold it. It could also be a bug in a third-party component.
Phil Weber at 2007-11-11 17:29:23 >
# 6 Re: Does anybody know Delphi?
Or it could mean there is a security issue with respect to accessing resources.

It would probably help to understand what operation is generating the error.
pclement at 2007-11-11 17:30:18 >
# 7 Re: Does anybody know Delphi?
Thanks, guys!

We get various access violations and it usually happens when we click around too quickly (like clicking on a Report Builder report and then clicking another component of the application). We DON'T seem to get them when we sneak up on the puter and click on something after everything else has loaded.

I wish I could say it was the Report Builder, but it happens in other areas of the app as well.

L&K,
Laurel (who is now leaving for home!)
Laurel at 2007-11-11 17:31:22 >