Thanks for the reply ..
WF_LIST_WORKUNIT_FE array of structure is sent as an OUT param in one of the RPC..
Im allocating a memory...
I have the following Structure
typedef struct wf_list_workunit_fe
many problems are solved thank so much for shaing ur knowledge and cleaing my doubts .. Sorry for not being active on the post
memset is done to initialize it to '\0' . strcpyDCE takes 30 s that the maximum allocated bytes to be copied is 30 only ,
for normal char* i used to allocate memory like
char *dce_sTabName = (char *)malloc(strlen(sTabName.c_str())+1);
auto_ptr<SYS_CORRESP_STRUCT> p_str_Corresp = new (SYS_CORRESP_STRUCT);
declaration throws an error that
SYS_CORRESP_STRUCT*' could not be...
record_type is a member of a structure SYS_CORRESP_STRUCT and is a char array.
where as recordType which comes from Java Front END is defined...
This is what I have
auto_ptr<SYS_CORRESP_STRUCT> p_str_Corresp = new (SYS_CORRESP_STRUCT);...
Im not sure how to use auto ptr to allcoate a memory for a structure .
In our application the values that are sent from FRONT end( Java) are stored in a C++ Structure on Unix box and then a remote...
Separate names with a comma.