From: Takaaki Tateishi Date: 2005-06-09T05:36:32+09:00 Subject: Re: Ruby DL callback function for a windowProc awertyui@gmail.com wrote: > #this is the line that the program stops on. > wndclass.lpfnWndProc = Win32::MY_PROC Create an PtrData object using to_ptr() and assign it to lpfnWndProc as follows. wndclass.lpfnWndProc = Win32::MY_PROC.to_ptr() Regards, -- Takaaki Tateishi