Hello,
Ok this is what I did:
using System;
using System.Collections.Generic;
using System.Text;
using EA;
namespace EAReportGenerator {
class Program {
static void Main(string[] args) {
Program program = new Program();
program.runReport(args[0], args[1], args[2]);
}
// arg0 "C:\\Source\\BaseLibraries\\Documentation\\BaseLoggingLibrary.EAP"
// arg1 "Model" {0F14A2A8-0BD4-46f9-A6EA-00C433C05F61}
// arg2 "C:\\temp\BaseLibraries"
public void runReport(String arg0, String arg1, String arg2) {
EA.Repository r = new EA.RepositoryClass();
EA.Project project;
r.OpenFile(arg0);
project = r.GetProjectInterface();
try {
project.RunHTMLReport(arg1, arg2, "GIF", "<default>", ".html");
} catch (Exception e) {
Console.Out.Write(e.Message);
}
r.CloseFile();
r.Exit();
}
}
}
It appears that I am opening my repository file.
In the debugger I see it initialized and no exceptions.
However, when I try the project.RunHTMLReport() method it does not generate the report.
I don't really know what I should use for the PackageGUID.
Sorry for the obtuse questions but the docs are not very clear on how to obtain this information.
Or maybe I can't read

Jerry