On 09/02/2014 at 15:34, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13,14,15
Platform: Windows ;
Language(s) : C++ ;
---------
Ok, I am going from VS 2010 to VS 2012. As far as I understand, this is ok with regard to the binaries created, it is first when I want to go to VS 2013 things happen, right?
Well, forget about 2013 at this moment.
I had expected a few hassles and snags, I can live with that. But this, which I will describe below, is more than I can understand, even if I try very hard:
BaseObject* bar FooBar::GetBarFromFoo(BaseTag* foo)
{
return foo->GetObject();
}
This code works just fine all over my plugin, but not in this very class. All classes I have stem from TagData. If I put the cursor over GetObject(), and press F12, it hops to the definition all right. And Code Completion suggests GetObject() as it should, but Intellisense complains.
I really wonder why this happens!!
What I did, was to create a helper class, with just the purpose to solve this stupid error. With the same code in this helper class. And in this helper class, it works fine, I can build the project. But hey - I want to find out about this, what on earth is going on?!?
Edited:
The problem is gone..
I have no idea why this hapoened, apart from one fact: I tried the Visual Leak detector http://vld.codeplex.com/
And a lot of things suddenly doesn't work anymore.