Re: I need some help : exception in Type Browser
Morten Andersen <[email protected]>
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Organization | Arosii Information Systems A/S |
| Message-ID | <[email protected]> |
Hi Tanveer and Josh (first, I couldn't spot Tanveers direct mail adress, but I found this, in a "Comments" header in the mail: [email protected], so I assume this is the mail address I should CC to? - I assume CC's disappears in the mails after they have been through the Jawin-mailing list machine?) > Date support might come down to using the jawin stack system and may > require > that you know the number of bytes for a date and pass pointers? Date support have been added recently, and is available by checking out the CVS-head as described here: http://jawinproject.sourceforge.net/jawindeveloper.html About the exact mapping of types from Java to native Variant types: "If you need detailed control of how Jawin converts Java types into native Variants the javadoc for Variant.WriteObject() must be consulted. But please notice that the IDispatch coercion mechanism handles scenarios where the VT_TYPE of a parameter is a not a 100% fit to a method signature or property. Therefore there should not be any problems by setting eg. a property requering unsigned int's with either a long or an int." (from some of the most recent documentation, that is only available in the CVS - docs/jawinuserguide_dispatch.html). >> >> 2. Since the invocation of servlet methods (actually I will be using >> Struts action class which is a type of servlet) is through >> multi-threads, does it means I will have to think about multi-threading >> issues >> (http://jawinproject.sourceforge.net/jawinarchitecture.html#comThreading >> )? >> > > Yes multithreading will certainly be an issue if the VB DLL is not > multithreaded. You might need to consider synchronizing access up front or > using some sort of pooling, > I have updated the documentation on threading issues too, so I will suggest that you re-read section 6 in the jawinarchitecture.html document from the CVS too. Hope this helps you further Best Regards Morten