testd( char *tempd )
tempd = (char*)GlobalAlloc( GPTR, ( ( len + 1 ) * 9 ) );
GetDlgItemText(hwnd, IDC_CHILD_EDIT, tempd, len + 1);
testd( tempd );
i get type mismatch errors when i try to compile the whole code. these are just excerpts or the problemed part of the code
this should be just a normal pointer pass from testd but the proto typeing is wrong. the problem is with the GlobalAlloc
it is the globalallic that is messing this up. i have tryed many ways such as prototypeing it like testd( gptr *tempd ) etc.
and many others suchas testd( (char*)GlobalAlloc *tempd ))
thank you in advance
can you pass to a globalalloc to a function?