On Sat, Feb 6, 2010 at 9:50 AM, Andreas Jellinghaus <a...@dungeon.inka.de> 
wrote:
> Am Freitag 05 Februar 2010 19:51:00 schrieb Alon Bar-Lev:
>> Also, can we put the .inf and .reg anywhere else but bin?
>
> doesn't windows "install" the files if you double-click an inf file
> (or right-click / install)? it needs to find the files?
> Ok, currently the "CopyFiles" sections are empty, but we could
> put all required dlls etc. there.
>
> maybe it would be easiest for windows user to have a flat
> zip file with all files in the base directory, and the
> option for the users to double-click the inf file,
> which then copies all files to some place.
> (no, I don't have any experience with that,but some drivers
> are installed that way, aren't they?)

The inf file management is very hard to maintain and produce something sane.
It great for drivers but not software.
I prefer we do all what needed in the install batch file until someone
come forward
and maintain msi based package.

>> Regarding the 32bit and 64bit card modules, we do not compile both
>> 64bit and 32bit especially you don't put the suffix of 64 to the card
>> module. Suffix should be fixed - this for sure, I will handle this.
>>
>> But I am not sure the the SmartCardCardModule64 is indeed 64bit and
>> the SmartCardCardModule is 32bit.
>>
>> Also, how do you support multiple cards in the .inf file?
>
> worst case: one inf file per card. but I hope there is
> a better way.
>
> btw: why don't you export DllMain? I thought it needs to be exported,
> so it will be found. DllMain is a special symbol, the loader runs
> this function of every Dll loaded before the main program is run
> / continues to run. Not sure if that continues to work without the
> export.

As far as I know DllMain is called by the CRT [1] so the DllMain
itself much like
main should not be exported.

[1] http://msdn.microsoft.com/en-us/library/988ye33t%28VS.80%29.aspx
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to