Well... It's was a long time ago! As far as I remember, you need to put the
DLL in any directory included in your PATH and the LIB file in your Symantec
project (Project Options/Directories/Native Library Files).
But I don't think the Comm API can be the source of the error you reported.
It looks more as if you didn't include the OCF source files in your project.
Effectively, if you are trying to generate an EXE for your application, you
have to include both your source files and the OCF source files to make it
work.
Alternatively, you can generate a DLL including only the OCF (you'll have
for example ocf-core.dll and ocf-opt.dll) and use those DLLs in your
project. In that case, you also need to generate ocf-core.lib and
ocf-opt.lib and include those files in the options of your project (as
mentionned above).
Hope this helps.
Patrick.
----- Original Message -----
From: Ilias Tranganidas <[EMAIL PROTECTED]>
To: Eric Tang <[EMAIL PROTECTED]>; 'Patrick Biget'
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 14, 2000 1:15 PM
Subject: RE: [OCF] Executable?
Hi Eric & Patric,
I believe I am in a similar situation. I am able to compile my code with the
command line compiler but when I am trying to build my project from the IDE
I get the following type of errors: "(65535): Symbol Undefined
_$opencard_core_service_SmartCard_start__"
I think this must be the same problem that you are referring to. If this is
the case can you tell me where should I install the comm.dll & comm.lib
files?
I tried both in:
C:\Visualcafe\Bin\comm.dll
C:\Visualcafe\Lib\comm.lib
C:\Visualcafe\Java\Bin\comm.dll
C:\Visualcafe\Java \Lib\comm.lib
With no apparent result!
Is there another change I should make in some parameter of the IDE?
Regards,
Ilias
----------
From: Patrick Biget
Sent: ���������, 14 ������� 2000 11:49 ��
To: Eric Tang
Cc: [EMAIL PROTECTED]
Subject: Re: [OCF] Executable?
<<File: comm.dll>><<File: comm.lib>>
Eric,
To generate un EXE file with Visual Cafe you need a native implementation
(DLL) of all the packages your application is using. Visual Cafe provides
DLLs
for all the standard Java packages which allows you to generate a EXE if
your
application is implemented as a Pure Java application. But the Opencard
Framework is based on the Comm API to communicate with the smart card reader
(comm.jar) which is a native implementation. So you need the DLL (and the
LIB
file to be able to compile your application) corresponding to the comm.jar
package.
I was given those two files by Symantec a long time ago and they are
attached
here. This should enable you to make your EXE file if, by chance, you don't
use another package with a native implementation (the PC/SC CardService for
example...).
Good luck.
Patrick.
Eric Tang wrote:
> Dear All,
> I have to compile all the java program written with OCF to EXE
> file.
> I am using Visual Cafe to do it, but it always can' t link up
> files
> Anyone tried before? Can anyone help me?
>
> Regards,
> Eric
>
> ---
> > Visit the OpenCard web site at http://www.opencard.org/ for more
> > information on OpenCard---binaries, source code, documents.
> > This list is being archived at http://www.opencard.org/archive/opencard/
>
> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> ! to
> ! [EMAIL PROTECTED]
> ! containing the word
> ! unsubscribe
> ! in the body.
--
Patrick Biget
Bantry Technologies
Embassy House, Ballsbridge
Dublin 4, Ireland
Tel: +353 1 663 2030 ext 202
Fax: +353 1 663 2050
Mob: +353 86 859 7692
Web: www.bantry-technologies.com
b�+m��zp���nȭy�a���0���q�ݢ�?~�梷���+��b�z':��
��n)ڮ'����q�(u�hr鞞��+%��b�����r�y֭��i��0^�ƫv����܆+���^�ƫw��{.n�+��������)zw��)zw��+�f��)��+-���jw�j)m��^�ƫv����-���q�ݢ��{Z�x���^ݺ{.n�+�����^n�r