I find it interesting how everyone equates power with the ability to do harm. Sending troops. Causing a stock market crash. Autocratic power in a socialist state. The power to deal death and misery...
Type: Posts; User: Nova_Collision
I find it interesting how everyone equates power with the ability to do harm. Sending troops. Causing a stock market crash. Autocratic power in a socialist state. The power to deal death and misery...
There is no static "limit" to recursion except memory. Remember that when you call a function, a copy of that function is loaded into RAM until the function completes. The only drawback to recursion...
The best way that I can see it is to forgo making a separate class for a cell wall and instead just make it so that each cell object has six neighbor cell objects. Then you'll only have one pointer...
CodePlug, Anonytmouse, I want to thank you guys for your help. And for your patience. It's clear that I don't understand the MFC as well as I need to and I'm just out of time. I'm going to have to...
I'm not sure what else you need. My process creation is still the same and the dialogs work properly. My program is an installer for a Java pogram that I've done. It's made of a series of dialogs...
Guys, I'm starting to feel a bit guilty about this.....I hope I don't wear out my welcome.
I feel as though I'm almost there. But not quite.
I have no idea how to use TreeView_InsertItem as...
Uh....okay. :) Well, since I can't afford over $100 (CDN) for books, does that mean that there is no way for me to add in some kind of directory browser to my program? If not, I guess that's that and...
Okay....I'm trying to wrap my head around that. Pointers have always been a bit tricky for me. From what I understood of what you said about GetExitCodeProcess(), I should pass it a DWORD that has...
Okay, I've made some progress, but the biggest thing I've learned is that the MFC has some whacked out stuff. I've figured out that I need to create the object, then assign it the resource, but that...
Yeah, that was pretty much the same as the MSDN tutorial in VS6. It didn't say anything about accessing a tree view that had been created in the resource editor, not to mention that I dunno what...
I'm using CreateProcess() to run the JRE installer and I need to know when the installer finishes. Both GetExitCodeProcess() and GetExitCodeThread crash the program. Here's my code:
Process...
CreateProcess() will do it. It has a crapload of parameters, tho. Either look it up in the MSDN help or try this:
STARTUPINFO si;
PROCESS_INFORMATION pi;
memset(&pi, 0, sizeof(pi));...
I've been all over the 'net and this forum trying out stuff but I just can't get it. I used MSVC's resource editor to create a dialog with a tree control already in it. Unfortunately, I can't find...
I figured out that _popen only works for console apps. That's where the problem lies. :P
Okaaayyyyy......so what do I do? No matter what I try, the _popen fails. Every time. Example code included. Does that mean I can't check the output of command line executions?
:P Perhaps I should research more before I post. Anyway, here's where I'm at. I figured out what an Assertion failure is, but the _popen example (THE EXAMPLE!!) in MSVS 6 generates an error itself....
More specific : The code caused an assertion failure, which I have no idea how to handle.
Hey, I was linked to this thread from wanting to get the java version. I understand MOST of that :P Sorta....anyway, obviously not enough because the program crashes whenever I try to run that code...
I figured it out. And man, do I feel foolish. :P
I hadn't added the resource.h header or script.rc files to the fileview in MSVC. Thing is, since it was compiling fine, I didn't even think about...
Here's my WinMain method :
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
myInstance = hInstance;
WNDCLASSEX wc;
wc.cbSize =...
Yeah, it's global because I know I'm going to need to manipulate later in other functions. Yeah, it's initialized. At least, would the main window have come up if it hadn't been? Hmmm...I wonder...
Okay, I've only been trying to use the Win32 API for a short time but thought I was making great progress. Until now. I had written a small program in MSVC 6 that basically just displayed a modeless...
Do you need specifically Borland's compiler for Borland libraries, or will any C++ IDE do?
I want to check to see if a computer has java version 1.4.1 or better installed on it. How can I do that from a C++ program? Is there a way to run the javac -version command from within a c program...
The only real problem with Marilyn Manson is that he uses controversy to sell records, rather than relying on the strength of his music.
For me, the only good song he's ever done is The Beautiful...