Re: Microsoft J# Browser Controls Question



"Jason Chu" <JasonChu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:741A7626-AF45-4C86-8AAA-9593FD767FEF@xxxxxxxxxxxxxxxx
>I have a java applet, that by using JNI, allows u to use a scanner through
>a
> c++ built dll with twain.
> That scanned image is then saved to disk (JAR signed), and in turn, is
> uploaded to a webservice.
>
> I'm not really sure how this Browser Controls work, but would it allow me
> to
> turn all those functions I got, into the J# environment?

AFAIK, I don't think you'll be able to use the JNI stuff.

On the other hand, J# provides two methods for accessing native libraries.
One is the J/Direct method used by the old VJ++. The other is the
Platform/Invoke method common to all .Net languages.

This page should get you started:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vjsharp/html/vjgrfCallingNativeMethodsFromJavaSource.asp

Regards,
Will


.



Relevant Pages

  • Microsoft J# Browser Controls Question
    ... I have a java applet, that by using JNI, allows u to use a scanner through a ... c++ built dll with twain. ... That scanned image is then saved to disk, and in turn, is ...
    (microsoft.public.dotnet.vjsharp)
  • Re: Insert scanned images in Word 2003 on Windows XP SP2
    ... We have done a scan to Twain on the MFP. ... result the scanned image is stored on the MFP only. ... > Word document, inserting the file/picture from the Insert menu? ...
    (microsoft.public.windowsxp.basics)
  • Re: Microsoft J# Browser Controls Question
    ... >>I have a java applet, that by using JNI, allows u to use a scanner through ... >> That scanned image is then saved to disk, and in turn, is ... I don't think you'll be able to use the JNI stuff. ... > Platform/Invoke method common to all .Net languages. ...
    (microsoft.public.dotnet.vjsharp)

Loading