HighTechTalks DotNet Forums  

Heap Corruption with Reg-Free Interop

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss Heap Corruption with Reg-Free Interop in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
zorpox1138@gmail.com
 
Posts: n/a

Default Heap Corruption with Reg-Free Interop - 10-24-2007 , 01:26 PM






Hi,

I'm running into the same problem detailed on this group back in July:

http://groups.google.com/group/micro...684817a2ad3de8

My code works after registering my assembly, but when I unregister it
and integrate the manifest I get the heap corruption issue precisely
as described in the other post.

In that thread, a workaround was mentioned (removing "type="win32"'
from the manifest), but that didn't work for me either. Has anyone
had any success with that workaround? Is there a clear writeup of the
workaround available? Perhaps I'm doing it incorrectly.

It was also mentioned by the MS rep that a hotfix was in the works for
this issue. Does anyone know if there's any progress on this? The
issue doesn't seem to be in the public Knowledge Base, so MS Customer
Support couldn't do anything about it when I contacted them.


Thanks!


Reply With Quote
  #2  
Old   
Meryck
 
Posts: n/a

Default Heap Corruption with Reg-Free Interop - zorpox113 - 10-31-2007 , 01:02 PM






I had exactly the same problem. The workaround worked fine for me.

You have to take the Type="win32" out of the component manifest (embedded in the class library), and out of your local manifest file in the dependent assembly section.

If you don't take it out of both, the app fails to start up.

Good luck!

EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.