L
Lloyd Dupont
from some ManagedC++ code I'm writing I would like to call a function like
that
void myfunction(wchar_t*, unsigned);
I would like to avoid attribute, particularly as I import the header, there
are plenty of custom types and function and it's much more easy to just call
the function (otherwise I rather code in C#, in fact...)
I though I could just
wchar_t* buf = alloc(n * sizeof(wchar_t))
for(...)
{
// copy char 1 by 1
}
bur certainly there is a faster version?
involving some memcpy, maybe internally to the StringBuilder?
that
void myfunction(wchar_t*, unsigned);
I would like to avoid attribute, particularly as I import the header, there
are plenty of custom types and function and it's much more easy to just call
the function (otherwise I rather code in C#, in fact...)
I though I could just
wchar_t* buf = alloc(n * sizeof(wchar_t))
for(...)
{
// copy char 1 by 1
}
bur certainly there is a faster version?
involving some memcpy, maybe internally to the StringBuilder?