hi Matt,
you have not mis-interpreted my question. Later i will test with that new struct, and with the array references you suggested.
bye.
Adiós.
Adéu.
a10.
hi all,
if i want to use pointers inside shared memory, how do i have to get and attach it. For example...
struct shm {
int *numbers;
int i1;
int i2;
int i3;
} *pshm;
Say i have N numbers to put into the array, then...
IDshm = shmget(KEY, (4*N)+4+4+4, IPC_CREAT | 0666)...
hi all,
Can i control the position of a scroll bar in an editable text area to show different parts of the text at different moments?.
Warmest regards.
saludos.
salutacions.
a10.
hi,
i've done LPSTR pstr = str.GetBufferSetLength(/*length_of_text_file*/); and it doesn't need to ReleaseBuffer().
But the new line char problem is still there...
thanx.
gracias.
gràcies.
a10.
hi,
the static text hasn't multiline nor scrolling properties, that's what class wizard say. It's only allowed with editable text and i have already done this. I can scroll the edit control but there are no new line characters.
That's the reason i want to use the static text, because it displays...
lo,
now i can use CString for buffering (thanks John).
That let me realize that the problem is in the text area.
If i use static text everything works well, but if i use editable text area the new line character is replaced by a vertical black bar symbol, and the text is not displayed well.
The...
When i try to put some text from char* to CString, the newline character becomes a black vertical tab. So i can't see correctly the text i've read from a file and displayed in a text area. For some reasons i need to use char* instead of CString for buffering, and i need to use CString as text...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.