Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

renaming (and undoing) in ATL wizards

0 views
Skip to first unread message

Dr. Dad

unread,
Dec 4, 2009, 4:57:01 PM12/4/09
to
Specifically, here's my problem. I developed the skeleton of an ATL in proc
COM server that's supposed to interface to some existing source code (I have
it, but I can't modify much).

Foolishly, I named things in my ATL skeleton with names also defined in the
existing source code my skeleton is supposed to wrap. I defined COM objects
with the same name as C-structs. I get type conflicts. I can't rename the
C-structs.

So, I have two questions:

How can I rename the Objects I created with ATL wizards?

How, in general, does one undo things that an ATL wizard has done?

Usually (and I think here, as well), I have to throw away the project and
start over. Bummer. I really hope someone can give me pointers to an easier
solution.

Igor Tandetnik

unread,
Dec 4, 2009, 5:55:15 PM12/4/09
to
Dr. Dad <Dr...@discussions.microsoft.com> wrote:
> How can I rename the Objects I created with ATL wizards?

The output of ATL Wizard is a bunch of text files. VC IDE comes with a text editor. It can even find and replace text across multiple files.

> How, in general, does one undo things that an ATL wizard has done?

One edits resulting files, or deletes them and reruns the wizard from the beginning.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925

0 new messages