|
发表于 2014-3-20 15:34:14
|
显示全部楼层
Hi:
You can not create a reference to TM1 API DLLs from Visual Studio or any other development environment. They aren't that kind of DLL. These API DLLs require you, instead, to declare the functions that you plan to use in TM1API.DLL in your application in order to use them - there are sample C header/VB declaration files provided by IBM to help in this effort. The PATH setting is important so that Visual Studio can locate the DLLs and find the TM1 API functions you've declared.
Unfortunately, there are not very good examples in the TM1 API manuals with Visual Studio.NET, but there are some samples provided by IBM for Visual Basic and C++. You may find some additional information on the TM1 API in the TM1 API manual that may be useful. I'd also suggest searching around on this forum first for "TM1API" or "TM1 API" for additional information and possible examples. This kind of question has come up quite a bit.
Note there is also a Java TM1 API and a .NET TM1 API that may be useful to you as other alternatives, depending on what it is you're trying to do with a TM1 API.
Regards,
Mike |
|