Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1530: Create Implementation is a Dud

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
swinefeaster Posted - Jul 13 2006 : 2:32:36 PM
It goes to the cpp file and nothing happens. I recorded an avi. Sent it to feline...

Cheers

swine
7   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 12 2006 : 11:20:39 PM
Case 1720 is fixed in build 1532.
feline Posted - Jul 18 2006 : 8:04:13 PM
there should be a bug fix, from an existing case, for loosing parameters on functions flagged with override in the next build, which may help in this case. however the bug i am thinking of was consistent when i tested it, where as this seems to be less so.
swinefeaster Posted - Jul 18 2006 : 4:50:57 PM
sorry i think i put the void there... BTW would be nice to have an option to put in the void or not. i would rather see the void there.

i think the parser is tripping up somewhere and it just stops working... i did this for 4 methods one after another. the first 2 worked, the last 2 didn't
jpizzi Posted - Jul 18 2006 : 02:04:14 AM
This is weird. I try your examples and get different results on the MeasureBetween method. Mine doesn't have the void inside the parenthesis. But for the ConvertBetween method, I get the same as you.

Wonder why the same operation on two seemingly similar methods returns different results?

case=1720
swinefeaster Posted - Jul 17 2006 : 3:21:57 PM
ok, in the header file i have:

// Measures the range / bearing between the two given points.
// The points are in the given GEO_COORD_CLASS_XXX geoCoordClass.
// Returns R_SUCCESS on success, or an SERR_XXX error on failure.
virtual LRESULT MeasureBetween(
WORD geoCoordClass,
const CPointDouble& SourcePoint, const CPointDouble& DestPoint,
double& returnedRangeInMetres, double& returnedBearingInDegrees)
override;


create implementation does:

CGeoCoordConverterInterfaceLocked::MeasureBetween(void)
{

}


or, i have:

// Converts SourcePoint from the given GEO_COORD_CLASS_XXX
// sourceGeoCoordClass, to the given GEO_COORD_CLASS_XXX destGeoCoordClass,
// and puts the result in ReturnedDestPoint.
// Returns R_SUCCESS on success, or an SERR_XXX error on failure.
virtual LRESULT ConvertBetween(
WORD sourceGeoCoordClass, WORD destGeoCoordClass,
const C3dDouble& SourcePoint, C3dDouble& ReturnedDestPoint)const
override;


which generates:

LRESULT
CGeoCoordConverterInterfaceLocked::ConvertBetween(WORD sourceGeoCoordClass,
WORD destGeoCoordClass, const C3dDouble& SourcePoint,
C3dDouble& ReturnedDestPoint)const override
{

}

this is ok except for the override specifier (should be removed in cpp).


thanks!
swinefeaster Posted - Jul 17 2006 : 2:35:21 PM
- removing override didn't help
- i'm using vs2005
- word wrap is on
- i can't seem to reproduce it now... argghhh..

cheers
feline Posted - Jul 15 2006 : 1:59:52 PM
i have the email, and i have watched the movie. however i cannot reproduce the effect, using VS2003 or VS2005. i use Create Implementation a LOT and i have never had it fail like that on me.

i tried typing in the definition in question, but i still cannot reproduce.

can you confirm that you are using VS2003? it looks like it.
do you have word wrap turned on?
do you see this problem with more basic definitions, that fit on one line?
does removing the "override" keyword make any difference? there is a known bug with this and parameters and Create Implementation, but you still get the implementation in that case.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000