I think that I have found your problem. In an older version of the SDK
(version 2.0 for the desktop for example) there was a type in the
declaration of the MSG_VIS_TEXT_CREATE_TRANSFER_FORMAT. It specified the
return type as:
VMBlockhandle
instead of
VMBlockHandle
Note the capitalization difference. You should be able to fix this error
in your SDK's header file.
Hope this helps.
Ryan
On Fri, 9 Aug 1996 Nfiedler@aol.com wrote:
> Here is the line causing the expression syntax error:
>
> *vmBlock_p = @call textOD_p::MSG_VIS_TEXT_CREATE_TRANSFER_FORMAT(
> NullHandle, scrapFile_p,
> 0, TEXT_ADDRESS_PAST_END, 0 );
>
> It is definitely the NullHandle that is causing the error, since I can put
> the parameters on separate lines and the line with NullHandle is the one that
> gets the error.
>
> By the way, this is what GOC did to that line causing the error:
>
> *vmBlock_p =
> ((VMBlockhandle(*)(VMBlockHandle,VMFileHandle,word,dword,dword,word,optr,Messa
> ge,word))&CObjMessage)(NullHandle, scrapFile_p, 0, TEXT_ADDRESS_PAST_END, 0,
> 0x8000, textOD_p, (Message)18499,
> 0x6100+((0+(sizeof(VMBlockHandle)+1)/2+(sizeof(VMFileHandle)+1)/2+(sizeof(word
> )+1)/2+(sizeof(dword)+1)/2+(sizeof(dword)+1)/2)*2));
>
> Nathan
>
>