Hello mate, thanks for the reply. I need breadth first traversal on a graph, but its not working properly.
The program hangs inside my turbo c ide and I have to use 'break' to get out of the infinite loop. Also I dont know how to debug inside turbo c 3 IDE so having a hard time debugging the problem in my code.Please help me.
Thanks and best regards, Mike.
Well, as i said, it could be that your VARIANT contains something else than a string, like an integer for example, check this[^] out and you will see there can be a lot of datatypes a VARIANT can hold. So -based on what you see there- you should either skip non-string values or maybe convert what you can to a string if you really need to work with a string.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
i write this simple program and execcte it. i thought that it will give all the name of directories where it was placed , but it is not working as i was thinking.i don't want to use system() function in place of crateprocess().my code is following-
thanks Michael Schubert, same thing i want to know with you.actually when i use
CreateProcess(NULL, "cmd.exe ", command, NULL, FALSE, 0, NULL, NULL, &si, &pi)
it will open a command prompt and then i have to write dir but i don't want that.
anyway it works fine but i didn't understant why you put /C dir .can you please explain it?
I am using Visual Studio 6.0 when I tried to use add new files to my existing project it crashes (does the error report thing).
I also tried uninstall and reinstall visual studio..., but it does the same thing...
I have also gotten an error- MSDEV.EXE - application error...
"The instruction at "0x519e1a5b" referenced memory at "0x02004f48". The memory could not be "read""
I think this is the first time, so I have no idea if it ever worked...
This may sound strange, but even I had a similar issue with VC6 after installing Project / Visio 2003 / 2007. Have you installed any of these softwares recently, or you have this problem since the beginning?