Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Oct : VssApi.dll headers translation. Part 2
| Subject: | VssApi.dll headers translation. Part 2 |
| Posted by: | "ulf honkanen" (ulf_honkanen_nospam@yahoo.com) |
| Date: | Thu, 18 Oct 2007 16:30:50 |
Hello!
I'm trying to translate the headers for vssapi.dll to use the dll with
Delphi. Almost everything is fine and dandy, but when trying to use
"CreateVssBackupComponents", I see that the MSDN entry indicates that the
function is exported as "CreateVssBackupComponentsInternal". This is true in
the Vista version of the dll.
In older versions (Xp and 2003) the funnction was exported as
"?CreateVssBackupComponents@@YGJPAPAVIVssBackupComponents@@@Z" In vista the
function is ALSo present with that name.
Is it "safe" to use GetProcedure Address with that long name, seeing that
the name has not changes in all three versions (only a new alias was added)?
I know nobody can be 100% sure, but is this a safe guess? Why are there a
lot of exported function in this dll with those unfriendly names? Is not an
API supposed to be clear?