Re: [[gnomemm] Gnomevfsmm wrapper problems...]



OK. Take a look at cvs. I think it was just that you used a local variable
that was dead almost as soon as it was instantiated. 

Could you clean up the example in cvs and see if you can get it to work?

Cheers.

Bryan Forbes <mxpxfifws yahoo com> wrote:
> Hey gnomemm'ers,
>     After slaving over this for days, I have come to a point where I am
utterly confused.
>  I've been trying to wrap GnomeVFSMonitorHandle and I'm hitting a brick
wall.  I modeled
> it after DirectoryHandle, but I'm having problems with the SignalProxy_
class I have to
> make.  It segfaults at line 58 of the attatched monitor-handle.cc.  If
anyone out there
> knows what to do (Murray??), please help!  I'm pulling my hair out!
> 
> -Bryan
> 
> P.S. To get this to compile into your gnome-vfsmm-2.0 library, just drop
> monitor-handle.[h|cc] into libgnome/libgnomemm/ and modify the Makefile.am
to have those
> two files in its h and cc lists.  If you have any problems, I can provide a
patchfile.
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com

> --------------------------------------------- 
>	Attachment: monitor-handle.h 
>	MIME Type: application/octet-stream 
> --------------------------------------------- 
> --------------------------------------------- 
>	Attachment: monitor-handle.cc 
>	MIME Type: application/octet-stream 
> --------------------------------------------- 
> --------------------------------------------- 
>	Attachment: main.cc 
>	MIME Type: application/octet-stream 
> --------------------------------------------- 


Murray Cumming
murrayc usa net
www.murrayc.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]