Re: compiling dll problem
You're trying to convert a pointer to unsigned char to a pointer to plain char. That doesn't work. Your code is faulty.
Re: compiling dll problem
fred = (unsigned char*)mychar;
something like that cast might help.
Re: compiling dll problem
Bad idea. Never cast unless you know for certain that it's justified. Careless casting away of conversion errors is an extremely bad habit to get into.
Re: compiling dll problem
Fair point, I suggest it only in the absence of any code example that we can make a more informed suggestion upon.
Re: compiling dll problem
@CornedBee
could you help me in compiling?
br
:wave:
Re: compiling dll problem
Help you in compiling?
How about you post the code that makes problems. As you can see from our discussion, our clairvoyance is not quite in tune.