Home All Groups Group Topic Archive Search About

Commented codes still affect the program

Author
30 Jun 2009 1:51 AM
Allen
I have a problem; I hope someone can help me.  I have  MS Visual c++
studio.net 2003.  I notice that the compiler is acting up.  If I comment a
block of code (For example if I use // ..or /* .... */), this commented
block can still affecting the program.  I have to delete or cut the whole
block of commented code in order to prevent such effect.  I remember I had
the problem before and someone from this newsgroup helped me to fix it.
If I remember correctly he talked about something like out of Sync.
Thanks.
Allen

Author
30 Jun 2009 7:23 AM
Patrice
Yes, IMO this is just that your last changed doesn't make it into the binary
file... Check for example the date/time of your build to check that it is
current. You likely run not what you just have build but some earlier EXE
file...

--
Patrice


"Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
discussion : A4511929-09EA-4CF7-AF09-9A5DA8ABE***@microsoft.com...
Show quoteHide quote
> I have a problem; I hope someone can help me.  I have  MS Visual c++
> studio.net 2003.  I notice that the compiler is acting up.  If I comment a
> block of code (For example if I use // ..or /* .... */), this commented
> block can still affecting the program.  I have to delete or cut the whole
> block of commented code in order to prevent such effect.  I remember I had
> the problem before and someone from this newsgroup helped me to fix it. If
> I remember correctly he talked about something like out of Sync.
> Thanks.
> Allen
>
>
>
Are all your drivers up to date? click for free checkup

Author
1 Jul 2009 5:27 PM
Allen
Thanks a lot Patrice
Your are right, but there is special procedure to solve this problem.  May
be something has to be done to synchronize the binary and the others files

--
Thanks
Allen
Show quoteHide quote
"Patrice" <http://scribe-en.blogspot.com/> wrote in message
news:O87VIbV%23JHA.2824@TK2MSFTNGP03.phx.gbl...
> Yes, IMO this is just that your last changed doesn't make it into the
> binary file... Check for example the date/time of your build to check that
> it is current. You likely run not what you just have build but some
> earlier EXE file...
>
> --
> Patrice
>
>
> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
> discussion : A4511929-09EA-4CF7-AF09-9A5DA8ABE***@microsoft.com...
>> I have a problem; I hope someone can help me.  I have  MS Visual c++
>> studio.net 2003.  I notice that the compiler is acting up.  If I comment
>> a block of code (For example if I use // ..or /* .... */), this commented
>> block can still affecting the program.  I have to delete or cut the whole
>> block of commented code in order to prevent such effect.  I remember I
>> had the problem before and someone from this newsgroup helped me to fix
>> it. If I remember correctly he talked about something like out of Sync.
>> Thanks.
>> Allen
>>
>>
>>
>
Author
2 Jul 2009 11:54 AM
Patrice
It should just work. Do you have customized your build process ? Do you use
the proper EXE file (debug vs release) in case you don't launch from VS ? Do
you use the proper option on the various file (copy to the output directory)
? Precompiled header issue ? Does it produce this effect regardless of which
source file you have changed ? have you tried to rebuild all and restart
from there ?

A tool such as filemon from sysinternals could allow to check the file
activity and see where it fails or just check the archive (possibly on
google) to see if you find out the previous response you got...

I never had this problem myself...

--
Patrice


"Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
discussion : 7E3FF2CD-737F-4AA5-8B07-ECC827295***@microsoft.com...
Show quoteHide quote
> Thanks a lot Patrice
> Your are right, but there is special procedure to solve this problem.  May
> be something has to be done to synchronize the binary and the others files
>
> --
> Thanks
> Allen
> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
> news:O87VIbV%23JHA.2824@TK2MSFTNGP03.phx.gbl...
>> Yes, IMO this is just that your last changed doesn't make it into the
>> binary file... Check for example the date/time of your build to check
>> that it is current. You likely run not what you just have build but some
>> earlier EXE file...
>>
>> --
>> Patrice
>>
>>
>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>> discussion : A4511929-09EA-4CF7-AF09-9A5DA8ABE***@microsoft.com...
>>> I have a problem; I hope someone can help me.  I have  MS Visual c++
>>> studio.net 2003.  I notice that the compiler is acting up.  If I comment
>>> a block of code (For example if I use // ..or /* .... */), this
>>> commented block can still affecting the program.  I have to delete or
>>> cut the whole block of commented code in order to prevent such effect.
>>> I remember I had the problem before and someone from this newsgroup
>>> helped me to fix it. If I remember correctly he talked about something
>>> like out of Sync.
>>> Thanks.
>>> Allen
>>>
>>>
>>>
>>
>
Author
3 Jul 2009 12:12 AM
Allen
HI Patrice,
I appreciate your efforts.  There is some where we have to go and do some
setting.  I went through this before.

--
Thanks
Allen
Show quoteHide quote
"Patrice" <http://scribe-en.blogspot.com/> wrote in message
news:%23yIWb7w%23JHA.4376@TK2MSFTNGP04.phx.gbl...
> It should just work. Do you have customized your build process ? Do you
> use the proper EXE file (debug vs release) in case you don't launch from
> VS ? Do you use the proper option on the various file (copy to the output
> directory) ? Precompiled header issue ? Does it produce this effect
> regardless of which source file you have changed ? have you tried to
> rebuild all and restart from there ?
>
> A tool such as filemon from sysinternals could allow to check the file
> activity and see where it fails or just check the archive (possibly on
> google) to see if you find out the previous response you got...
>
> I never had this problem myself...
>
> --
> Patrice
>
>
> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
> discussion : 7E3FF2CD-737F-4AA5-8B07-ECC827295***@microsoft.com...
>> Thanks a lot Patrice
>> Your are right, but there is special procedure to solve this problem.
>> May be something has to be done to synchronize the binary and the others
>> files
>>
>> --
>> Thanks
>> Allen
>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>> news:O87VIbV%23JHA.2824@TK2MSFTNGP03.phx.gbl...
>>> Yes, IMO this is just that your last changed doesn't make it into the
>>> binary file... Check for example the date/time of your build to check
>>> that it is current. You likely run not what you just have build but some
>>> earlier EXE file...
>>>
>>> --
>>> Patrice
>>>
>>>
>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>>> discussion : A4511929-09EA-4CF7-AF09-9A5DA8ABE***@microsoft.com...
>>>> I have a problem; I hope someone can help me.  I have  MS Visual c++
>>>> studio.net 2003.  I notice that the compiler is acting up.  If I
>>>> comment a block of code (For example if I use // ..or /* .... */), this
>>>> commented block can still affecting the program.  I have to delete or
>>>> cut the whole block of commented code in order to prevent such effect.
>>>> I remember I had the problem before and someone from this newsgroup
>>>> helped me to fix it. If I remember correctly he talked about something
>>>> like out of Sync.
>>>> Thanks.
>>>> Allen
>>>>
>>>>
>>>>
>>>
>>
>
Author
3 Jul 2009 1:57 AM
Lloyd Sheen
Show quote Hide quote
"Allen" <allen_m***@yahoo.com> wrote in message
news:7AE6B432-8F63-4EA2-8E60-3C309468A03D@microsoft.com...
> HI Patrice,
> I appreciate your efforts.  There is some where we have to go and do some
> setting.  I went through this before.
>
> --
> Thanks
> Allen
> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
> news:%23yIWb7w%23JHA.4376@TK2MSFTNGP04.phx.gbl...
>> It should just work. Do you have customized your build process ? Do you
>> use the proper EXE file (debug vs release) in case you don't launch from
>> VS ? Do you use the proper option on the various file (copy to the output
>> directory) ? Precompiled header issue ? Does it produce this effect
>> regardless of which source file you have changed ? have you tried to
>> rebuild all and restart from there ?
>>
>> A tool such as filemon from sysinternals could allow to check the file
>> activity and see where it fails or just check the archive (possibly on
>> google) to see if you find out the previous response you got...
>>
>> I never had this problem myself...
>>
>> --
>> Patrice
>>
>>
>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>> discussion : 7E3FF2CD-737F-4AA5-8B07-ECC827295***@microsoft.com...
>>> Thanks a lot Patrice
>>> Your are right, but there is special procedure to solve this problem.
>>> May be something has to be done to synchronize the binary and the others
>>> files
>>>
>>> --
>>> Thanks
>>> Allen
>>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>>> news:O87VIbV%23JHA.2824@TK2MSFTNGP03.phx.gbl...
>>>> Yes, IMO this is just that your last changed doesn't make it into the
>>>> binary file... Check for example the date/time of your build to check
>>>> that it is current. You likely run not what you just have build but
>>>> some earlier EXE file...
>>>>
>>>> --
>>>> Patrice
>>>>
>>>>
>>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>>>> discussion : A4511929-09EA-4CF7-AF09-9A5DA8ABE***@microsoft.com...
>>>>> I have a problem; I hope someone can help me.  I have  MS Visual c++
>>>>> studio.net 2003.  I notice that the compiler is acting up.  If I
>>>>> comment a block of code (For example if I use // ..or /* .... */),
>>>>> this commented block can still affecting the program.  I have to
>>>>> delete or cut the whole block of commented code in order to prevent
>>>>> such effect. I remember I had the problem before and someone from this
>>>>> newsgroup helped me to fix it. If I remember correctly he talked about
>>>>> something like out of Sync.
>>>>> Thanks.
>>>>> Allen
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Allen,

    I remember that I had that problem many times on VS 2003.  I have not
used it for years but is there a Clean menu item in the Project menu?  If so
that is what I had to use to get past the problem.

Hope this helps
LS
Author
3 Jul 2009 2:13 AM
Allen
Hi LS,
appreciate you answer,but

You said "is there a Clean menu item in the Project menu? "
I do not understand what you mean.

Please give more details

--
Thanks
Allen
Show quoteHide quote
"Lloyd Sheen" <a@b.c> wrote in message
news:Om2onG4%23JHA.4432@TK2MSFTNGP05.phx.gbl...
>
> "Allen" <allen_m***@yahoo.com> wrote in message
> news:7AE6B432-8F63-4EA2-8E60-3C309468A03D@microsoft.com...
>> HI Patrice,
>> I appreciate your efforts.  There is some where we have to go and do some
>> setting.  I went through this before.
>>
>> --
>> Thanks
>> Allen
>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>> news:%23yIWb7w%23JHA.4376@TK2MSFTNGP04.phx.gbl...
>>> It should just work. Do you have customized your build process ? Do you
>>> use the proper EXE file (debug vs release) in case you don't launch from
>>> VS ? Do you use the proper option on the various file (copy to the
>>> output directory) ? Precompiled header issue ? Does it produce this
>>> effect regardless of which source file you have changed ? have you tried
>>> to rebuild all and restart from there ?
>>>
>>> A tool such as filemon from sysinternals could allow to check the file
>>> activity and see where it fails or just check the archive (possibly on
>>> google) to see if you find out the previous response you got...
>>>
>>> I never had this problem myself...
>>>
>>> --
>>> Patrice
>>>
>>>
>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>>> discussion : 7E3FF2CD-737F-4AA5-8B07-ECC827295***@microsoft.com...
>>>> Thanks a lot Patrice
>>>> Your are right, but there is special procedure to solve this problem.
>>>> May be something has to be done to synchronize the binary and the
>>>> others files
>>>>
>>>> --
>>>> Thanks
>>>> Allen
>>>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>>>> news:O87VIbV%23JHA.2824@TK2MSFTNGP03.phx.gbl...
>>>>> Yes, IMO this is just that your last changed doesn't make it into the
>>>>> binary file... Check for example the date/time of your build to check
>>>>> that it is current. You likely run not what you just have build but
>>>>> some earlier EXE file...
>>>>>
>>>>> --
>>>>> Patrice
>>>>>
>>>>>
>>>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>>>>> discussion : A4511929-09EA-4CF7-AF09-9A5DA8ABE***@microsoft.com...
>>>>>> I have a problem; I hope someone can help me.  I have  MS Visual c++
>>>>>> studio.net 2003.  I notice that the compiler is acting up.  If I
>>>>>> comment a block of code (For example if I use // ..or /* .... */),
>>>>>> this commented block can still affecting the program.  I have to
>>>>>> delete or cut the whole block of commented code in order to prevent
>>>>>> such effect. I remember I had the problem before and someone from
>>>>>> this newsgroup helped me to fix it. If I remember correctly he talked
>>>>>> about something like out of Sync.
>>>>>> Thanks.
>>>>>> Allen
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
> Allen,
>
>    I remember that I had that problem many times on VS 2003.  I have not
> used it for years but is there a Clean menu item in the Project menu?  If
> so that is what I had to use to get past the problem.
>
> Hope this helps
> LS
Author
3 Jul 2009 1:35 PM
Lloyd Sheen
Show quote Hide quote
"Allen" <allen_m***@yahoo.com> wrote in message
news:AA229ED0-4AF9-4649-96F0-DF42F1E5D722@microsoft.com...
> Hi LS,
> appreciate you answer,but
>
> You said "is there a Clean menu item in the Project menu? "
> I do not understand what you mean.
>
> Please give more details
>
> --
> Thanks
> Allen
> "Lloyd Sheen" <a@b.c> wrote in message
> news:Om2onG4%23JHA.4432@TK2MSFTNGP05.phx.gbl...
>>
>> "Allen" <allen_m***@yahoo.com> wrote in message
>> news:7AE6B432-8F63-4EA2-8E60-3C309468A03D@microsoft.com...
>>> HI Patrice,
>>> I appreciate your efforts.  There is some where we have to go and do
>>> some setting.  I went through this before.
>>>
>>> --
>>> Thanks
>>> Allen
>>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>>> news:%23yIWb7w%23JHA.4376@TK2MSFTNGP04.phx.gbl...
>>>> It should just work. Do you have customized your build process ? Do you
>>>> use the proper EXE file (debug vs release) in case you don't launch
>>>> from VS ? Do you use the proper option on the various file (copy to the
>>>> output directory) ? Precompiled header issue ? Does it produce this
>>>> effect regardless of which source file you have changed ? have you
>>>> tried to rebuild all and restart from there ?
>>>>
>>>> A tool such as filemon from sysinternals could allow to check the file
>>>> activity and see where it fails or just check the archive (possibly on
>>>> google) to see if you find out the previous response you got...
>>>>
>>>> I never had this problem myself...
>>>>
>>>> --
>>>> Patrice
>>>>
>>>>
>>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>>>> discussion : 7E3FF2CD-737F-4AA5-8B07-ECC827295***@microsoft.com...
>>>>> Thanks a lot Patrice
>>>>> Your are right, but there is special procedure to solve this problem.
>>>>> May be something has to be done to synchronize the binary and the
>>>>> others files
>>>>>
>>>>> --
>>>>> Thanks
>>>>> Allen
>>>>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>>>>> news:O87VIbV%23JHA.2824@TK2MSFTNGP03.phx.gbl...
>>>>>> Yes, IMO this is just that your last changed doesn't make it into the
>>>>>> binary file... Check for example the date/time of your build to check
>>>>>> that it is current. You likely run not what you just have build but
>>>>>> some earlier EXE file...
>>>>>>
>>>>>> --
>>>>>> Patrice
>>>>>>
>>>>>>
>>>>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>>>>>> discussion : A4511929-09EA-4CF7-AF09-9A5DA8ABE***@microsoft.com...
>>>>>>> I have a problem; I hope someone can help me.  I have  MS Visual c++
>>>>>>> studio.net 2003.  I notice that the compiler is acting up.  If I
>>>>>>> comment a block of code (For example if I use // ..or /* .... */),
>>>>>>> this commented block can still affecting the program.  I have to
>>>>>>> delete or cut the whole block of commented code in order to prevent
>>>>>>> such effect. I remember I had the problem before and someone from
>>>>>>> this newsgroup helped me to fix it. If I remember correctly he
>>>>>>> talked about something like out of Sync.
>>>>>>> Thanks.
>>>>>>> Allen
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>> Allen,
>>
>>    I remember that I had that problem many times on VS 2003.  I have not
>> used it for years but is there a Clean menu item in the Project menu?  If
>> so that is what I had to use to get past the problem.
>>
>> Hope this helps
>> LS
>

I had problems with asp.net in VS 2003 leaving lots of "garbage" although it
never said what exactly it was.  There is a method to "clean" out the files
created in previous builds.  I don't have VS 2003 installed and haven't used
it for years but I remember one service pack added the command to clean the
project getting rid of those files and fixing the problem which seems to
have the source and the execution not in sync.

LS
Author
4 Jul 2009 7:26 PM
Allen
Thank you Lloyd,

I have "clean" on the main menu, but it will not do any good.  I notice
something else.  When building the program and if there is an error, the
pointer on the left margin will point to the wrong line of code.

--
Thanks
Allen
Show quoteHide quote
"Lloyd Sheen" <a@b.c> wrote in message
news:e4KqbM%23%23JHA.2824@TK2MSFTNGP03.phx.gbl...
>
> "Allen" <allen_m***@yahoo.com> wrote in message
> news:AA229ED0-4AF9-4649-96F0-DF42F1E5D722@microsoft.com...
>> Hi LS,
>> appreciate you answer,but
>>
>> You said "is there a Clean menu item in the Project menu? "
>> I do not understand what you mean.
>>
>> Please give more details
>>
>> --
>> Thanks
>> Allen
>> "Lloyd Sheen" <a@b.c> wrote in message
>> news:Om2onG4%23JHA.4432@TK2MSFTNGP05.phx.gbl...
>>>
>>> "Allen" <allen_m***@yahoo.com> wrote in message
>>> news:7AE6B432-8F63-4EA2-8E60-3C309468A03D@microsoft.com...
>>>> HI Patrice,
>>>> I appreciate your efforts.  There is some where we have to go and do
>>>> some setting.  I went through this before.
>>>>
>>>> --
>>>> Thanks
>>>> Allen
>>>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>>>> news:%23yIWb7w%23JHA.4376@TK2MSFTNGP04.phx.gbl...
>>>>> It should just work. Do you have customized your build process ? Do
>>>>> you use the proper EXE file (debug vs release) in case you don't
>>>>> launch from VS ? Do you use the proper option on the various file
>>>>> (copy to the output directory) ? Precompiled header issue ? Does it
>>>>> produce this effect regardless of which source file you have changed ?
>>>>> have you tried to rebuild all and restart from there ?
>>>>>
>>>>> A tool such as filemon from sysinternals could allow to check the file
>>>>> activity and see where it fails or just check the archive (possibly on
>>>>> google) to see if you find out the previous response you got...
>>>>>
>>>>> I never had this problem myself...
>>>>>
>>>>> --
>>>>> Patrice
>>>>>
>>>>>
>>>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>>>>> discussion : 7E3FF2CD-737F-4AA5-8B07-ECC827295***@microsoft.com...
>>>>>> Thanks a lot Patrice
>>>>>> Your are right, but there is special procedure to solve this problem.
>>>>>> May be something has to be done to synchronize the binary and the
>>>>>> others files
>>>>>>
>>>>>> --
>>>>>> Thanks
>>>>>> Allen
>>>>>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>>>>>> news:O87VIbV%23JHA.2824@TK2MSFTNGP03.phx.gbl...
>>>>>>> Yes, IMO this is just that your last changed doesn't make it into
>>>>>>> the binary file... Check for example the date/time of your build to
>>>>>>> check that it is current. You likely run not what you just have
>>>>>>> build but some earlier EXE file...
>>>>>>>
>>>>>>> --
>>>>>>> Patrice
>>>>>>>
>>>>>>>
>>>>>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>>>>>>> discussion : A4511929-09EA-4CF7-AF09-9A5DA8ABE***@microsoft.com...
>>>>>>>> I have a problem; I hope someone can help me.  I have  MS Visual
>>>>>>>> c++ studio.net 2003.  I notice that the compiler is acting up.  If
>>>>>>>> I comment a block of code (For example if I use // ..or /* ....
>>>>>>>> */), this commented block can still affecting the program.  I have
>>>>>>>> to delete or cut the whole block of commented code in order to
>>>>>>>> prevent such effect. I remember I had the problem before and
>>>>>>>> someone from this newsgroup helped me to fix it. If I remember
>>>>>>>> correctly he talked about something like out of Sync.
>>>>>>>> Thanks.
>>>>>>>> Allen
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> Allen,
>>>
>>>    I remember that I had that problem many times on VS 2003.  I have not
>>> used it for years but is there a Clean menu item in the Project menu?
>>> If so that is what I had to use to get past the problem.
>>>
>>> Hope this helps
>>> LS
>>
>
> I had problems with asp.net in VS 2003 leaving lots of "garbage" although
> it never said what exactly it was.  There is a method to "clean" out the
> files created in previous builds.  I don't have VS 2003 installed and
> haven't used it for years but I remember one service pack added the
> command to clean the project getting rid of those files and fixing the
> problem which seems to have the source and the execution not in sync.
>
> LS
Author
4 Jul 2009 9:01 PM
Lloyd Sheen
Show quote Hide quote
"Allen" <allen_m***@yahoo.com> wrote in message
news:F4DECF1B-6072-4418-8CD1-615F5EA903CB@microsoft.com...
> Thank you Lloyd,
>
> I have "clean" on the main menu, but it will not do any good.  I notice
> something else.  When building the program and if there is an error, the
> pointer on the left margin will point to the wrong line of code.
>
> --
> Thanks
> Allen
> "Lloyd Sheen" <a@b.c> wrote in message
> news:e4KqbM%23%23JHA.2824@TK2MSFTNGP03.phx.gbl...
>>
>> "Allen" <allen_m***@yahoo.com> wrote in message
>> news:AA229ED0-4AF9-4649-96F0-DF42F1E5D722@microsoft.com...
>>> Hi LS,
>>> appreciate you answer,but
>>>
>>> You said "is there a Clean menu item in the Project menu? "
>>> I do not understand what you mean.
>>>
>>> Please give more details
>>>
>>> --
>>> Thanks
>>> Allen
>>> "Lloyd Sheen" <a@b.c> wrote in message
>>> news:Om2onG4%23JHA.4432@TK2MSFTNGP05.phx.gbl...
>>>>
>>>> "Allen" <allen_m***@yahoo.com> wrote in message
>>>> news:7AE6B432-8F63-4EA2-8E60-3C309468A03D@microsoft.com...
>>>>> HI Patrice,
>>>>> I appreciate your efforts.  There is some where we have to go and do
>>>>> some setting.  I went through this before.
>>>>>
>>>>> --
>>>>> Thanks
>>>>> Allen
>>>>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>>>>> news:%23yIWb7w%23JHA.4376@TK2MSFTNGP04.phx.gbl...
>>>>>> It should just work. Do you have customized your build process ? Do
>>>>>> you use the proper EXE file (debug vs release) in case you don't
>>>>>> launch from VS ? Do you use the proper option on the various file
>>>>>> (copy to the output directory) ? Precompiled header issue ? Does it
>>>>>> produce this effect regardless of which source file you have changed
>>>>>> ? have you tried to rebuild all and restart from there ?
>>>>>>
>>>>>> A tool such as filemon from sysinternals could allow to check the
>>>>>> file activity and see where it fails or just check the archive
>>>>>> (possibly on google) to see if you find out the previous response you
>>>>>> got...
>>>>>>
>>>>>> I never had this problem myself...
>>>>>>
>>>>>> --
>>>>>> Patrice
>>>>>>
>>>>>>
>>>>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>>>>>> discussion : 7E3FF2CD-737F-4AA5-8B07-ECC827295***@microsoft.com...
>>>>>>> Thanks a lot Patrice
>>>>>>> Your are right, but there is special procedure to solve this
>>>>>>> problem. May be something has to be done to synchronize the binary
>>>>>>> and the others files
>>>>>>>
>>>>>>> --
>>>>>>> Thanks
>>>>>>> Allen
>>>>>>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>>>>>>> news:O87VIbV%23JHA.2824@TK2MSFTNGP03.phx.gbl...
>>>>>>>> Yes, IMO this is just that your last changed doesn't make it into
>>>>>>>> the binary file... Check for example the date/time of your build to
>>>>>>>> check that it is current. You likely run not what you just have
>>>>>>>> build but some earlier EXE file...
>>>>>>>>
>>>>>>>> --
>>>>>>>> Patrice
>>>>>>>>
>>>>>>>>
>>>>>>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>>>>>>>> discussion : A4511929-09EA-4CF7-AF09-9A5DA8ABE***@microsoft.com...
>>>>>>>>> I have a problem; I hope someone can help me.  I have  MS Visual
>>>>>>>>> c++ studio.net 2003.  I notice that the compiler is acting up.  If
>>>>>>>>> I comment a block of code (For example if I use // ..or /* ....
>>>>>>>>> */), this commented block can still affecting the program.  I have
>>>>>>>>> to delete or cut the whole block of commented code in order to
>>>>>>>>> prevent such effect. I remember I had the problem before and
>>>>>>>>> someone from this newsgroup helped me to fix it. If I remember
>>>>>>>>> correctly he talked about something like out of Sync.
>>>>>>>>> Thanks.
>>>>>>>>> Allen
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>> Allen,
>>>>
>>>>    I remember that I had that problem many times on VS 2003.  I have
>>>> not used it for years but is there a Clean menu item in the Project
>>>> menu? If so that is what I had to use to get past the problem.
>>>>
>>>> Hope this helps
>>>> LS
>>>
>>
>> I had problems with asp.net in VS 2003 leaving lots of "garbage" although
>> it never said what exactly it was.  There is a method to "clean" out the
>> files created in previous builds.  I don't have VS 2003 installed and
>> haven't used it for years but I remember one service pack added the
>> command to clean the project getting rid of those files and fixing the
>> problem which seems to have the source and the execution not in sync.
>>
>> LS
>

One other thing you can check is that the source code file is saved when you
compile.  Again I don't have VS 2003 but I think that is an option.  If it
was not on then the compiler (which is only going to deal with saved files)
could be out of sync.

LS
Author
4 Jul 2009 11:02 PM
Allen
Hi LS,

I am pretty sure that the file is saved.  Because any changes that I made
will become valid in the next build.

--
Thanks
Allen
Show quoteHide quote
"Lloyd Sheen" <a@b.c> wrote in message
news:uo1bLqO$JHA.4168@TK2MSFTNGP05.phx.gbl...
>
> "Allen" <allen_m***@yahoo.com> wrote in message
> news:F4DECF1B-6072-4418-8CD1-615F5EA903CB@microsoft.com...
>> Thank you Lloyd,
>>
>> I have "clean" on the main menu, but it will not do any good.  I notice
>> something else.  When building the program and if there is an error, the
>> pointer on the left margin will point to the wrong line of code.
>>
>> --
>> Thanks
>> Allen
>> "Lloyd Sheen" <a@b.c> wrote in message
>> news:e4KqbM%23%23JHA.2824@TK2MSFTNGP03.phx.gbl...
>>>
>>> "Allen" <allen_m***@yahoo.com> wrote in message
>>> news:AA229ED0-4AF9-4649-96F0-DF42F1E5D722@microsoft.com...
>>>> Hi LS,
>>>> appreciate you answer,but
>>>>
>>>> You said "is there a Clean menu item in the Project menu? "
>>>> I do not understand what you mean.
>>>>
>>>> Please give more details
>>>>
>>>> --
>>>> Thanks
>>>> Allen
>>>> "Lloyd Sheen" <a@b.c> wrote in message
>>>> news:Om2onG4%23JHA.4432@TK2MSFTNGP05.phx.gbl...
>>>>>
>>>>> "Allen" <allen_m***@yahoo.com> wrote in message
>>>>> news:7AE6B432-8F63-4EA2-8E60-3C309468A03D@microsoft.com...
>>>>>> HI Patrice,
>>>>>> I appreciate your efforts.  There is some where we have to go and do
>>>>>> some setting.  I went through this before.
>>>>>>
>>>>>> --
>>>>>> Thanks
>>>>>> Allen
>>>>>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>>>>>> news:%23yIWb7w%23JHA.4376@TK2MSFTNGP04.phx.gbl...
>>>>>>> It should just work. Do you have customized your build process ? Do
>>>>>>> you use the proper EXE file (debug vs release) in case you don't
>>>>>>> launch from VS ? Do you use the proper option on the various file
>>>>>>> (copy to the output directory) ? Precompiled header issue ? Does it
>>>>>>> produce this effect regardless of which source file you have changed
>>>>>>> ? have you tried to rebuild all and restart from there ?
>>>>>>>
>>>>>>> A tool such as filemon from sysinternals could allow to check the
>>>>>>> file activity and see where it fails or just check the archive
>>>>>>> (possibly on google) to see if you find out the previous response
>>>>>>> you got...
>>>>>>>
>>>>>>> I never had this problem myself...
>>>>>>>
>>>>>>> --
>>>>>>> Patrice
>>>>>>>
>>>>>>>
>>>>>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe de
>>>>>>> discussion : 7E3FF2CD-737F-4AA5-8B07-ECC827295***@microsoft.com...
>>>>>>>> Thanks a lot Patrice
>>>>>>>> Your are right, but there is special procedure to solve this
>>>>>>>> problem. May be something has to be done to synchronize the binary
>>>>>>>> and the others files
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanks
>>>>>>>> Allen
>>>>>>>> "Patrice" <http://scribe-en.blogspot.com/> wrote in message
>>>>>>>> news:O87VIbV%23JHA.2824@TK2MSFTNGP03.phx.gbl...
>>>>>>>>> Yes, IMO this is just that your last changed doesn't make it into
>>>>>>>>> the binary file... Check for example the date/time of your build
>>>>>>>>> to check that it is current. You likely run not what you just have
>>>>>>>>> build but some earlier EXE file...
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Patrice
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Allen" <allen_m***@yahoo.com> a écrit dans le message de groupe
>>>>>>>>> de discussion :
>>>>>>>>> A4511929-09EA-4CF7-AF09-9A5DA8ABE***@microsoft.com...
>>>>>>>>>> I have a problem; I hope someone can help me.  I have  MS Visual
>>>>>>>>>> c++ studio.net 2003.  I notice that the compiler is acting up.
>>>>>>>>>> If I comment a block of code (For example if I use // ..or /*
>>>>>>>>>> .... */), this commented block can still affecting the program.
>>>>>>>>>> I have to delete or cut the whole block of commented code in
>>>>>>>>>> order to prevent such effect. I remember I had the problem before
>>>>>>>>>> and someone from this newsgroup helped me to fix it. If I
>>>>>>>>>> remember correctly he talked about something like out of Sync.
>>>>>>>>>> Thanks.
>>>>>>>>>> Allen
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> Allen,
>>>>>
>>>>>    I remember that I had that problem many times on VS 2003.  I have
>>>>> not used it for years but is there a Clean menu item in the Project
>>>>> menu? If so that is what I had to use to get past the problem.
>>>>>
>>>>> Hope this helps
>>>>> LS
>>>>
>>>
>>> I had problems with asp.net in VS 2003 leaving lots of "garbage"
>>> although it never said what exactly it was.  There is a method to
>>> "clean" out the files created in previous builds.  I don't have VS 2003
>>> installed and haven't used it for years but I remember one service pack
>>> added the command to clean the project getting rid of those files and
>>> fixing the problem which seems to have the source and the execution not
>>> in sync.
>>>
>>> LS
>>
>
> One other thing you can check is that the source code file is saved when
> you compile.  Again I don't have VS 2003 but I think that is an option.
> If it was not on then the compiler (which is only going to deal with saved
> files) could be out of sync.
>
> LS

Bookmark and Share