amillyard
asked on
Compiler Warning (VS 2008 Pro, C#)
I am getting over x50 of these sort of warning in the compiler (VS 2008 Pro, C#). There are no line numbers to refer too.
How do I address these?
Warning 1
At least one of the arguments for 'SpStreamFormatConverter.G etFormat' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
How do I address these?
Warning 1
At least one of the arguments for 'SpStreamFormatConverter.G
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
"You should be able to double-click on each individual warning (or error) and be taken to the offending place in code. "
Exactly -- that's what I thought and hoping for (that process works where there is a line number indicated -- all these errors have no line number) -- when double clicking nothing happens.
Exactly -- that's what I thought and hoping for (that process works where there is a line number indicated -- all these errors have no line number) -- when double clicking nothing happens.
Did you add a reference to a COM (or native) dll? VS might be having problems trying to resolve line numbers due to the unmanaged memory accesses.
ASKER
Confirming the code does compile and run fine -- just getting the 'warning' messages. Wanted to try and clear all 'warning' message where possible.
ASKER
yes, these are the .dll's and .com's in the reference section (as attached).
VS-references.png
VS-references.png
ASKER
Open in new window