Hi I am using windows vista . I am trying to call a C dll from a c# application. I am getting 'dllnotfoundexception'. The specified module could not be found .(Exception from HRESULT: 0x8007007E) ..

I tried running dependency walker on the exe file and got the following result :
--------------------------------------------------------------------------------------------------------

00:00:00.000: Started "c:\cygwin\home\kuanil\client_datapath\IFAPP.EXE" (process 0xFF4) at address 0x00400000 by thread 1. Successfully hooked module.
00:00:00.000: Loaded "c:\windows\system32\NTDLL.DLL" at address 0x77BE0000 by thread 1. Successfully hooked module.
00:00:00.000: Loaded "c:\windows\system32\MSCOREE.DLL" at address 0x79000000 by thread 1. Successfully hooked module.
00:00:00.062: Loaded "c:\windows\system32\KERNEL32.DLL" at address 0x76720000 by thread 1. Successfully hooked module.
00:00:00.062: DllMain(0x76720000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\KERNEL32.DLL" called by thread 1.
00:00:00.062: DllMain(0x76720000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\KERNEL32.DLL" returned 1 (0x1) by thread 1.
00:00:00.078: Injected "c:\users\admin\appdata\local\temp\temp2_depends22_x86.zip\DEPENDS.DLL" at address 0x08370000 by thread 1.
00:00:00.109: DllMain(0x79000000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\MSCOREE.DLL" called by thread 1.
00:00:00.109: DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\users\admin\appdata\local\temp\temp2_depends22_x86.zip\DEPENDS.DLL" called by thread 1.
00:00:00.109: DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\users\admin\appdata\local\temp\temp2_depends22_x86.zip\DEPENDS.DLL" returned 1 (0x1) by thread 1.
00:00:00.109: GetProcAddress(0x76720000 [c:\windows\system32\KERNEL32.DLL], "FlsAlloc") called from "c:\windows\system32\MSCOREE.DLL" at address 0x79005B9C and returned 0x7674AB08 by thread 1.
00:00:00.125:
00:00:00.125: STATUS_STACK_BUFFER_OVERRUN encountered
00:00:00.141: Entrypoint reached. All implicit modules have been loaded.
00:00:00.141: Exited "c:\cygwin\home\kuanil\client_datapath\IFAPP.EXE" (process 0xFF4) with code -1073740791 (0xC0000409) by thread 1.

-----------------------------------------
Can anyone pl tell me why its happening. When i am running dependencywalker on a XP machine then this stack overrun is not coming and the application.exe works fine.

Any idea.
thanks,
Anil.