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. COM
  4. Access Violation in Release of COM+ object in Release Version

Access Violation in Release of COM+ object in Release Version

Scheduled Pinned Locked Moved COM
helpannouncementcomdebugging
3 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
    ameysp
    wrote on last edited by
    #1

    Hi all , I have created an instance of a COM+ component in another component . All works extremely fine in Debug Version but when compiled in Release version , the Release (.Release()) of the component gives an access violation exception . Can anyone please help me solve this problem . Thanks and Best Regards, Amey

    G A 2 Replies Last reply
    0
    • A ameysp

      Hi all , I have created an instance of a COM+ component in another component . All works extremely fine in Debug Version but when compiled in Release version , the Release (.Release()) of the component gives an access violation exception . Can anyone please help me solve this problem . Thanks and Best Regards, Amey

      G Offline
      G Offline
      GuimaSun
      wrote on last edited by
      #2

      Remember you can generate the Release version with debug information, dit you try it ? Cheers GuimaSun www.nexsun.com.br NEXSUN TechZone

      1 Reply Last reply
      0
      • A ameysp

        Hi all , I have created an instance of a COM+ component in another component . All works extremely fine in Debug Version but when compiled in Release version , the Release (.Release()) of the component gives an access violation exception . Can anyone please help me solve this problem . Thanks and Best Regards, Amey

        A Offline
        A Offline
        ameysp
        wrote on last edited by
        #3

        Hi GaimaSun , Ya, tht's the first thing tht i've tried , problem is that there memory corruption somewhere which is getting overlooked in the debug version but as release version optimises memory allocations, its giving an access violation while releasing the inner component . Thinking of using purify for this problem, wht's ur suggesion . thanks for ur response. Best Regards, Amey

        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