PDA

View Full Version : Stack Overflow in dll



jensgott
06-14-2004, 04:33 AM
Hi there,

I have a DLL (made in delphi) which is used in a MSI project via a custom action. But as soon as I call a function whichs uses WinINet I get a "Stack Overflow" exception.

If I dont call the WinINet function every thing works fine.

Its not the WinINet function which has an error - as the samme call are used in a number of other application without error.

Anybody got an idea?

Jens G

jensgott
06-14-2004, 06:49 AM
Found the error.

MsiExec didn't give my dll as much stack as my other application. So reducing my variables size, did fix it.


Originally posted by jensgott
Hi there,

I have a DLL (made in delphi) which is used in a MSI project via a custom action. But as soon as I call a function whichs uses WinINet I get a "Stack Overflow" exception.

If I dont call the WinINet function every thing works fine.

Its not the WinINet function which has an error - as the samme call are used in a number of other application without error.

Anybody got an idea?

Jens G