logo       

Win32 functions, structs, constants stubs: msg#00011

windows.devel.jawin

Subject: Win32 functions, structs, constants stubs

I am not sure if this would be useful to anyone at all.. I have Visual J++
and using its J/Direct builder tool I went in and generated the stubs for
all functions, structs, and constants.

Now, the functions are apparently not immediately useful, other than for
having a "ready-made" signature (that I would otherwise have to go and
look for on MSDN and then see how it will convert to Java arguments). The
constants file is pretty big (as one can imagine), and if anyone thinks
that it would be useful, maybe we can come down with a better way of
grouping the constants.

The most useful piece seems to be the structs, since they (most likely)
have the same mapping from C data types to Java data types. So, basically,
now instead of me trying to figure out what the PRINTDLG structure would
look like, and how I would convert all (weird looking) C data types to
Java data types, it's already done (and I could possibly just extend the
class that's already created and just implement the marshal and marshalOut
methods).

If there is an interest towards this and nobody sees any issues with this
, I can sent them in and we can add them to the donations package.

Also, I have a question regarding the donated stubs package - I was
looking on the mailing list and it seemed that someone contributed the
ProcessList class
(http://discuss.develop.com/archives/wa.exe?A2=ind0306D&L=JAWIN&D=0&I=-3&P=689),
but even after I checked it out of CVS, it doesn't seem to be there. If
for nothing else, I did find the examples that are in the donated package
very helpful in learning more about how to make Jawin work.

Regards,

Alex Kotchnev
Developer / Systems Analyst
Diversified Information Technologies

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please
immediately notify the sender by e-mail at the address shown. This e-mail
transmission may contain confidential information. This information is
intended only for the use of the individual(s) or entity to whom it is
intended even if addressed incorrectly. Please delete it from your files
if you are not the intended recipient. Thank you for your compliance.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



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

News | FAQ | advertise