Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Delphi 7 + source of a program + VCL TEimage?

Posted on 2010-11-13
5
769 Views
Last Modified: 2013-11-23
Alright, here's the deal, my family bought this software source with zero support for how to compile it. Had tons of VCLs to install - which I did, but there's one particular class that I can't quite grasp.
I'm using Delphi 7, and when I open the source it shows it's missing TEImage, TElabel and a few other TExxxx. I find it odd since the standard components are called Timage, Tlabel, etc.

How can I fix this problem, is there such VCL that uses these names?
Thanks.

P.S.: I can post more specific information upon request.
0
Comment
Question by:John86a
5 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 34129811
Those may be a customized descendants from the standard components TImage and Tlabel with additional properties or even could be a fresh class.

This is an example of how others can customize components:

TImage:
http://delphi.about.com/od/vclwriteenhance/a/tpictureclip.htm

You can check this one also for how events / properties could be added to standard components:
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20541583.html
0
 
LVL 32

Assisted Solution

by:ewangoya
ewangoya earned 500 total points
ID: 34131830

Either the vendor did not give all the source code or you have missed to install a component package with those components.

Extending standard delphi components is a common practice amongst delphi programmers.
Try to consult the vendor (If you can)
0
 
LVL 25

Expert Comment

by:epasquier
ID: 34132319
Your best choice is to replace those types with the common types and see what might be missing. If at compile time there are a few properties or events missing, you can post them there and we could try to find out what are they for.

better yet, instead of find/replace in all your code, declare alias types :

Type
 TEImage=TImage;
 TELabel=TLabel;
etc...
0
 
LVL 32

Accepted Solution

by:
ewangoya earned 500 total points
ID: 34133397

Declaring the types might compile but does not guarantee that the implementation is correct.
If some methods were overriden and no properties or public methods were changed for a component, the application would still compile but will not function correctly or as intended.

Even if you add missing properties or methods, you still have no idea of which methods were overriden.

However as epasquier suggests, we could still try to figure out what the missing parts are supposed to do.

But I still gather your best option is try to get the original code

0
 

Author Closing Comment

by:John86a
ID: 34133527
I have contacted the vendor and he gave me the missing custom VCL, now I'm having some trouble installing it, but that's in another post. Thanks.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
LAN or WAN ? 11 95
Dynamically Created Query 3 62
enhance the following code 3 37
Best environment for cross platform web development? 5 52
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question