[prev in list] [next in list] [prev in thread] [next in thread]
List: ms-cryptoapi
Subject: VJ++ & COM (VJ1.1 & MSCrypto API 2.0)
From: Martin Luna <lunam () SPIDER ! SAIC ! COM>
Date: 1997-05-21 0:20:32
[Download RAW message or body]
Well I'm still trying to make Cert1.java (one of the VJ++ sample
applets in MS Crypto API 2.0) work with a dll. I've gotten a little
farther; I'm down to ONE error (but its a toughie). When I try to build
Cert1, I get this message:
C:\Cert1\Cert1.java(325,5) : fatal error J0158: Class 'ICryptFunctions'
already defined
Pressing [F1] takes me to this line in Cert1:
public boolean action(Event e, Object arg)
which near as I can figure doesn't have anything to do with the
ICryptFunctions class (the block above line 325 is the execute() method;
which DOES declare some ICryptFunctions objects, but I hope that VJ++'s
error reporting is better than that).
ANY IDEAS or SUGGESTIONS?
=======
HERE ARE THE DETAILS:
A search for the string "ICryptFunctions" shows that only two classes
contain this string. The classes are:
C:\WinNT\Java\TrustLib\cryptcom\CryptFunctions.class
and
C:\WinNT\Java\TrustLib\cryptcom\ICryptFunctions.class
Moving C:\WinNT\Java\TrustLib\cryptcom\CryptFunctions.class out of the
searchpath, yields:
C:\Cert1\Cert1.java(325,5) : fatal error J0158: Class 'ICryptFunctions'
already defined
whereas moving C:\WinNT\Java\TrustLib\cryptcom\ICryptFunctions.class out
of the searchpath yields:
C:\Cert1\Cert1.java(51,9) : error J0049: Undefined name
'ICryptFunctions'
C:\Cert1\Cert1.java(51,9) : error J0044: Cannot find definition for
class 'ICryptFunctions'
C:\Cert1\Cert1.java(51,9) : fatal error J0158: Class 'CryptFunctions'
already defined
Moving both classes yields:
C:\Cert1\Cert1.java(51,9) : error J0049: Undefined name
'ICryptFunctions'
C:\Cert1\Cert1.java(51,9) : error J0044: Cannot find definition for
class 'ICryptFunctions'
C:\Cert1\Cert1.java(52,35) : error J0049: Undefined name
'CryptFunctions'
C:\Cert1\Cert1.java(52,35) : error J0044: Cannot find definition for
class 'CryptFunctions'
C:\Cert1\Cert1.java(52,35) : fatal error J0158: Class
'ICertificateFunctions' already defined
=================
If you're still with me here, thanks.
When I knew even less than I do now, I posted a more vague version of
this question to both the MS VJ++ and the MS Crypto newsgroups with
little luck (one brave MS soul helped me with the C version). Hopefully
the lack of response is due to the MS newserver being down more often
than not.
I have called the 900 number and after 5 days, the tell me that I'm on
a very long queue. So any help would be greatly appreciated.
Thank you,
-M.M.G.L.
----------------------------------------------------------------
Users Guide http://www.microsoft.com/sitebuilder/resource/mailfaq.asp
contains important info including how to unsubscribe. Save time, search
the archives at http://microsoft.ease.lsoft.com/archives/index.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic