I created a dll function by using C++.

DLLFUNC var CreateUser();
What the function does his that it create a char dynamic array and then store that char dynamic array into a file.

another funtion

DLLFUNC const STRING* LoadUserName( );

I Created a char dynamic array.


I created STATIC STRING object.
Set all member to 0;
Except the member chars, I assign a dynamic array and also the same thing for link.name
set the length member to the size of my dynamic array.


Then read the char array from the same file and then assign that array to a STATIC STRING stucture object. Then the function return a STRING *.

I can see the string literal on my computer screen that I created by these functions but the string is blinking on the first character of my string.

I don't understand.
Please help me!!!!!

Last edited by MasterC; 05/21/06 05:21.