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. General Programming
  3. C / C++ / MFC
  4. When i import my DLL showing this error message..

When i import my DLL showing this error message..

Scheduled Pinned Locked Moved C / C++ / MFC
help
7 Posts 5 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.
  • R Offline
    R Offline
    rowdy_vc
    wrote on last edited by
    #1

    Hi Friends... Run-Time Check Failur#0- The value of ESP was not properly saved across as a function call. This is usually a result of calling a function declared with one calling convention with a function pointer with a different calling convention. Thanks 'N' Advance

    *****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )

    R D 2 Replies Last reply
    0
    • R rowdy_vc

      Hi Friends... Run-Time Check Failur#0- The value of ESP was not properly saved across as a function call. This is usually a result of calling a function declared with one calling convention with a function pointer with a different calling convention. Thanks 'N' Advance

      *****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      Thank you for the information.

      R R 2 Replies Last reply
      0
      • R Rajkumar R

        Thank you for the information.

        R Offline
        R Offline
        rowdy_vc
        wrote on last edited by
        #3

        you r welcome ....but how to solve it

        *****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )

        R 1 Reply Last reply
        0
        • R rowdy_vc

          you r welcome ....but how to solve it

          *****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )

          R Offline
          R Offline
          Rajkumar R
          wrote on last edited by
          #4

          rowdy_vc++ wrote:

          how to solve it

          this was not there in your original post. actually the error message is very clear. calling convention used in exe and dll are different for the same function. possibly you declared the function as __stdcall in exe and _cdecl in dll. refer calling convention in msdn. post the declaration of the functions used in exe and dll to get answer.

          modified on Thursday, March 13, 2008 3:09 AM

          1 Reply Last reply
          0
          • R Rajkumar R

            Thank you for the information.

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

            :laugh: You're such a badass, Raj.

            Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

            T 1 Reply Last reply
            0
            • R rowdy_vc

              Hi Friends... Run-Time Check Failur#0- The value of ESP was not properly saved across as a function call. This is usually a result of calling a function declared with one calling convention with a function pointer with a different calling convention. Thanks 'N' Advance

              *****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              So what's the question? :confused: If you are wanting to know how to fix the error message, see here.

              "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

              "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

              1 Reply Last reply
              0
              • R Rajesh R Subramanian

                :laugh: You're such a badass, Raj.

                Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                T Offline
                T Offline
                ThatsAlok
                wrote on last edited by
                #7

                Rajesh R Subramanian wrote:

                You're such a badass, Raj.

                using cursing word in public forum is crime dude ! :-)

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                Never mind - my own stupidity is the source of every "problem" - Mixture

                cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

                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