Re: Icmp* functions in iphlpapi.dll

2006-06-11 Thread Mike Hearn
On Sat, 10 Jun 2006 21:37:01 -0500, Carl Fongheiser wrote: Bad, bad idea. In Windows programming, you *never* call LoadLibrary from DllMain. Inside of DllMain, you can't call anything which uses the loader lock, because the loader lock is already taken out. As best as I read the Wine code,

Icmp* functions in iphlpapi.dll

2006-06-10 Thread Simon Kissane
Hi In Win2000, the ICMP functions exist in icmp.dll In WinXP, they are still there, but they have also been duplicated into iphlpapi.dll How would one go about adding them to iphlpapi? Does one just duplicate all the code in the second DLL, or is there a way to have some function implemented

Re: Icmp* functions in iphlpapi.dll

2006-06-10 Thread Carl Fongheiser
On 6/10/06, Simon Kissane [EMAIL PROTECTED] wrote: Suppose one was to add code to iphlpapi's LibMain which didLoadLibrary GetProcAddress to get the addresses of the functions inicmp.dll, and then the iphlpapi implementations just called theicmp.dll implementations? (I'm assuming doing a static

Re: Icmp* functions in iphlpapi.dll

2006-06-10 Thread Dmitry Timoshkov
Simon Kissane [EMAIL PROTECTED] wrote: In Win2000, the ICMP functions exist in icmp.dll In WinXP, they are still there, but they have also been duplicated into iphlpapi.dll How would one go about adding them to iphlpapi? Does one just duplicate all the code in the second DLL, or is there a way