Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Empty parameter using C++ --> OpenCatalog/Ex

Status
Not open for further replies.

oldhenry

Programmer
Sep 2, 2003
2
DE
Hi out there !
Does anybody know how to use "opencatalog" / "opencatalogEx"
with C++ using Impromptu as a com-server ?
I got to use parameters AccmanSignonName + AccManPassword,
(which are parameter 8 & 9)
but not "DistributedCopyFilePath", as our catalog isn't distributed.

Using
pAppAuto->OpenCatalogEx (strKatalog,pD1,pDummy,pDummy,pDummy,"0", (char *)NULL,pUser,pPassword);
will result in an exception, telling me that because of the
"non distributed catalog" parameter 7 is not allowed.

So, the problem is how to tell impromptu that the 7th parameter isn't there.

Thanks a lot

Oldhenry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top