Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem using const float ** Pin
Andrew Brock6-Feb-11 23:41
Andrew Brock6-Feb-11 23:41 
QuestionDoModal [modified] Pin
john56326-Feb-11 20:16
john56326-Feb-11 20:16 
AnswerRe: DoModal Pin
Cedric Moonen6-Feb-11 21:30
Cedric Moonen6-Feb-11 21:30 
QuestionHow to provent text selection in CComboBox ? Pin
mesajflaviu6-Feb-11 20:01
mesajflaviu6-Feb-11 20:01 
AnswerRe: How to provent text selection in CComboBox ? Pin
mesajflaviu6-Feb-11 20:20
mesajflaviu6-Feb-11 20:20 
QuestionRe: How to provent text selection in CComboBox ? Pin
David Crow7-Feb-11 3:27
David Crow7-Feb-11 3:27 
AnswerRe: How to provent text selection in CComboBox ? Pin
mesajflaviu7-Feb-11 5:06
mesajflaviu7-Feb-11 5:06 
QuestionReading the file that create from "Print to file" option Pin
Max++6-Feb-11 16:09
Max++6-Feb-11 16:09 
AnswerRe: Reading the file that create from "Print to file" option Pin
Andrew Brock6-Feb-11 18:38
Andrew Brock6-Feb-11 18:38 
Questionhello, anyone have an idea of a code in MFC to shut down with time the pc ? in Vs 2008 ? Pin
leech4ever6-Feb-11 13:49
leech4ever6-Feb-11 13:49 
AnswerRe: hello, anyone have an idea of a code in MFC to shut down with time the pc ? in Vs 2008 ? Pin
«_Superman_»6-Feb-11 15:13
professional«_Superman_»6-Feb-11 15:13 
AnswerRe: hello, anyone have an idea of a code in MFC to shut down with time the pc ? in Vs 2008 ? Pin
Andrew Brock6-Feb-11 15:23
Andrew Brock6-Feb-11 15:23 
QuestionHow to make a book provision for multiple authors Pin
Horace Cheng6-Feb-11 11:49
Horace Cheng6-Feb-11 11:49 
AnswerRe: How to make a book provision for multiple authors Pin
Maximilien6-Feb-11 17:11
Maximilien6-Feb-11 17:11 
AnswerRe: How to make a book provision for multiple authors Pin
Richard MacCutchan6-Feb-11 22:08
mveRichard MacCutchan6-Feb-11 22:08 
QuestionBluetooth socket programming Pin
Pranit Kothari6-Feb-11 7:05
Pranit Kothari6-Feb-11 7:05 
AnswerRe: Bluetooth socket programming Pin
Cool_Dev6-Feb-11 18:12
Cool_Dev6-Feb-11 18:12 
GeneralRe: Bluetooth socket programming Pin
Pranit Kothari6-Feb-11 18:29
Pranit Kothari6-Feb-11 18:29 
AnswerRe: Bluetooth socket programming Pin
Andrew Brock6-Feb-11 18:43
Andrew Brock6-Feb-11 18:43 
RantRe: Bluetooth socket programming Pin
Pranit Kothari6-Feb-11 18:49
Pranit Kothari6-Feb-11 18:49 
AnswerRe: Bluetooth socket programming Pin
8140320-Apr-11 1:40
8140320-Apr-11 1:40 
QuestionHow to block URL Pin
Pranit Kothari6-Feb-11 6:57
Pranit Kothari6-Feb-11 6:57 
AnswerRe: How to block URL Pin
csrss6-Feb-11 8:24
csrss6-Feb-11 8:24 
There are couple of things i can think off.
1. put sites url to a ini file for example then use API for working with inifiles (write / read profilestring)
2. get a list from ini file and resolve each site's ip
3. put then these ips into C:\Windows\System32\drivers\etc\hosts file and redirect to localhost for example
4. write a driver to disable write permissions on that file (you need to hook ntwritefile and some more)
5. that still will not block apps, which use custom resolver (anyways, most of apps use gethostbyname).
Or, maybe, detect network threads, then inject own thread into them and block access to a site on that level.
011011010110000101100011011010000110100101101110
0110010101110011

QuestionRe: How to block URL Pin
Pranit Kothari6-Feb-11 17:13
Pranit Kothari6-Feb-11 17:13 
AnswerRe: How to block URL Pin
David Crow7-Feb-11 3:31
David Crow7-Feb-11 3:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.