parsh
June 1st, 2001, 06:48 AM
Here is my problem. I have a VC++ ATL COM dll which is hosted on COM+ in w2k server.
The COM dll is a third party dll.
When its function is called, it calls another function which decalres a -
double X[26000];
along with some other variables. This is causing a stack overflow, if the variable is comented it works alright.
If the above is declared as -
double *X = new double[26000];
it works alright(allocation on heap) but the COM dll owner is not willing to change(*&^%$@# ;-). (The COM dll owner only gave the skeleton source code, removing the main algorith).
The question is how can i increase the stack size of the DLLHOST ? (The /STACK compiler flag is of no use)
Thanx for all your replies.
:-) Parshwanath
The COM dll is a third party dll.
When its function is called, it calls another function which decalres a -
double X[26000];
along with some other variables. This is causing a stack overflow, if the variable is comented it works alright.
If the above is declared as -
double *X = new double[26000];
it works alright(allocation on heap) but the COM dll owner is not willing to change(*&^%$@# ;-). (The COM dll owner only gave the skeleton source code, removing the main algorith).
The question is how can i increase the stack size of the DLLHOST ? (The /STACK compiler flag is of no use)
Thanx for all your replies.
:-) Parshwanath