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. Yeah, it's got an API.

Yeah, it's got an API.

Scheduled Pinned Locked Moved The Lounge
helpquestionsysadminalgorithmsjson
8 Posts 6 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.
  • F Offline
    F Offline
    FyreWyrm
    wrote on last edited by
    #1

    We have a process at work that interfaces with some third-party software through that software's "API" (and I am using that term loosely). The nature of the interaction is we send LOTS of data to the software and it does some transformations, sorting and accuracy checking, then returns the final list. Sometimes this software encounters some errors. Ok, you would think the API would return an error back to the calling program. Nope! Instead it pops up a Windows Error Message dialog box. This process is completely automated, running as its own user on the server. Nobody is ever alerted that there's a problem. We had to code in a timer in the calling app and if we don't get the output back within 30 minutes we abort the process. Yesterday this scenario occurred, so today I'm sitting here running this 6-hour long process manually under my user account babysitting it looking for the error popup so I can click "ok". There's no reason for the popup, if the software encounters an error in the data, it removes that data entry from the set. Why does it need to popup a box telling the user it found an error?

    Don't blame me. I voted for Chuck Norris.

    P L A D 4 Replies Last reply
    0
    • F FyreWyrm

      We have a process at work that interfaces with some third-party software through that software's "API" (and I am using that term loosely). The nature of the interaction is we send LOTS of data to the software and it does some transformations, sorting and accuracy checking, then returns the final list. Sometimes this software encounters some errors. Ok, you would think the API would return an error back to the calling program. Nope! Instead it pops up a Windows Error Message dialog box. This process is completely automated, running as its own user on the server. Nobody is ever alerted that there's a problem. We had to code in a timer in the calling app and if we don't get the output back within 30 minutes we abort the process. Yesterday this scenario occurred, so today I'm sitting here running this 6-hour long process manually under my user account babysitting it looking for the error popup so I can click "ok". There's no reason for the popup, if the software encounters an error in the data, it removes that data entry from the set. Why does it need to popup a box telling the user it found an error?

      Don't blame me. I voted for Chuck Norris.

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      Maybe this[^] would help? Can it be run under the same user as the "API"?

      R F 2 Replies Last reply
      0
      • P PIEBALDconsult

        Maybe this[^] would help? Can it be run under the same user as the "API"?

        R Offline
        R Offline
        Rama Krishna Vavilala
        wrote on last edited by
        #3

        Yes I use something similar too from a windows service. :)

        1 Reply Last reply
        0
        • P PIEBALDconsult

          Maybe this[^] would help? Can it be run under the same user as the "API"?

          F Offline
          F Offline
          FyreWyrm
          wrote on last edited by
          #4

          It might, thanks. The ultimate solution is to switch to a better solution. There have already been rumors about switching to a different software package for this. Normally during the week this isn't a problem as our app sends off an email as soon as something fishy has happened. Yesterday was Saturday though and I wasn't in the office to get the email.

          Don't blame me. I voted for Chuck Norris.

          1 Reply Last reply
          0
          • F FyreWyrm

            We have a process at work that interfaces with some third-party software through that software's "API" (and I am using that term loosely). The nature of the interaction is we send LOTS of data to the software and it does some transformations, sorting and accuracy checking, then returns the final list. Sometimes this software encounters some errors. Ok, you would think the API would return an error back to the calling program. Nope! Instead it pops up a Windows Error Message dialog box. This process is completely automated, running as its own user on the server. Nobody is ever alerted that there's a problem. We had to code in a timer in the calling app and if we don't get the output back within 30 minutes we abort the process. Yesterday this scenario occurred, so today I'm sitting here running this 6-hour long process manually under my user account babysitting it looking for the error popup so I can click "ok". There's no reason for the popup, if the software encounters an error in the data, it removes that data entry from the set. Why does it need to popup a box telling the user it found an error?

            Don't blame me. I voted for Chuck Norris.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Appaling Program Interface?

            Join the cool kids - Come fold with us[^]

            F 1 Reply Last reply
            0
            • L Lost User

              Appaling Program Interface?

              Join the cool kids - Come fold with us[^]

              F Offline
              F Offline
              FyreWyrm
              wrote on last edited by
              #6

              That pretty much sums it up.

              Don't blame me. I voted for Chuck Norris.

              1 Reply Last reply
              0
              • F FyreWyrm

                We have a process at work that interfaces with some third-party software through that software's "API" (and I am using that term loosely). The nature of the interaction is we send LOTS of data to the software and it does some transformations, sorting and accuracy checking, then returns the final list. Sometimes this software encounters some errors. Ok, you would think the API would return an error back to the calling program. Nope! Instead it pops up a Windows Error Message dialog box. This process is completely automated, running as its own user on the server. Nobody is ever alerted that there's a problem. We had to code in a timer in the calling app and if we don't get the output back within 30 minutes we abort the process. Yesterday this scenario occurred, so today I'm sitting here running this 6-hour long process manually under my user account babysitting it looking for the error popup so I can click "ok". There's no reason for the popup, if the software encounters an error in the data, it removes that data entry from the set. Why does it need to popup a box telling the user it found an error?

                Don't blame me. I voted for Chuck Norris.

                A Offline
                A Offline
                Andy Brummer
                wrote on last edited by
                #7

                I used to work with something like that, it was called VB6. :-D

                Curvature of the Mind

                1 Reply Last reply
                0
                • F FyreWyrm

                  We have a process at work that interfaces with some third-party software through that software's "API" (and I am using that term loosely). The nature of the interaction is we send LOTS of data to the software and it does some transformations, sorting and accuracy checking, then returns the final list. Sometimes this software encounters some errors. Ok, you would think the API would return an error back to the calling program. Nope! Instead it pops up a Windows Error Message dialog box. This process is completely automated, running as its own user on the server. Nobody is ever alerted that there's a problem. We had to code in a timer in the calling app and if we don't get the output back within 30 minutes we abort the process. Yesterday this scenario occurred, so today I'm sitting here running this 6-hour long process manually under my user account babysitting it looking for the error popup so I can click "ok". There's no reason for the popup, if the software encounters an error in the data, it removes that data entry from the set. Why does it need to popup a box telling the user it found an error?

                  Don't blame me. I voted for Chuck Norris.

                  D Offline
                  D Offline
                  Dave Parker
                  wrote on last edited by
                  #8

                  It's not the only one, I've had to work with shit 3rd party software like that as well. You can probably use FindWindow etc functions to look for the window handle read the text and then programatically click the right buttons etc if it's always the same kind of thing.

                  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