How do I create multiple document/views at the start of the program?
I would prefer it as a doc/view list with IDs that I can access from other part of the program.
Use it or don't use it, it's up to the programmer. The use of goto in OP's code would be ok by me if the function in which it's used is carefully written and not longer then...say 50 lines? And don't...
I just tried that and it didn't work.
But that's becuse this is console application that creates of it's own, so the threadId should be from newly created window. So I'm stuck with IPC.
I'm using IPC mail slot system to send/receive messages. As described here
http://msdn.microsoft.com/en-us/library/aa365574(VS.85).aspx#base.using_a_mailslot_for_ipc
GetLastError() on creation of...
I have a situation where I launch several processes from a program using CreateProcess() function.
At one time, I have to access all these processes, one by one and tell them to hide/show...
I have a MFC dialog application (with no frame) witch is used in another application via CreateProcess.
The trouble is that I need to create multiple instances of that dialog application...
Sure, But I personally like to see something closing whenever I see it open.
It's a matter of preference probably.
And ye, he could close the file with close, but doesn't have to.
It's because you didn't specify what will happen after "1" is rolled.
You just carry on with the loop.
Try putting break or something in the if keyword when "1" is rolled.
char *c[100];
You have Acctually defined 100 pointers to char
fgets(read_Buffer, start_pozition,Nourea_file);
read_Buffer doesn't point to anything.
c[j]=(char *)malloc(item_lenght*sizeof(char));...
Maybe if you try with: CTreeCtrl::SetItemImage?
Also you missed the forum board.
this is C++ (Non Visual C++ Issues), and there isd also Visual C++ Programming board.
And it will really help you...
WOW.
I lold. I can't believe i actually made worst mistakes then OP.
I guess you really can't sleep 4 hours and then go to work. :D
I apologize for the lulz.
I my defense I was awake 'till...
It's alright, you didn't offend me.
It's just that I dont work with MFC that long (about 3 years) and didn't really studied the issues on difference between 6.0 and .NET.
Before that I worked with...