Quote:
> I am wondering if it is possible to create an anonymous object call in
> C++.NET the same way we can do in C# for example:
> returnval = new ShareObjectStrProc (ConnStr).MapObjects (ShareEnum,
> ParaList); // code in c#
> ????? // in C++.NET
Hello again!
Remember that 'new' returns a pointer, so you need to use the -> operator.
(new ShareObjectStrProc(ConnStr))->MapObjects(ShareEnum, ParaList);
Hope that helps... Cheerio!
--
Brandon Bray Visual C++ Compiler
This posting is provided "AS IS" with no warranties, and confers no rights.