Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Vista annoyance: one step forward, three steps back [SOLVED]

Vista annoyance: one step forward, three steps back [SOLVED]

Scheduled Pinned Locked Moved The Lounge
csharphelpdatabasequestion
35 Posts 14 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Dalek Dave

    Harvey Saayman wrote:

    But the authors are Chinese that no speak engwhish velly goot

    This from a South African! :laugh:

    ------------------------------------ "The production of useful work is strictly limited by the laws of thermodynamics. The production of useless work seems to be unlimited." - Donald E. Simanek

    R Offline
    R Offline
    Rajesh R Subramanian
    wrote on last edited by
    #13

    You're such a heartless bastard. :laugh:

    Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]

    1 Reply Last reply
    0
    • P Priyatam K

      Stop bashing vista for every wrong line of code which someone wrote X| X| PS: Apple rocks!!

      H Offline
      H Offline
      Harvey Saayman
      wrote on last edited by
      #14

      Priyatam K wrote:

      Stop bashing vista

      when they fix it ill stop bashing

      Priyatam K wrote:

      every wrong line of code which someone wrote

      i wrote the app in question, and I didnt write wrong lines of code! Its a simple as hell 100 line console app that calls methods in a DLL. so go sit in the corner and eat your little Apple!

      Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

      you.suck = (you.passion != Programming)

      P 1 Reply Last reply
      0
      • R Rajesh R Subramanian

        DEP existed before Vista as well. But with Vista, the security has been tightened. I usually am not a Vista fanboy, but with this issue of yours, you cannot blame Vista. It actually is trying to protect you from something that is presumably malicious.

        Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]

        H Offline
        H Offline
        Harvey Saayman
        wrote on last edited by
        #15

        i agree, but when it tells me im not allowed to put an app in the exception list without even a reason, thats not cool.

        Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

        you.suck = (you.passion != Programming)

        D 1 Reply Last reply
        0
        • D Dalek Dave

          Harvey Saayman wrote:

          But the authors are Chinese that no speak engwhish velly goot

          This from a South African! :laugh:

          ------------------------------------ "The production of useful work is strictly limited by the laws of thermodynamics. The production of useless work seems to be unlimited." - Donald E. Simanek

          H Offline
          H Offline
          Harvey Saayman
          wrote on last edited by
          #16

          haha, you trying to say there's something wrong with my English? I can like to speak English deliciously! :-D

          Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

          you.suck = (you.passion != Programming)

          D 1 Reply Last reply
          0
          • H Harvey Saayman

            haha, you trying to say there's something wrong with my English? I can like to speak English deliciously! :-D

            Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

            you.suck = (you.passion != Programming)

            D Offline
            D Offline
            Dalek Dave
            wrote on last edited by
            #17

            Harvey Saayman wrote:

            I can like to speak English deliciously

            Tick VG! :)

            ------------------------------------ "The production of useful work is strictly limited by the laws of thermodynamics. The production of useless work seems to be unlimited." - Donald E. Simanek

            H 1 Reply Last reply
            0
            • D Dalek Dave

              Harvey Saayman wrote:

              I can like to speak English deliciously

              Tick VG! :)

              ------------------------------------ "The production of useful work is strictly limited by the laws of thermodynamics. The production of useless work seems to be unlimited." - Donald E. Simanek

              H Offline
              H Offline
              Harvey Saayman
              wrote on last edited by
              #18

              Dalek Dave wrote:

              Tick VG!

              huh?

              Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

              you.suck = (you.passion != Programming)

              D 1 Reply Last reply
              0
              • H Harvey Saayman

                Dalek Dave wrote:

                Tick VG!

                huh?

                Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

                you.suck = (you.passion != Programming)

                D Offline
                D Offline
                Dalek Dave
                wrote on last edited by
                #19

                Tick as is get a tick for a right answer, and VG = Very Good. It is what teachers write on your schoolwork.

                ------------------------------------ "The production of useful work is strictly limited by the laws of thermodynamics. The production of useless work seems to be unlimited." - Donald E. Simanek

                H B 2 Replies Last reply
                0
                • L leppie

                  The external component is writing to unallocated memory. In previous OS's this would go unnoticed. Vista actually protects you against malicious use of this scenario. Turning DEP off wont help in Vista, you will still get an exception (attempting to write to null pointer or something). I suggest you contact the authors of the external DLL and ask them to advise you on getting it to run on Vista or ask them to fix the issues.

                  xacc.ide - now with TabsToSpaces support
                  IronScheme - 1.0 alpha 4a out now (29 May 2008)

                  P Offline
                  P Offline
                  peterchen
                  wrote on last edited by
                  #20

                  leppie wrote:

                  The external component is writing to unallocated memory.

                  Rather, it is trying to run code in memory not allocated with EXECUTE rights.

                  We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                  blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist

                  L 1 Reply Last reply
                  0
                  • R Rajesh R Subramanian

                    DEP existed before Vista as well. But with Vista, the security has been tightened. I usually am not a Vista fanboy, but with this issue of yours, you cannot blame Vista. It actually is trying to protect you from something that is presumably malicious.

                    Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]

                    P Offline
                    P Offline
                    Priyatam K
                    wrote on last edited by
                    #21

                    Rajesh R Subramanian wrote:

                    but with this issue of yours, you cannot blame Vista. It actually is trying to protect you from something that is presumably malicious.

                    I'm also trying to tell the same thing :mad:

                    1 Reply Last reply
                    0
                    • D Dalek Dave

                      Tick as is get a tick for a right answer, and VG = Very Good. It is what teachers write on your schoolwork.

                      ------------------------------------ "The production of useful work is strictly limited by the laws of thermodynamics. The production of useless work seems to be unlimited." - Donald E. Simanek

                      H Offline
                      H Offline
                      Harvey Saayman
                      wrote on last edited by
                      #22

                      now i get it :-O

                      Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

                      you.suck = (you.passion != Programming)

                      1 Reply Last reply
                      0
                      • H Harvey Saayman

                        Priyatam K wrote:

                        Stop bashing vista

                        when they fix it ill stop bashing

                        Priyatam K wrote:

                        every wrong line of code which someone wrote

                        i wrote the app in question, and I didnt write wrong lines of code! Its a simple as hell 100 line console app that calls methods in a DLL. so go sit in the corner and eat your little Apple!

                        Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

                        you.suck = (you.passion != Programming)

                        P Offline
                        P Offline
                        Priyatam K
                        wrote on last edited by
                        #23

                        Wrong lines of code might be in dll. Pro**bab(y)**ly you misunderstood me X| No, thanks. I just had my lunch. X| X|

                        1 Reply Last reply
                        0
                        • P peterchen

                          leppie wrote:

                          The external component is writing to unallocated memory.

                          Rather, it is trying to run code in memory not allocated with EXECUTE rights.

                          We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                          blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist

                          L Offline
                          L Offline
                          leppie
                          wrote on last edited by
                          #24

                          Thanks, I wasnt sure about the exact details :)

                          xacc.ide - now with TabsToSpaces support
                          IronScheme - 1.0 alpha 4a out now (29 May 2008)

                          1 Reply Last reply
                          0
                          • H Harvey Saayman

                            i agree, but when it tells me im not allowed to put an app in the exception list without even a reason, thats not cool.

                            Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

                            you.suck = (you.passion != Programming)

                            D Offline
                            D Offline
                            Daniel Grunwald
                            wrote on last edited by
                            #25

                            Your program is probably marked as /NXCOMPAT[^] (compatible with DEP, the C# compiler does this by default[^]). You can't blame Vista if your program says "I'm fine with DEP" and then isn't.

                            H 1 Reply Last reply
                            0
                            • D Daniel Grunwald

                              Your program is probably marked as /NXCOMPAT[^] (compatible with DEP, the C# compiler does this by default[^]). You can't blame Vista if your program says "I'm fine with DEP" and then isn't.

                              H Offline
                              H Offline
                              Harvey Saayman
                              wrote on last edited by
                              #26

                              Daniel Grunwald wrote:

                              You can't blame Vista if your program says "I'm fine with DEP" and then isn't.

                              no, but i can blame vista for giving me ambiguous error messages that make no sense.

                              Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

                              you.suck = (you.passion != Programming)

                              R 1 Reply Last reply
                              0
                              • H Harvey Saayman

                                Hey guys As some of you might know I've been having issues with Vista not executing a program i wrote, i finally found a work around to that problem, but now Vista is pulling some new stunts! As soon as my app calls the an external DLL(it contains methods to connect and communicate with an external device) the program crashes! I little vista bubble pops up saying "To help protect your computer Data Execution Prevention has closed [program name], click here to learn more." So i click it and find that there is an exception list i can add my app to, i select my app to add it to the list and im greeted with a message box that says "This program must run with Data Execution Prevention (DEP) enabled. You cannot turn off DEP for this program" I dont know anymore, this is really frustrating. :sigh: Does anyone have some suggestions for me? maybe turn DEP off completely? Thanx

                                Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

                                you.suck = (you.passion != Programming)

                                modified on Tuesday, August 26, 2008 5:48 AM

                                C Offline
                                C Offline
                                Christian Graus
                                wrote on last edited by
                                #27

                                fixing your code is a better option than telling your client to turn off DEP. What if their IT won't let them ?

                                Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

                                H 1 Reply Last reply
                                0
                                • H Harvey Saayman

                                  Daniel Grunwald wrote:

                                  You can't blame Vista if your program says "I'm fine with DEP" and then isn't.

                                  no, but i can blame vista for giving me ambiguous error messages that make no sense.

                                  Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

                                  you.suck = (you.passion != Programming)

                                  R Offline
                                  R Offline
                                  Rajesh R Subramanian
                                  wrote on last edited by
                                  #28

                                  The error message was not ambiguous, because the your program (the DLL, possibly?) was compiled with /NXCOMPAT, that tells the operating system that it is tested be compatible with the DEP feature. Therefore, Vista says that this program should be run with DEP turned on. Makes sense to me.

                                  Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]

                                  H 1 Reply Last reply
                                  0
                                  • C Christian Graus

                                    fixing your code is a better option than telling your client to turn off DEP. What if their IT won't let them ?

                                    Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

                                    H Offline
                                    H Offline
                                    Harvey Saayman
                                    wrote on last edited by
                                    #29

                                    hey CG i agree, and disabling DEP is only a quick fix. Its not my code its moaning about, its when i tell the 3rd party DLL to connect to the external device.

                                    Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

                                    you.suck = (you.passion != Programming)

                                    M 1 Reply Last reply
                                    0
                                    • R Rajesh R Subramanian

                                      The error message was not ambiguous, because the your program (the DLL, possibly?) was compiled with /NXCOMPAT, that tells the operating system that it is tested be compatible with the DEP feature. Therefore, Vista says that this program should be run with DEP turned on. Makes sense to me.

                                      Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]

                                      H Offline
                                      H Offline
                                      Harvey Saayman
                                      wrote on last edited by
                                      #30

                                      i was referring to my previous "Vista Annoyance" threads

                                      Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

                                      you.suck = (you.passion != Programming)

                                      1 Reply Last reply
                                      0
                                      • D Dalek Dave

                                        Harvey Saayman wrote:

                                        But the authors are Chinese that no speak engwhish velly goot

                                        This from a South African! :laugh:

                                        ------------------------------------ "The production of useful work is strictly limited by the laws of thermodynamics. The production of useless work seems to be unlimited." - Donald E. Simanek

                                        B Offline
                                        B Offline
                                        Brady Kelly
                                        wrote on last edited by
                                        #31

                                        Why would a South African, by default, not speak good English? It's home language to many of use. :confused:

                                        Daily WTF Memes

                                        1 Reply Last reply
                                        0
                                        • D Dalek Dave

                                          Tick as is get a tick for a right answer, and VG = Very Good. It is what teachers write on your schoolwork.

                                          ------------------------------------ "The production of useful work is strictly limited by the laws of thermodynamics. The production of useless work seems to be unlimited." - Donald E. Simanek

                                          B Offline
                                          B Offline
                                          Brady Kelly
                                          wrote on last edited by
                                          #32

                                          Dalek Dave wrote:

                                          Tick

                                          It's also what they call crystal meth in Cape Town: tik. ;P

                                          Daily WTF Memes

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups