Friday, August 13, 2010

Sneak Peek - COM Registration

The menu items Run | Register ActiveX Server and Run | Unregister ActiveX Server have been changed. There is now one menu item under the Run menu called ActiveX Server with three sub menu items:

Register
Register for Current User
Unregister

Register for Current User will do just as it says. Handy if your IDE is installed on a UAC system or you need to test in an environment that will be running under UAC. The entire COM registration system has been adapted to account for things registered for current users. This means if you register something for current user then go to import it it will show up in the list.

Another handy feature is the above menu items handle local servers. No longer do you have to set the run parameters with /regserver.

tregsvr.exe now has the parameter -s for "Register or unregister for current user".

Thursday, August 12, 2010

More Sneak Peek

Earlier today I posted a list of some of the features new to Delphi XE and C++Builder XE. One oldie by goodie feature is the Install Component wizard:

Sneak Peeks of Delphi XE and C++Builder XE

So it's sneak peek time and there's lots to talk about. I'll post as much as I can over the next few days when I get a chance so things are probably gonna be posted sporadically like now where I'm between builds.

The first obvious thing is the name. Yeah, the name changed.

Oh, almost forgot, I'm also supposed to link to RAD Studio XE Preview and mention that I have been given permission to discuss or show new features of a pre-release version by Embarcadero Technologies.

So the features, because that's what everyone is interested in, right?

SVN version control is now integrated into the IDE. This really is more exciting that it sounds and here's why. ALL the source to it is public! If you use Tortoise or CallabNet then keep using them, just know that you can switch between them using whatever is the most useful. I still use use Tortoise and CallabNet, but I've started using the SVN IDE integration too.

Next we've got regular expressions. A lot of people are probably going to write about them.

There are a couple new RTL functions for creating symlinks that I'll talk about at a later time.

C++ had a major COM change. ATL was replaced by DAX which is pretty slick. You can still use ATL if you desire so more on this later.

COM registration now supports per user registration. I'll have a post on how this works later.

If you do COM then the Registered Type Libraries view is more useful than ever.

The DataSnap wizards have been given a huge facelift making them much easier to use.

That's all I got time for at the moment. Stay tuned for more.