Hi,
i am trying to convert the webobject extension to UNICODE, but i need some clarification.
1.- There is any SDK for UNICODE?
2.- i have doubt concerning the following functions that use LPSTR,
UpdateFileNames
void WINAPI DLLExport UpdateFileNames(mv _far *mV, LPSTR appName, LPEDATA edPtr, void (WINAPI * lpfnUpdate)(LPSTR, LPSTR))
LoadObject
ImageFilters ____ this one i check and is defined with LPCSTR
GetDebugItem
SetTextFont
GetTextFont
also the menu function as GetConditionString, i check and can be changed
It is a rules that i can change LPSTR to LPTSTR and LPCSTR to LPCTSTR?
3.- The following function belong to Webobject
long WINAPI DLLExport GetTitle(LPRDATA rdPtr, long param1)
{
LPTSTR ret=0;
ret = (LPTSTR)callRunTimeFunction(rdPtr, RFUNCTION_GETSTRINGSPACE, 0, 1024);
rdPtr->rHo.hoFlags |= HOF_STRING;
if(ret)
{
ret = (LPTSTR)WebformTitle(rdPtr->hwebf);
if(ret)
return (long)ret;
}
return (long)_T("");
}
I know for sure that works with LPSTR or char*, but seems not to work with LPTSTR, i am doing something wrong?, does RFUNCTION_GETSTRINGSPACE only works with STR?
Thanks in advance for your help
Regards,
EDIT: Thanks for moving this post, after i submit, i realized that i was in the wrong subject forums, my apologies