I'm having problems importing a DLL into LabWindows 5.5. The DLL was created in Visual C++ 6.0 and contains the declspec(dllexport) stdcall format. The .lib file won't import, and when I use the Generate Import Library function, everything will work good until I get into a large loop when creating a file...once the file is more than 30 MB, I get a stack overflow. If I use the same DLL source in Borland and import that DLL and LIB, I don't have any issues...even when shrinking the stack size in LabWindows. My copy of LabWindows is set up to be compatible with Visual C++ and to use the cdecl call (although changing that to stdcall does not change anything.) Any ideas as to what is going on?