Search:
Type: Posts; User: streamer
Search:
Search took 0.02 seconds.
-
June 30th, 2009, 12:34 PM
Just one thought. Isn't it better to do it with some kind of DB like MySql, or SQLite, INSERTing new urls and UPDATEing the count if there is one?
-
June 30th, 2009, 06:31 AM
Check this thread: http://www.codeguru.com/forum/showthread.php?t=308930
-
June 30th, 2009, 06:27 AM
Here is the problem:
unsigned char* MyStr = (unsigned char *)"LoadLibraryA";
should be:
char * CalcHash(char * MyString)
{
unsigned int h;
unsigned char *c=(unsigned char*)MyString;
-
June 30th, 2009, 05:50 AM
First of all debugging the services is really hard work.
Second: use code outlining it will be much more readable for us mortals.
Third: Install on Vista Visual Studio 2008 redistributable, to get...
-
I'm using Process Explorer to check detailed information on running programs, memory leaks, handle leaks. It can be downloaded from https://technet.microsoft.com/en-us/sysinternals/bb896653.aspx. Its...
-
Handle leaking is probably located in WM_PAINT, or OnPaint, OnDraw functions...can you paste that code too?
-
April 29th, 2009, 07:44 AM
Probably it is possible, but on the other hand it may not be possible. Try to check the messages with Spy++ what messages browser is getting when you open the new tab. Off course you need to check...
-
April 28th, 2009, 08:29 PM
error C2065: 'myPtr' : undeclared identifier
(39) : error C2065: 'client' : undeclared identifier
(40) : error C2065: 'myPtr' : undeclared identifier
(40) : error C2228: left of '.ptr' must have...
-
April 6th, 2009, 01:07 AM
I have learned this hard way. Calling any MFC stuff that involves any GUI will surely fail sooner or later. I have spent weeks debugging and didn't understand why my application is throwing asserts....
-
April 3rd, 2009, 03:59 AM
No, you're right Looser_007, also indenting your code is good thing, and it will show you where you have another error. Every open code block, procedure that's open with { need to have closed block,...
-
April 3rd, 2009, 03:52 AM
Yes I know, but to explain someone who doesn't know boolean type what is precedence of operators, and why that is the same....
Anyway I just wanted him to notice where his problem is, and to...
-
April 2nd, 2009, 05:51 PM
Not taught boolen....eh
You been wrote
if ( condition )
means condition can be true or false
in your case, your condition is that number must be in range 2.5 - 6.5
so condition is "if...
-
March 24th, 2009, 05:31 AM
And what about:
PlaySound(_T(".Default"),NULL, SND_APPLICATION|SND_NODEFAULT);
this will play default bell sound in windows.
-
February 18th, 2009, 08:42 PM
Do you use wizard to add handlers to your dialog class?
you should have these things:
declaration in header file:
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
message map:...
-
February 18th, 2009, 10:31 AM
Linked lists are very easy to understand:
You have
class Node
{
Node* parent;
Node* child;
};
consider it as:
-
February 18th, 2009, 10:18 AM
You don't need to set current path because shellexecute have one parameter which is counted as current dir for executed program
ShellExecute(NULL, "open", "c:/mydir/myprg.exe", "", "c:/mydir/",...
-
February 18th, 2009, 10:10 AM
Look, If you have made the dialog and select it that dialog have a focus, then press some key on the keyboard, message will be dispatched to your dialog.
You need to have OnKeyDown event handled:
...
-
February 18th, 2009, 06:29 AM
Maybe this?
return FALSE; // return TRUE unless you set the focus to a control
Put it back to TRUE and see what is happening
-
February 17th, 2009, 06:43 AM
Handling two d3d devices is a much more work to handle than swap chains. Example:
So you have one windowed application, and you think you don' t need to handle lost device, when user switch from...
-
February 16th, 2009, 09:49 PM
If you want to use two different windows with both having the DirectX rendering loop, you will need to use the Swap Chains. Google for it, you will find lot of examples...
-
February 5th, 2009, 07:09 PM
I think that isn't possible. You may use rich control, in which you can format your text.
-
February 5th, 2009, 07:07 PM
The problem is not in code you had posted. Problem is somewhere else in the program. Without some other code we can't help. Just tip what MAY be the problem.
-
February 5th, 2009, 02:02 PM
You don't have any problem.
However you should write
if(o1)
{
delete o1;
o1 = NULL;
}
-
February 3rd, 2009, 09:08 PM
Its not. Its bug.
void getName(char name[]) const
also have a problem/bug as you wish. You should pass parameter as reference.
-
February 3rd, 2009, 08:04 PM
sg.setGrade(100,5);
you don't have fifth element in int quizzes[4];
should be:
sg.setGrade(100,2);
|
Click Here to Expand Forum to Full Width
|