Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Why Is This Struct Not Leaving its old members after compilation

RIGHT_THENRIGHT_THEN Member Posts: 154
GentleMen,
I Need An Answer TO this Problem As Early as now!!!

I Made A Structure Like This

[code]
struct WhenUpArrowedPARAMS
{
struct ExtraInformation *UpArrow ;
TEXTMETRICS *UpArrowedTm ;
struct EditorsDetail *AboutEditor ;

};
[/code]
Function Which is using This is protoyped defined and declared as

[code]
int WhenUpArrowed ( struct WhenUpArrowedPARAMS *ThisFuncsPARAMS );
[/code]

now the problem is i changed the names of the members of the
structure like this
[code]
struct WhenUpArrowedPARAMS
{
struct ExtraInformation *WindInfo ;
TEXTMETRICS *UpArrowedTm ;
struct EditorsDetail *EdDetailsForUpArrow ;

};
[/code]
i re-compiled it , Rebuilt the whole Project and but still
while inside the function "WhenUpArrowed"() in Vc++6 editor
[code]
int WhenUpArrowed ( struct WhenUpArrowedPARAMS *ThisFuncsPARAMS )
{
..........
ThisFuncsPARAMS-> recognises "UpArrow" and what was in it Whereas
now it should recognize "WindInfo"
as you can see i have changed it in the defination
of the structure
...........
return 0 ;
}
[/code]

i have checked it in the header file to see if i had
done multiple defination somewhere and .cpp file but i find no duplicates i used the search tool of the vc++6 for that but
found no duplcate or ambiguous statement for this.so why is it
happening these sort of non-logicall things waste so much of time
please Give yourself the tension to find me the reason of this

Thankyou! :-(


Comments

  • AsmGuru62AsmGuru62 Member Posts: 6,519
    [blue]Did you try to use 'Build All' command?[/blue]
  • RIGHT_THENRIGHT_THEN Member Posts: 154
    : [blue]Did you try to use 'Build All' command?[/blue]
    In My COmpiler It Is Called Rebuild All and i have tried it
    Problem Still Stands
    Thanks

  • AsmGuru62AsmGuru62 Member Posts: 6,519
    : : [blue]Did you try to use 'Build All' command?[/blue]
    : In My COmpiler It Is Called Rebuild All and i have tried it
    : Problem Still Stands
    : Thanks
    :
    :
    [blue]What compiler?[/blue]
  • RIGHT_THENRIGHT_THEN Member Posts: 154
    [blue]What compiler?[/blue]
    Sir
    My COmpiler Is vc++6 and i have found a soulution
    to my problem .I deleted all the files except for .h and .cpp
    .dsw(workspace) and .dsp(project) from the folders of my
    Programm and then recompiled and rebuilt it.
    Now it is working.So Thanks for your Time

Sign In or Register to comment.