On Jul 19, 2006, at 3:54 PM, Rafael Vallejo wrote:

I have this based on the emails you sent.

 dim SomePtr as Ptr
 dim someIntegerValue as Integer
 someIntegerValue=1
 SomePtr=Ptr(someIntegerValue)

And got this error when compiling

Type Mismatch error. Expected Class but got Ptr

Which version of REALbasic are you using? This feature was added in RB 2006r1.

Mars Saxman
REAL Software
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to