You are very correct!
But you see, i am not a professional C programmer, i just make some utilities to make my work life easier. However I need it more and more.
This little project is finished...
Type: Posts; User: alexopth1512
You are very correct!
But you see, i am not a professional C programmer, i just make some utilities to make my work life easier. However I need it more and more.
This little project is finished...
Thanx guys for your help.
malloc(48) was changed for test, i use now sizeof.
everything works fine now, i changed strcpy with strncpy.
Concerning typecast i dont seem to be able to get rid of it,...
OK I solved it.
Problem created by
strcpy(a->s1, "RI");
that preceded the malloc()
Now works like a charm, I ll check the strcpy calls, maybe change them with strncpy
Hi, I am trying to pass data to a .DLL I want to use. DLL accepts this structure for its data.
PTR 01FB317C -> 01EEB208 -> ASCII "DATA0"
018947A0 -> 01F72f30 ->...