Hi guys,
When I compiled (under "release") my project I came across an error:
My code does have some "__asm" statements, for example:
When I MSDN'ed I found that by using "#pragma unmanaged" solved my problem. Question is this a 'normal' occurrence? To clarify, should I even be using inline assembly? Also, Will this cause future problems, that is, by using mixed managed and unmanaged code will there potentially be crashes?
Thanks for the help guys!
Sabrina
When I compiled (under "release") my project I came across an error:
error C2349: 'WinMain' cannot be compiled using /clr: 'functions containing both copy constructed arguments and inline asm are not supported'; compile without /clr
My code does have some "__asm" statements, for example:
When I MSDN'ed I found that by using "#pragma unmanaged" solved my problem. Question is this a 'normal' occurrence? To clarify, should I even be using inline assembly? Also, Will this cause future problems, that is, by using mixed managed and unmanaged code will there potentially be crashes?
Thanks for the help guys!
Sabrina