|
Make a public member and fill it before showing the dialog.
Greetings from Germany
|
|
|
|
|
Hi all
I am geting error like this [code]mt.exe : general error c101008a: Failed to save the updated manifest to the file ".\Debug\Abc.exe.embed.manifest". The parameter is incorrect.[/code].
Plz help me
|
|
|
|
|
something (a parameter ) with your manifest isnt correct.
Check it against others which are fine.
Greetings from Germany
|
|
|
|
|
NewVC++ wrote: Plz help me
See here.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Hi all,
Please help me to over come this problem ,
I want to open Pop-up Blocker Settings window of Internet Explorer through VC++ coding.
Please provide some solution for this ?
|
|
|
|
|
No ideas of what you want to do after opening the settings window. however this won't be possible unless you are developing some Plug-In for IE. On the other hand if you want to add allow (pop up setting)some website you can create an entry in the registry at the following location. HKCU\Software\Microsoft\Internet Explorer\New Windows\Allow
I hope I understood uj correctly...
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
thanks for reply,
Yes , actually i am developing a toolbar for IE.
I have some requirement like on click of my toolbar button i need to open that "Pop-up Blocker Settings window".
Is it possible to open this window programmatically?
|
|
|
|
|
Rahul Vaishnav wrote: Please provide some solution for this ?
I just find out that, the DisplayPopupWindowManagementDialog in the "C:\WINDOWS\system32\inetcpl.cpl" can be used to show the popup blocker dialog. Here is the code to display the dialog.
typedef BOOL (WINAPI *DisplayPopupWindowManagementDialogP)( HANDLE hWnd, LPCTSTR lpCaption );
void TestFunc( HANDLE hParentWnd )
{
HMODULE hModule = LoadLibrary( _T("inetcpl.cpl") );
DisplayPopupWindowManagementDialogP DisplayPopupWindowManagementDialog =
(DisplayPopupWindowManagementDialogP)GetProcAddress(hModule,
"DisplayPopupWindowManagementDialog" );
if( !DisplayPopupWindowManagementDialog )
{
return;
}
DisplayPopupWindowManagementDialog( hParentWnd, _T("www.Sitetounblock.com"));
}
|
|
|
|
|
Why is it down voted?? Am I wrong? If so please correct.
I found this function from the call stack of the IE. So I am sure that, IE is also calling this function.
|
|
|
|
|
Thank you very much...
Sorry by mistaken it was down voted..
It is working ....
Thank you very much..
|
|
|
|
|
Hi All
I am useing vc2005.when i build solution then showing [code]0 error(s), 0 warning(s)[/code].But when i run then i am geting
[code]
Debug Assertion Failed!
Program:e:\Abc\debug\Abc.exe
File f:\rtm\vctools\vc7libs\atlmfc\src\mfc\wincore.cpp
line:330
[/code]
Plz help me
|
|
|
|
|
When you get an ASSERT like this it is of no help unless we can see where it came from. Post some code from centred on line 330 of "f:\rtm\vctools\vc7libs\atlmfc\src\mfc\wincore.cpp".
Steve
|
|
|
|
|
Thx's for responce
[code] Assert [/code] is showing [code]wincore.cpp [/code].And it is showing here [code]BOOL CWnd::Attach(HWND hWndNew)
{
ASSERT(m_hWnd == NULL); // only attach once, detach on destroy
ASSERT(FromHandlePermanent(hWndNew) == NULL);
// must not already be in permanent map
if (hWndNew == NULL)
return FALSE;
CHandleMap* pMap = afxMapHWND(TRUE); // create map if not exist
ASSERT(pMap != NULL);
pMap->SetPermanent(m_hWnd = hWndNew, this);
[/code]
Assert point [code]ASSERT(FromHandlePermanent(hWndNew) == NULL);[/code] on this line..
Plz help me
|
|
|
|
|
This means that CWnd::Attach is being called (directly or indirectly) with a HWND that already has a permanent CWnd class instance associated with it.
Steve
|
|
|
|
|
ok so how can i solve it..
|
|
|
|
|
Can you show a stack trace when the ASSERT fires?
Steve
|
|
|
|
|
sorry i am not geting what you want from me?So plz tell me more details..
|
|
|
|
|
Run the project (debug build) in the debugger. When the ASSERT fires select the option which breaks into the debugger then display the stack trace window. Copy the contents from this window and post it.
Steve
|
|
|
|
|
Thx's for help
Can you help me for this error.When i set the properties[code]Use Multi-Byte Character Set[/code] then i am geting error like this [code]mt.exe : general error c101008a: Failed to save the updated manifest to the file ".\Debug\HWDetect.exe.embed.manifest". The parameter is incorrect.[/code].
But when i set the proreties[code]Use Unicode Character Set[/code] then it is working fine. But i want to set MultiByte so plz help me..
|
|
|
|
|
Look at line 330 of wincore.cpp. That will tell you what condition is being asserted. You may also need to look at the statements that got you to line 330 of wincore.cpp.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Hi,
I have opened an mfc application and when i go to its resource view and try to open any dialog box i get the following error.
"This file has been modified outside of the source editor.Do you want to reloead it?"
It has two options YES or NO. Even if i press YES or NO the message keeps on getting displayed and finally I have to close the application and reopen it.
Can anyone tell me whats the problem.
Thanks in advance.
Dhiraj Kumar Saini
|
|
|
|
|
Dhiraj kumar Saini wrote: and reopen it.
Everything works in order when you open the application for the next time.
Probably your source/resource file is getting modified time and again by some external application. VS detects this and asks you if you really want to reload it. Don't have any idea from your query about the type of application you are working on, but this may be one of the cause.
Another cause could be VS has gone corrupt...The chances are few though
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hi,
I am working on an mfc application which is providing online support to customer. It is getting connected to a server and is areal time application.
Thanks.
Dhiraj Kumar Saini
|
|
|
|
|
you need are full rebuild of your app. The resources were going bad.
This is a feature of VS not a bug.
Greetings from Germany
|
|
|
|
|
hi,
Can you elaborate it.
Thanx
|
|
|
|