Click here to Skip to main content
16,005,037 members
Home / Discussions / COM
   

COM

 
GeneralRe: Regsvr32 writes an error Pin
geo_m12-Oct-04 21:17
geo_m12-Oct-04 21:17 
GeneralRe: Regsvr32 writes an error Pin
Rassul Yunussov14-Oct-04 5:37
Rassul Yunussov14-Oct-04 5:37 
GeneralRe: Regsvr32 writes an error Pin
geo_m14-Oct-04 19:44
geo_m14-Oct-04 19:44 
GeneralRe: Regsvr32 writes an error Pin
Eurosid21-Jul-05 6:04
Eurosid21-Jul-05 6:04 
GeneralPLS HELP : CreateInstance (__uuidof(SHDocVw::ShellWindows) failed Pin
SenPy28-Sep-04 7:23
SenPy28-Sep-04 7:23 
GeneralRe: PLS HELP : CreateInstance (__uuidof(SHDocVw::ShellWindows) failed Pin
4apai30-Sep-04 23:07
4apai30-Sep-04 23:07 
Generalchanging the stack size in DLL Pin
Anonymous28-Sep-04 5:57
Anonymous28-Sep-04 5:57 
GeneralRe: changing the stack size in DLL Pin
darkbyte29-Sep-04 4:09
darkbyte29-Sep-04 4:09 
As far as i recall, the stack size is not related to a DLL, its the process including the DLL that is deciding on its stack size.

Depending on the amount of information stored on the stack, it would probably be better if you kept only a pointer to a struct with the info you need at each level of recursion. You could event count the recursion level and keep some information into an array that is dependant on the recursion level.

Here are a few points you might want to investigate too.
How many levels deeps are you getting into ?
Are you sure you're not simply entering an infinite recursion which does overflow the stack.
Is the recursive function having too many parameters, could you simplify these parameters and pass in a struct pointer ?
Are there too many local variables in my recursive function ?

Every time you enter a function, there is a number of bytes being reserved in the stack, each parameter passed to a function could be taking some stack space so if you recurse on a function that requires 40 bytes for its parameters it can add up quickly. Also, local variables do take space on the stack.

Having a recursive function with "char somearray[512]" isnt convenient in a recursive function since on each recursion level, 512 bytes will be reserved for that level.
GeneralAdd-ins, creating using Visual C++ : Help! Pin
agentnem27-Sep-04 18:46
agentnem27-Sep-04 18:46 
GeneralPLS HELP : CoCreateInstance on IE object failed on XP/SP2 Pin
SenPy27-Sep-04 13:31
SenPy27-Sep-04 13:31 
GeneralRe: PLS HELP : CoCreateInstance on IE object failed on XP/SP2 Pin
darkbyte29-Sep-04 3:27
darkbyte29-Sep-04 3:27 
GeneralUrdu ActiveX Control Pin
Naseem_Amjad27-Sep-04 2:54
Naseem_Amjad27-Sep-04 2:54 
Questionhow to get control interface pointer from hwnd in other threads??hwnd in other threads?? Pin
Behlool26-Sep-04 20:52
Behlool26-Sep-04 20:52 
AnswerRe: how to get control interface pointer from hwnd in other threads??hwnd in other threads?? Pin
4apai30-Sep-04 23:49
4apai30-Sep-04 23:49 
GeneralRe: how to get control interface pointer from hwnd in other threads??hwnd in other threads?? Pin
Behlool1-Nov-04 18:42
Behlool1-Nov-04 18:42 
QuestionGmail Notifier? Pin
stephen.vines26-Sep-04 11:38
stephen.vines26-Sep-04 11:38 
AnswerRe: Gmail Notifier? Pin
darkbyte29-Sep-04 4:13
darkbyte29-Sep-04 4:13 
GeneralRe: Gmail Notifier? Pin
ThatsAlok3-Nov-04 17:26
ThatsAlok3-Nov-04 17:26 
Generalusing desktop icon,links pop up video Pin
democls26-Sep-04 4:20
democls26-Sep-04 4:20 
QuestionHot to show system resources on Active Desktop? Pin
^Marcin^25-Sep-04 6:19
^Marcin^25-Sep-04 6:19 
GeneralHRESULT to string Pin
sergeyv200224-Sep-04 5:25
sergeyv200224-Sep-04 5:25 
GeneralRe: HRESULT to string Pin
BAIJUMAX24-Sep-04 19:35
professionalBAIJUMAX24-Sep-04 19:35 
GeneralThe right answer would be: Pin
sergeyv20026-Oct-04 10:36
sergeyv20026-Oct-04 10:36 
GeneralRe: The right answer would be: Pin
Shane Poznikoff3-Dec-09 11:08
Shane Poznikoff3-Dec-09 11:08 
GeneralNo response from regsvr32 Pin
captain12pack22-Sep-04 4:43
captain12pack22-Sep-04 4:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.