Registering and Calling the Server

Now that I have recompiled the server, I can register it in the system to be able to call it (and also use the new Registered Type Libraries pane of the Delphi IDE). After compiling, you can use the menu command Run | Register ActiveX Server. The first time I did it, it raised the following so-terribly-descriptive error: Unspecified Error. It turns out, if you are running the IDE on Vista with User Account Control (UAC) active, you cannot perform this step as the IDE will not try to elevate the user operation. By running the IDE as administrator, the registration succeeds. Here are the two messages:

Was this article helpful?

0 0
Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook


Post a comment