On Mon, 5 Apr 1999, Tom Zerucha wrote:
> I have a program that I might want to preend the code resource to more
> than one application, so there might be several with names CAAA, CAAB,
> CAAC, etc.
>
> How can I tell what "my" creator ID or name is? (sort of like argv[0]).
>
> (I tried getting the local id of the handle of code 1, but that didn't
> work).
I've wanted this on occassion, and I agree it would be handy. As far as I
know, the database name and creator code aren't available to your source.
I'd expect some sort of run-time trick would let you retrieve them: we'll
need to figure out what database the current application is running from,
and then look up the information for that database. Maybe there is a "top"
or "last" -opened database field sitting around somewhere?
--
Kenneth Albanowski ([EMAIL PROTECTED], CIS: 70705,126)