G
Guest
Hi all,
I am porting an code written in VC++ to VC.Net to make it manage. But in
Managed VC we dont use "const" keyboard at all. but my code is using it very
frequently, so is their any alternative to it or we have to remove the
"const" keyword from our code completely. Please suggest me the solution.
Secondly i am getting one error as::
error C4439: 'function_name' : function definition with a managed type in
the signature must have a __clrcall calling convention.
code is::extern "C" __declspec(dllexport) String* APIENTRY function_name(
String* s).
Please help me out from these errors.
Thanks.
I am porting an code written in VC++ to VC.Net to make it manage. But in
Managed VC we dont use "const" keyboard at all. but my code is using it very
frequently, so is their any alternative to it or we have to remove the
"const" keyword from our code completely. Please suggest me the solution.
Secondly i am getting one error as::
error C4439: 'function_name' : function definition with a managed type in
the signature must have a __clrcall calling convention.
code is::extern "C" __declspec(dllexport) String* APIENTRY function_name(
String* s).
Please help me out from these errors.
Thanks.