How Can We Help?
Upgrading an old Delphi or C++Builder project
First make a backup copy of your project.
There are usually 2 problems when upgrading an old project:
1. a mix between old and new TVidGrab.* and TVidGrab.* binaries. This is very common and prevents upgrading properly. Scan your Delphi search paths or your whole hard-disk for TVidGrab.* and Vidgrab.* files, and move the files you find to a backup folder,
2. the event parameters that are not compatible, for this problem the fastest way is to proceed as follows:
– install the new TVideoGrabber VCL component,
– reopen your project and recompile
– for each error reported on events:
. make a backup copy of the event code
. delete the whole event method/function
. right-click on the form -> view as text -> remove the event method/function name, then right-click ->view as form
. recompile
– once the project compiles without error, from the object inspector, for each event deleted:
. click on the event to make Delphi recreate it (this re-creates the event without code),
. paste in the event method/function the event code you have backed-up