Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VAX 1559: Create implemetation regression
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 07 2007 :  09:07:43 AM  Show Profile  Reply with Quote
Try to use create implementation on a Constructor in unmanaged C++.

VS2005, WinXP SP2

The "Create implementation" does not appears in the menu.

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 07 2007 :  2:37:16 PM  Show Profile  Reply with Quote
Are you seeing this problem with all classes? So far I cannot reproduce the problem.

Is there a matching cpp file for the header file you are sitting in? If you press alt-o does anything happen?

zen is the art of being at one with the two'ness
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 07 2007 :  5:17:22 PM  Show Profile  Reply with Quote
My mistake. I looked around, and this problem NOT affecting all classes, and probably NOT a regression.

But the great news is that, I was able to reproduce in a clean new test project. The steps are:

1. Create a new Win32 Project with name vaxtest

2. Paste this code into vaxtest.h:

#ifndef _cDynamicType_H
#define _cDynamicType_H

class cDT_Array;
class cDataView;
class cDataRender;

#include <float.h>

class cDynamicType {
public:
REFLECTION;
	cDynamicType();
};

// extern tRef <cDT_Array> DTArrayHolder;

#endif

3. Create a new header testheader.h

4. Paste this code into testheader.h:

#ifndef _REFLECTION_H
#define _REFLECTION_H

#define REFLECTION \	static void Test1(void) {} \	virtual void Test2(void) {} \	virtual void Test3(int* s, int on, bool externalcall, bool hidden) {}; \	virtual void Test4(int* s, int on, bool externalcall) {}; \	virtual void Test5(void) {}; \	static int Test6(void) \	{ \	static int ClassID = GlobalClassIDCounter++; \	return ClassID; \	}  \	bool IsInstance(int classID) {return false;}

#endif


5. Include this file to the end of the project's stdafx.h

6. Place your mouse over the constructor of the cDynamicType in vaxtest.h

7. You will NOT see Create implementation in the refactoring menu
Go to Top of Page

kevinsikes
Tomato Guru

USA
271 Posts

Posted - Jul 07 2007 :  7:42:33 PM  Show Profile  Reply with Quote
accord,

I followed your instructions to the letter using VA X 1559 in VS2005 SP1 on WinXP SP2. I see Create Implementation when invoking the refactor menu on the cDynamicType constructor. There must be some other configuration issue at work here.

Kevin Sikes
Infotainment Platform Design Engineer
Ford Motor Company
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 08 2007 :  09:08:40 AM  Show Profile  Reply with Quote
quote:
Originally posted by kevinsikes

accord,

I followed your instructions to the letter using VA X 1559 in VS2005 SP1 on WinXP SP2. I see Create Implementation when invoking the refactor menu on the cDynamicType constructor. There must be some other configuration issue at work here.



Can you please try to clear history, cache and temporary files and rebuild symbol databases? Atfer I doing this, the problem always show up.

I also removed an external library from include directories before I rebuilt symbol databases, to make sure that my project is clean.
Go to Top of Page

kevinsikes
Tomato Guru

USA
271 Posts

Posted - Jul 08 2007 :  11:50:54 PM  Show Profile  Reply with Quote
accord,

I cleared history, clicked rebuild symbols, restarted the IDE, loaded the test project, waited for the symbol database to rebuild, and was offered Create Implementation on the cDynamicType constructor again.

Please export your VA X settings from the performance node of the options dialog and post them using the support contact form at http://www.wholetomato.com/support/contact.asp . I'll use your settings to see if I can reproduce the problem.

Kevin Sikes
Infotainment Platform Design Engineer
Ford Motor Company
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 10 2007 :  4:23:23 PM  Show Profile  Reply with Quote
File sent

In this configuration the boost is in my dirs, but I tried to remove, but the same occoured...

Edited by - accord on Jul 10 2007 4:25:07 PM
Go to Top of Page

kevinsikes
Tomato Guru

USA
271 Posts

Posted - Jul 11 2007 :  3:18:39 PM  Show Profile  Reply with Quote
accord,

Using your settings file, I am still able to see the Create Implementation on the cDynamicType constructor. Let's continue our dialog via the support ticket you generated when submitting your file.

Kevin Sikes
Infotainment Platform Design Engineer
Ford Motor Company
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000