Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

/clr:oldSyntax to /clr conversion

$
0
0

Hi

I was converting VC++ project from Common Language Runtime Support, Old Syntax (/clr:oldSyntax) to Common Language Runtime Support (/clr). 

1) I got an error saying "error C3699: '*' : cannot use this indirection on type 'System::String' " at ArgOutStringT(CountRef cRef, String**& s, bool Pad = false) line.

What is the new syntax for String**&  in /clr

2) error C3239: 'cli::interior_ptr<Type> *' : pointer to interior/pin pointer is disallowed by the common language runtime 

at int __gc** gcIntCount;

3)  error C3239: 'cli::interior_ptr<T[]> &' : pointer to interior/pin pointer is disallowed by the common language runtime  at

T (__gc* __nogc& outArray) __gc[]; where T is Geniric type


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>