Hi,

A malloc done in a DLL fails at some point in time.
With failing I mean, it hangs. It does not return a pointer, nor does it return NULL. It just hangs.

Situation:
- Application programmed and compiled using VS 6.0. Allows plugin dll's.
- DLL exporting 1 method for the plugin. Compiled in VS 2005.

The DLL malloc's a protocol structure. Within protocol it mallocs a data array.
The application free's the data array and the protocol.

This works fine for the most time 99%. But then almost randomly it starts haning.
The malloc does not return at all, not even NULL.

I am clueless, you?

Cheers,
Martijn