logo       

Re: JAWIN generated code: msg#00019

windows.devel.jawin

Subject: Re: JAWIN generated code

Warren Sweetman wrote:

Hi,

I have used the Jawin Type Browser generation utility to generate the necessary
stubs for a VB dll. I have looked at the generated code and found several
generated methods commented out.

/**
*

* @return void
**/
/*public void QueryInterface(Object[] riid,void[]
[] ppvObj) throws COMException
{

invokeN("QueryInterface", new Object[] {riid, ppvObj});

}*/

Can anybody shed some light as to why this code has been commented out?

thank you for your assistance.



Notice in
http://cvs.sourceforge.net/viewcvs.py/jawinproject/jawin/stylesheets/codegen/jawin/dispatch.xsl?view=markup
the comment-out template causes a number of base class functions to be
commented out. You can change this list if you have need. I believe
the QueryInterface is available by other Jawin marshaling but not
certain. Currently the marshaling needs work. I'm interested in
creating an all new marshaling based on java.nio. I've worked out for
basic primitive dispatch argument lists. But there is much to be done.
If anyone has examples of a generic C callback for tieing into the
vtable with a the same generic function, let me know. I've also started
work on a JAWT based org.jawin.OleControl for visual COM components. If
anyone has COM examples or know the MS document location of some good
examples of handling callbacks and events from keyboard and mouse
without the code generated by VC++ let me know.


***********************************************************************************
Disclaimer

This email (and any attachment(s)) is private and intended solely for the use
of the individual or entity to whom they are addressed. Its unauthorised use,
disclosure, storage or copying is not permitted. If you are not the intended
recipient please destroy all copies and inform the sender by return e-mail.

Internet e-mail is not a secure medium, as messages can be intercepted and read
by someone else. Please bear this in mind when deciding whether to send
information by e-mail. Postal addresses for the Legal Services Commission are
available from http://www.legalservices.gov.uk/aboutus/regions/regions.asp

The Legal Services Commission reserves the right to monitor, record and retain
any incoming and outgoing emails for security reasons and for monitoring
internal compliance with the Legal Services Commission policy on staff use.
Email monitoring and/or blocking software may be used and email content may be
read. You have a responsibility to ensure laws are not broken when writing or
forwarding emails and their contents. No contracts can be entered into on our
behalf by email.

Any views or opinions expressed are solely those of the author and do not
necessarily represent those of the Legal Services Commission.

The Legal Services Commission checks all mails and attachments for known
viruses; however, you are advised that you open any attachments at your own
risk.
***********************************************************************************






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise