Hello

I haven't worked out my problem, but I worked around it.
Instead of getting IP addresses via the WinPcap API, I help
myself from the registry, and now InstallShield is happy
to register my DLL on Win 2000. This is really odd because
WinPcap itself doesn't do anything different (gets the
information from the registry).

But, as far as I am concerned, the issue is closed.

Thank you for the interest.

Regards,
Michael

> -----Original Message-----
> From: Nosley Michael-CMN003 
> Sent: 07 December 2004 10:15
> To: 'Gianluca Varenni'; '[EMAIL PROTECTED]'
> Subject: RE: [WinPcap] RE: Do you understand why 
> PacketGetNetInfoEx fails DLL registration?
> 
> 
> Hello Gianluca,
> 
> thank you for showing an interest in my problem.
> 
> The DLL that needs registering is a DLL I (my company) made
> and it uses WinPcap. I haven't figured out the problem yet.
> I think my InstallShield is old but it is all I have got.
> To recap:
> - On Win XP, all is fine.
> - On Win 2000, I can build my DLL, with all the calls to
>   WinPcap functions I like, and it builds fine. Moreover,
>   I can use regsvr32 on it and it then runs fine. However,
>   the installation package (made by InstallShield) tells
>   me it has a problem registering "my" DLL.
> The reason I asked over here is that I went back to the
> latest changes which might be responsible for the problem.
> And I found out that if I do not acquire the IP address of
> the NIC via WinPcap (but I need this address for a working
> application), then InstallShield does not complain. So I
> thought calling pcap_findalldevs or PacketGetNetInfoEx must
> cause something to be linked into the DLL which InstallShield
> doesn't approve of, or maybe it checks versions, hell I have
> no idea (I didn't get much help from InstallShield). So then
> I thought, maybe the WinPcap people will have an idea what
> is going on. But I don't know that you can help me.
> 
> Regards,
> Michael
> 
> PS - Was I wrong to address this to you as well? Was I wrong
> to address the group with this? I don't believe I am subscribed
> at the moment (I'll try and find out how to subscribe), so may
> not see any replies.
> 
> > -----Original Message-----
> > From: Gianluca Varenni [mailto:[EMAIL PROTECTED] 
> > Sent: 07 December 2004 07:15
> > To: [EMAIL PROTECTED]
> > Cc: Nosley Michael-CMN003
> > Subject: Re: [WinPcap] RE: Do you understand why 
> > PacketGetNetInfoEx fails DLL registration?
> > 
> > 
> > Hi.
> > 
> > I don't know if you have already solved your problem.
> > 
> > What do you mean by "registering it"? Those dlls are NOT COM 
> > dlls, that must 
> > be registered (hence needing to export a certain set of 
> > predefined functions 
> > used for COM registration).
> > 
> > Have a nice day
> > GV
> > 
> > ----- Original Message ----- 
> > From: "Nosley Michael-CMN003" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, November 29, 2004 6:58 PM
> > Subject: [WinPcap] RE: Do you understand why 
> > PacketGetNetInfoEx fails DLL 
> > registration?
> > 
> > 
> > > Hello Winpcap team,
> > >
> > > the Packet32 interface was a red herring: I tried using
> > > pcap_findalldevs and I have the same problem: the resulting
> > > DLL is rejected by InstallShield on Windows 2000, saying it
> > > had a problem registering it.
> > >
> > > N.B. no problem without calling pcap_findalldevs nor
> > > PacketGetNetInfoEx, but I need at least one of them.
> > >
> > > Regards,
> > > Michael
> > >
> > >> -----Original Message-----
> > >> From: Nosley Michael-CMN003
> > >> Sent: 29 November 2004 11:34
> > >> To: '[EMAIL PROTECTED]'
> > >> Subject: Do you understand why PacketGetNetInfoEx fails DLL
> > >> registration?
> > >>
> > >>
> > >> Hello Winpcap team,
> > >>
> > >> the subject line is just a title. I hope you have time for my
> > >> problem. I understand that the Packet32 interface is deprecated
> > >> but I am upgrading legacy software to Winpcap 3.0.
> > >>
> > >> Problem: when I build a DLL including a call to 
> PacketGetNetInfoEx,
> > >> InstallShield claims that it can't register it on Windows 2000.
> > >> Works fine on Windows XP. Also, I can register the DLL manually,
> > >> and the application works fine. InstallShield suggest that making
> > >> this call creates a dependency (on another DLL?) which has a
> > >> registration problem. I was wondering whether you knew what they
> > >> are talking about ? and what dependency I need to trace ?
> > >>
> > >> Regards,
> > >> Michael
> > >> -- 
> > >> Motorola in Basingstoke (UK)
> > >> email: [EMAIL PROTECTED]
> > >> phone: +44 (0)1256 484 366
> > >>
> > > 
> > 
> > 
> > 
> 


==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[email protected]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to