• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

Unresolved Token delete when writing managed wrapper class

I am new to managed c++.  I am writing a managed wrapper for an unmanaged class.  When I compile I get
error LNK2020: unresolved token (0A00000C) delete
I'm assuming this is referring to the delete in the destructor of the unmanaged class.  How do I get rid of this?
Thanks,
0
kayhustle
Asked:
kayhustle
1 Solution
 
Svetlin_PanayotovCommented:
Just idea - try to use LocalFree() / GlobalFree() instead delete.I had similar problem - but at runtime - and this worked for me.

Svetlin
0
 
kayhustleAuthor Commented:
Still don't know why it wouldn't recognize delete, but I've left points anyway.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now