RE: managed app using unmanaged dll to access LPT
- From: v-phuang@xxxxxxxxxxxxxxxxxxxx ("Peter Huang" [MSFT])
- Date: Thu, 12 May 2005 03:01:32 GMT
Hi
In .NET, we have a new feature which is called Code Access Security.
The caspol -s off will turn off the CAS check.
I suggest you do that to try to isolate the problem from CAS check effect
because the .NET code will do CAS check as well as Windows security check,
while the C++ applicaiton will only do Windows Security check.
Based on our test so far, it seems that all is OK on your problem machine.
The C++ code will work, the other .NET application will works.
It seems that the machine worked with the Device, and the .NET framework is
installed properly.
Since we have no access to the lpt.dll's source code, we have no idea
about what it is doing inside.
So far it is really hard to guess what had happened without further
troubleshooting.
For such hang scenario, we need create a hang dump and do further analysis
but this is provided by MSPSS. That is why I suggest you contact MSPSS
directly.
If you still have any concern, please feel free to post here.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- managed app using unmanaged dll to access LPT
- From: Stefan G.
- RE: managed app using unmanaged dll to access LPT
- From: "Peter Huang" [MSFT]
- RE: managed app using unmanaged dll to access LPT
- From: Stefan G.
- RE: managed app using unmanaged dll to access LPT
- From: "Peter Huang" [MSFT]
- RE: managed app using unmanaged dll to access LPT
- From: Stefan G.
- managed app using unmanaged dll to access LPT
- Prev by Date: Slow moving data from ADO.Net DataTable to Excel
- Next by Date: Found solution
- Previous by thread: RE: managed app using unmanaged dll to access LPT
- Next by thread: managed app using unmanaged dll to access LPT
- Index(es):
Relevant Pages
|