|
it seems this interface is for some AciveX controls, not SSL/HTTPS
rrrado
|
|
|
|
|
if your certificate is out of date, why would you enforce the security of the web site ?!
|
|
|
|
|
some sites are invalid (self-signed) certificates and surfer can do nothing about it,
he wants the software to work
rrrado
|
|
|
|
|
but obviously, it's not your fault...
you don't have to adapt your code one's problems. someone has to fix the website, not you to try to pass at any cost
|
|
|
|
|
i have created a 3D array, and now i want to delete it......what is the syntex and function to delete the 3D array??? plzzzz reply me sooooooooon!
|
|
|
|
|
|
MahaKh wrote: ......what is the syntex and function to delete the 3D array??? plzzzz reply me sooooooooon!
how do you create the 3d array!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
oho , it is very complicated.
int 3Darray;
If u can Dream... U can do it
|
|
|
|
|
If you used the new[] operator to create the array, then you must use the delete[] operator to destroy it, just in reverse order.
int *pNum = new int[5];
...
delete [] pNum;
int **p = new int*[5];
for(int i = 0; i < 5; i++)
p[i] = new int[8];
...
for(int i = 0; i < 5; i++)
delete [] p[i];
delete [] p;
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I want to change my parent window's appearance when clicking on one of its child windows. Is there any clean way to notify the parent window of getting focus? Since if I have many child windows or several levels of descendants, I have to process the focus message everywhere.Thanks for your help.
|
|
|
|
|
Hi,
you get the parent-window this way :
CWnd *par = GetParent();
You can even do it in a loop, but you need to check when you reach the Frame.
For example by testing to pointer with ->IsKindof(RUNTIME_CLASS(YourFrame or StandardFrame))
I hope it works
|
|
|
|
|
if you need mfc Mainframe window , you can use AfxGetMainWnd() , Otherwise use GetParent.
If u can Dream... U can do it
|
|
|
|
|
Try WM_ACTIVATE, WM_ACTIVATEAPP, WM_NCACTIVATE, etc...
- NS -
|
|
|
|
|
Thanks, WM_MOUSEACTIVATE works. The parent window always gets this message when I click on its child, even it is already active. This is a little different from that mentioned in document. Not perfect but it works for me.
For other solutions, they are good ideas, too. Maybe I can use them in other cases. Thanks a lot.
|
|
|
|
|
Welcome
I think you may have to take care about the following MSDN description:
"The parent window receives this message only if the child window passes it to the DefWindowProc function."
Anyway I didn't have done any further dig on it...
- NS -
|
|
|
|
|
Thanks. Finally, it's my fault. MSDN says only the top-level windows can be activated. My child window is, of course, not a top-level window, so I always get the clicking message. And the parent window doesn't get WM_ACTIVATE message because it is not a top-level window either.
Anyway, this website is really helpful. There are so many resources and I can usaually get my answer in a short time. Unfortunately, I'm working on embedded systems instead of PC systems. If anyone knows where I can find as many resources as this website has, please tell me. Our product is set top box. Thanks.
|
|
|
|
|
Hi there!
I'm trying to build a simple dialog-based application for a Windows Mobile 5.0 Pocket PC which uses the Windows Media Player SDK to play audio as well as video. But I can't get it to work...
I downloaded the WMPSDK 10, created a new dialog-based app and included a ActiveX-Control as provided in the SDKs Help. Compiling works well without any warnings or errors. But after deploying either to the emulator or the device, i get the following debug-message:
<br />
Persistence not supported on OLE control {6BF52A52-394A-11D3-B153-00C04F79FAA6}.<br />
>>> Result code: 0x00000000<br />
Warning: Resource items and Win32 Z-order lists are out of sync. Tab order may be not defined well.<br />
On the device i get a 'Debug Assertion Failed!' referring to 'occont.cpp' file.
google didn't help me any further. Is there anybody out there how as a small hint?
greetings from Munich,
m.
PS: sorry for my bad english...
|
|
|
|
|
|
Hi,
I'm creating the setup of my application, I need to execute an exe file during the setup, so I added that exe to the setup files and I added an custom-action to run it.
It is runned as well, but I need to create 2 different solytion types (like Release and Debug), and I need that that exe is runned only in one case (i.e. for example in "Release" case and not in "Debug" case). To do this I'm thinking that I can use the "condition" related to the custom action.
But,... what I have to write there? I tryed "Release" and "!Debug", but this isn't well understanded to the setup compiler.
Any suggestions?
thanks
Russell
|
|
|
|
|
Hello,
I have Consts.h file where all my identifiers are defined and I need this Consts.h file in two of my .cpp files.(A.cpp and B.cpp)
When I #include Consts.h in both the files I get linker error 'identifier already defined' and if I don't include in one .cpp file I get error identifier not defined.
What changes should I make in my inclusion method?
Thanks
|
|
|
|
|
In Consts.h write very first statement as
#ifndef CONSTS_H<br />
#define CONSTS_H<br />
.....<br />
.....<br />
.....<br />
#endif // CONSTS_H
Regards,
Paresh.
|
|
|
|
|
Did you put include guards in your header file ? Something like this:
#ifndef MYFILE<br />
#define MYFILE<br />
<br />
<br />
#endif
(of course, MYFILE should be unique for each of your header file).
You can also use #pragma once at the top of your file.
|
|
|
|
|
Hello,
Thanks for your replies.
I had already tried this .The Consts.h file has these statements
#ifndef CONSTS_H
#define CONSTS_H
// Code here
#endif
But still I get the same linker error.
Prithaa
|
|
|
|
|
Can you post your Const.h file if it is not too long ?
|
|
|
|
|
Rebuild all.
Prasad
MS MVP - VC++
|
|
|
|