Click here to Skip to main content
15,894,083 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Error executing C++ project compiled with /clr flag Pin
wubygtr9-Nov-11 9:45
wubygtr9-Nov-11 9:45 
GeneralRe: Error executing C++ project compiled with /clr flag Pin
John Schroedl16-Nov-11 1:52
professionalJohn Schroedl16-Nov-11 1:52 
GeneralRe: Error executing C++ project compiled with /clr flag Pin
wubygtr16-Nov-11 10:09
wubygtr16-Nov-11 10:09 
QuestionFreeze a program and hold execution Pin
Brandon-X120001-Nov-11 11:42
Brandon-X120001-Nov-11 11:42 
AnswerRe: Freeze a program and hold execution Pin
Richard MacCutchan1-Nov-11 23:11
mveRichard MacCutchan1-Nov-11 23:11 
AnswerRe: Freeze a program and hold execution Pin
John Schroedl2-Nov-11 2:42
professionalJohn Schroedl2-Nov-11 2:42 
GeneralRe: Freeze a program and hold execution Pin
Brandon-X120009-Nov-11 0:17
Brandon-X120009-Nov-11 0:17 
AnswerRe: Freeze a program and hold execution Pin
jschell3-Nov-11 8:47
jschell3-Nov-11 8:47 
There is no "freeze". It is a block.

A application start without AV would look something like this.
1. User requests app start
2. Windows itself calls a low level method called X
3. X returns after doing something
4. Other stuff happens in windows
5. App starts

With AV in place the above process becomes the following instead.
1. User requests app start
2. Windows itself calls a low level method called X
a. Call to AV is made
b. AV does stuf
c. AV displays dialog
d. (other stuff.)
3. X returns after doing something
4. Other stuff happens in windows
5. App starts

In the above c blocks waiting on the user. Since it blocks 2 blocks. Since 2 blocks the entire process blocks.

The AV accomplishes this by hooking into windows low level functionality. AV apps probably use quite a few different low level API hooks but in terms of this question only the specific one is called "File System Filter Drivers".

See the following.

http://msdn.microsoft.com/en-us/windows/hardware/gg462968.aspx[^]
AnswerRe: Freeze a program and hold execution Pin
elgaabeb9-Dec-11 2:56
elgaabeb9-Dec-11 2:56 
QuestionRunning into issue of managed and unmanaged code Pin
Vijay Rajanna28-Oct-11 7:35
Vijay Rajanna28-Oct-11 7:35 
AnswerRe: Running into issue of managed and unmanaged code Pin
Mark Salsbery29-Oct-11 6:26
Mark Salsbery29-Oct-11 6:26 
Questionh Pin
rashaangel127-Oct-11 7:52
rashaangel127-Oct-11 7:52 
AnswerRe: h Pin
Richard MacCutchan27-Oct-11 22:13
mveRichard MacCutchan27-Oct-11 22:13 
AnswerRe: My vote of 1 Pin
phil.o27-Oct-11 23:58
professionalphil.o27-Oct-11 23:58 
GeneralRe: My vote of 1 Pin
Richard MacCutchan28-Oct-11 0:47
mveRichard MacCutchan28-Oct-11 0:47 
GeneralRe: My vote of 1 Pin
phil.o28-Oct-11 2:08
professionalphil.o28-Oct-11 2:08 
QuestionHow to use Callback interface from unmanaged code in Managed C++ Pin
dadagiri12322-Oct-11 0:14
dadagiri12322-Oct-11 0:14 
AnswerRe: How to use Callback interface from unmanaged code in Managed C++ Pin
Adam Roderick J26-Oct-11 21:28
Adam Roderick J26-Oct-11 21:28 
GeneralRe: How to use Callback interface from unmanaged code in Managed C++ Pin
Richard MacCutchan26-Oct-11 23:02
mveRichard MacCutchan26-Oct-11 23:02 
AnswerRe: How to use Callback interface from unmanaged code in Managed C++ Pin
Bob Ciora16-Nov-11 0:59
Bob Ciora16-Nov-11 0:59 
QuestionHow and which technology (.NET-WinForms,C++-MIDI MFC based) is the best to use for reading and writing COM Port data? Pin
glitteringsound11-Oct-11 21:55
glitteringsound11-Oct-11 21:55 
Questionprinter driver Pin
dufduf7-Oct-11 20:11
dufduf7-Oct-11 20:11 
AnswerRe: printer driver Pin
Luc Pattyn8-Oct-11 3:48
sitebuilderLuc Pattyn8-Oct-11 3:48 
Question[Need Help] some thing about output Pin
Mike@Shanghai3-Oct-11 22:58
Mike@Shanghai3-Oct-11 22:58 
AnswerRe: [Need Help] some thing about output Pin
Mike@Shanghai3-Oct-11 23:04
Mike@Shanghai3-Oct-11 23:04 

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.