|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Commented codes still affect the programI 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 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 > > > 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 -- Show quoteHide quoteThanks 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 >> >> >> > 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 >>> >>> >>> >> > HI Patrice,
I appreciate your efforts. There is some where we have to go and do some setting. I went through this before. -- Show quoteHide quoteThanks 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 >>>> >>>> >>>> >>> >> >
Show quote
Hide quote
"Allen" <allen_m***@yahoo.com> wrote in message Allen,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 >>>>> >>>>> >>>>> >>>> >>> >> > 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 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 -- Show quoteHide quoteThanks 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
Show quote
Hide quote
"Allen" <allen_m***@yahoo.com> wrote in message I had problems with asp.net in VS 2003 leaving lots of "garbage" although it 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 > 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 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. -- Show quoteHide quoteThanks 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
Show quote
Hide quote
"Allen" <allen_m***@yahoo.com> wrote in message One other thing you can check is that the source code file is saved when you 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 > 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 Hi LS,
I am pretty sure that the file is saved. Because any changes that I made will become valid in the next build. -- Show quoteHide quoteThanks Allen "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
Other interesting topics
Web Deployment Project - Publish?
Displaying a generated picture in MS Word Localization issue with master page. Image does not fit correctly in a div frame Multiple Select commands Boundfield display value How to get an https url when using Forms and Default login redirect How to write metainformation in asp.net dll Can't get started with this JavaScript am I doing this correctly? |
|||||||||||||||||||||||