Search:

Type: Posts; User: alexopth1512

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    4,516

    You are very correct! But you see, i am not a...

    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...
  2. Replies
    7
    Views
    4,516

    Thanx guys for your help. malloc(48) was changed...

    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,...
  3. Replies
    7
    Views
    4,516

    OK I solved it. Problem created by ...

    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
  4. Replies
    7
    Views
    4,516

    char** in struct and malloc()

    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 ->...
Results 1 to 4 of 4