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. Error when use IDiskQuotaUser interface.

Error when use IDiskQuotaUser interface.

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
2 Posts 2 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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    Hi all, When I use IDiskQuotaUser->SetQuotaLimit() and ->SetQuotaThreadshold()there are always pop up an error dialog: like this: ////////////////////////// Dubug Error Program:** Modlue: File:i386\chkesp.c Line 42 The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention. Why????????????????????????????????????? And How to resove this problem? I tried to use static dll to build the project but failed for LNK2005 error. also can not resolve the problem. Thanks for help. X|

    L 1 Reply Last reply
    0
    • A Anonymous

      Hi all, When I use IDiskQuotaUser->SetQuotaLimit() and ->SetQuotaThreadshold()there are always pop up an error dialog: like this: ////////////////////////// Dubug Error Program:** Modlue: File:i386\chkesp.c Line 42 The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention. Why????????????????????????????????????? And How to resove this problem? I tried to use static dll to build the project but failed for LNK2005 error. also can not resolve the problem. Thanks for help. X|

      L Offline
      L Offline
      Lakitu
      wrote on last edited by
      #2

      chkesp errors usually have their origins in passing around malicious pointers and/or wrong parameter sizes and counts. In this case it could be the LONGLONG value that's used in those calls. Happened to me once. :omg:

      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