AccpacSession.GetDependenciesForLanguage
Returns a list of dependent classes based on the current session's Program Name and the specified language code.
Sub GetDependenciesForLanguage(
Language As String,
CodebaseType As tagDistFileType,
CLSIDs() As String,
Codebases() As String)
Parameters
Language
[in] the three-letter language code
CodebaseType
[in] the format of the codebases to retrieve
CLSIDs
[out] returns an array of COM class IDs for the dependent classes
Codebases
[out] returns an array of codebases for the dependent classes
Remarks
The format of the returned items in the Codebases array depends on the value of CodebaseType passed in:
DF_DYNAMIC - Depends on the client's connection. If the client is remote, the codebases are the URLs to the dependent classes' CAB files. If the client is in-process, the codebases are the local paths (including filenames) to the classes' (OCX, DLL or EXE) files.
DF_REMOTE - Codebases are always returned as the URLs to the dependent classes' CAB files.
DF_LOCAL - Codebases are always returned as the local paths (including filenames) to the dependent classes' (OCX, DLL or EXE) files.
To get the dependent classes for the current user's language, use GetDependencies instead.