Type: Posts; User: Odiee
Search took 0.02 seconds.
April 21st, 2011, 07:42 AM
That's exactly what I was looking for.
April 21st, 2011, 04:50 AM
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.
For example I have a...
September 29th, 2009, 04:29 AM
Solved. The problem was in the connection string where "Initial Catalog" was not specified.
September 29th, 2009, 02:19 AM
I'm pretty new to DB programming and got a problem with simple db query.
I'm using SQLServer Express2008 with ADO to connect and work with database.
I created DB server and my own DB, in...
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...
Is it possible to somehow override that ugly crash window? You know the one which prompts you to send Microsoft details about the crash?
I'm in situation where a have an application, lets call it...
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
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...
December 6th, 2008, 05:40 AM
never mind i figured it out.
HWND f = this->GetSafeHwnd();
DWORD w = this->GetExStyle();
SetWindowLong(f, GWL_EXSTYLE, w | WS_EX_TOOLWINDOW);
And properties of the dialog must...
December 6th, 2008, 03:07 AM
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...
October 29th, 2008, 06:58 AM
You did everything except including library files in your project.
Go Project->Properties->linker->input. And name the library files.
October 29th, 2008, 03:40 AM
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.
October 29th, 2008, 03:30 AM
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.
Oh and BTW if you want...
October 28th, 2008, 08:44 AM
There is a "Network Programming" forum board, maybe you should try asking your question there.
October 28th, 2008, 08:42 AM
And make sure your C file has cpp extension before building.
October 28th, 2008, 03:40 AM
You have Acctually defined 100 pointers to char
read_Buffer doesn't point to anything.
October 28th, 2008, 03:29 AM
There is no problem, This is a sceleton project file all of the algorithms are written and there is accctually one function like this:
void sweepLine( int n )
// ** STUDENT will add the...
October 28th, 2008, 03:05 AM
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...
October 28th, 2008, 02:27 AM
Put it through debugger, and go line by line, and be sure to check all return values.
And BTW when you open files with ofstream, you must also close them.
but before that you should really try...
October 28th, 2008, 02:22 AM
I'm not sure what you want to do exactly.
You will eventually need to parse the xml code, wouldn't you?
But you can always use fread to read to a stream from a file.
October 27th, 2008, 02:06 PM
So probably this is a system based problem and this is not the best forum for that kind of problems.
October 27th, 2008, 01:55 PM
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...
October 27th, 2008, 01:39 PM
Do you have actuall Thai font installed? If you have and it still wont work,
maybe AppLocale can help you
October 27th, 2008, 09:55 AM
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...
Click Here to Expand Forum to Full Width