Hi Pritpal,

> Which other method. May be I missed something, please
> repost it.


I've posted three-four times already ;)

PHB_FFIND, hbcurl, hbssl examples, one of these was even own
code posted to you on this list, all the times ignored. I've even
roughly explained it once or twice. BTW I've learned it from Przemek,
from posts here on the list. Anyway the easiest is to pick some
existing code and adapt it. There are plenty now, look for hb_retptrGC().



> <<<
> Surely they are both much more elegant than xhb cstructs,
> as this latter passes binary structures around in _strings_,
> so all it takes is a silly .prg level mistake to corrupt C level
> data.
> >>>
>
> I agree. But in the absense of another way this is the
> only workaround available at the moment.


Yes, but there are other ways.


> <<<
> IMO a better solution would be to recode these in a non-generic
> way (each CALLBACK gets a separate wrapper), instead of
> using this generic callback solution which isn't portable.
> >>>
>
> I am looking into that aspect, though not difficult, may
> be not as efficient as this one is. Windows only sends
> <hWnd> to the wndproc and I need to tie WvgWindow()
> class object with WvgWindow():hWnd. I have an idea. I have
> to make experiments first...


Okay, sounds good.

Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to