G
Guest
In an example program there is the code:
u_char xdata * data_buf = 0x7000; // Location of received_buffer
When I want to compile the program it gives the error "impossible type
conversion". If I delete the 0x7000 part then it is fine, but then the
pointer "data_buf" in "recv(s, data_buf, len);" does not work any more.
Any one who can help me..? Especially with the * sign.
u_char xdata * data_buf = 0x7000; // Location of received_buffer
When I want to compile the program it gives the error "impossible type
conversion". If I delete the 0x7000 part then it is fine, but then the
pointer "data_buf" in "recv(s, data_buf, len);" does not work any more.
Any one who can help me..? Especially with the * sign.