VS 2005 Pain Solved!

As it turns out, If you define and implement your whole class/structure in a .h file a consumer needs to mark it #pragma unmanaged.  If you don't delete will get confused and issue the errors i received from my earlier post.

Comments [1]
Tuesday, 21 October 2008 16:28:05 (Pacific Standard Time, UTC-08:00)
Hi, I am using vc++ 2005 express edition and having the same problem. It occurs with delete calls. I made a very simple class holding just one field member type (char *). Then I did delete on the my class object and exactly the same problem came up! I then added the #pragma unmanaged to my class but still the same problem. What should I do? Thnks for any help.
All comments require the approval of the site owner before being displayed.
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview