Thursday, January 11, 2007

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.

Tuesday, October 21, 2008 4:28:05 PM (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.
Alek
Name
E-mail
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