Hi All, I am currently interested in finding how firewall (in Windows) works. I could find information regarding packet filtering, but I am wondering how to directly blocked/denied a program (let's say IE @_@) to access to internet since I can find such functionality on existing firewall application (e.g. Windows defender firewall/ZoneAlarm). Would you help to provide some information regarding this? (Website/document/reference) Thanks! Yours, Vincent
StarMeteor
Posts
-
How to block another program internet access? -
PNG Alpha blending/channel in VC++ 6.0?Hi Mark, Thanks for your reply ^^ err... what I wrote right now is exactly same as yours... (even the file name ) however, the outcome is just a dark background but not transparent... Maybe I put at a wrong message call location? I put the above code under OnEraseBackground() Vincent
-
PNG Alpha blending/channel in VC++ 6.0?I called it at OnEraseBackground() I would like to have a transparent background (i.e. I set the desktop background to black/white, I hope the image boundary will be "blur" with the work of alpha bending). I am not sure if what I do is right, however, with using the
Graphics::SetCompositingMode()
, it seems that theGraphics::DrawImage()
method will not directly apply the alpha bending information? ( I useBitmap::GetPixelFormat()
to verify the input image is a PixelFormat32bppARGB type, which means it should include the alpha channel) -
PNG Alpha blending/channel in VC++ 6.0?Hi All, I am writing an application which try to show PNG file as a dialog background using GDI+ I have successfully using the PNG as background (using
Graphics::DrawImage()
), however, I found that the loaded PNG seems not apply the alpha channel information. What I should do? Thanks! (sorry for repeat posting if there is any) Vincent -
PNG Alpha blending/channel in VC++ 6.0?Hi All, I am writing an application which try to show PNG file as a dialog background using GDI+ I have successfully using the PNG as background (using
Graphics::DrawImage()
), however, I found that the loaded PNG seems not apply the alpha channel information. What I should do? Thanks!:-D Vincent -
Any method to detect the PC wake up from "stand-by" situation?Hi all, I am writting a program which would like to detect if the PC is waken-up when it is in "stand-by" mode. Is there any method to do so? any reference source/material is welcome, thanks~
-
Method to change default audio device programmaticallyReally thanks for your help ^^
-
Any method to change default audio device programmatically?Just export to search in UltraEdit for confirm issue ^^ Really thanks for your help ^^
-
Any method to change default audio device programmatically?i have tried to export the registry and check but still fail to found...it sounds strange ..:((
-
Method to change default audio device programmaticallyThanks for you reply :) however, I found a problem ... I use regedit to look into registy but fail to locate the key you mention.... any suggestion? Thanks
-
Any method to change default audio device programmatically?Thanks for you reply, however, i use regedit and cannot locate the key you mention.... any suggestion? :confused: thanks :-D
-
Please help for generating exe file!have you try to generate a release version?
-
Any method to change default audio device programmatically?Hi All, currently i am developing an application for audio playback, including local and online resources. I planned to use WMP SDK to help, however, one of my function needs me to be able to select/change the default audio device, however, it is not support by the SDK. I would like to know is there any other method to do so? (just like Skype/WMP itself hae similar function) thanks a lot~ :)
-
Method to change default audio device programmaticallyHi All, currently i am developing an application for audio playback, including local and online resources. I planned to use WMP SDK to help, however, one of my function needs me to be able to select/change the default audio device, however, it is not support by the SDK. I would like to know is there any other method to do so? thanks a lot
-
About using WMP10 in MFCHi All, Recently I tried to write a little player with the help of WMP10 SDK. To start with, I read the information provided from MSDN and try to follow the steps provide. Using the Windows Media Player Control in a C++ Program All things work well until to the section of non-wrapper class, I find that when I copy and paste the code provided to have a test error reported....:sigh: would anyone mind to advise me on what I have missed? (For the wrapper class there is no problem ...) Really thanks!;)
-
Help in closing main application from child windowhmm.... those thread are worker thread or UI thread? :doh:
-
Help in closing main application from child windowthere is a problem assume your OnKeyFunction1 at parent (CMainWindow::OnKeyFunction1()) is for closing the application, in it you will KILL the child (i.e. delete the pointer of child window or equivlant) and so the function don't know how to return to the child part (CChildWindow::OnKeyFunction1)!! so, what you have to do is change the structure: 1. Use callback function to use parent window function instead of directly calling, callback allow window to handle when to call the function 2. Use Send message as the "tunnel" for commuincation for some command function 3. try to build the function in child only if it only consider to be used in child hope this help!
-
Help in closing main application from child windowI assume what you have done is as follow:
// in Main dialog (CMainDlg), // Contain a member variable pointer of CChildDlg, so call dChildDlg // At OnInitDialog() of CMainDlg { /* Something */ dChildDlg = new CChildDlg; dChildDlg->Create(/*some param.*/); /* Something */ };
If the case is similar, maybe you check if you call :delete dChildDlg
somewhere before you call:dChildDlg->DestroyWindow()
Hope this help a bit~ -- modified at 4:35 Friday 6th January, 2006 -
Help in closing main application from child windowHow you create the child window? :^) In addition, have you trace in debug window line by line to see at which line the problem occur? ;)
-
Help in closing main application from child windowInstead of using PostMessage function, I use SendMessage with the message as "WM_SYSCOMMAND" here is the example:
::SendMessage(pParent->m_hWnd,WM_SYSCOMMAND,SC_CLOSE,0);
I guess the assertion error may be related to your child window? You should better have a look what you have done on Destroying child window, especially pointers stuff ..... :(( Hope this help