Click here to Skip to main content
15,911,035 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionDataGridView filter Pin
kensai6-Nov-08 2:00
kensai6-Nov-08 2:00 
AnswerRe: DataGridView filter Pin
Wendelius6-Nov-08 8:51
mentorWendelius6-Nov-08 8:51 
QuestionHow to create crystal report using generic list Pin
ShaikhShahnawaz5-Nov-08 23:44
ShaikhShahnawaz5-Nov-08 23:44 
QuestionMicrosoftReportViewer Pin
hmklakmal4-Nov-08 1:23
hmklakmal4-Nov-08 1:23 
AnswerRe: MicrosoftReportViewer Pin
Wendelius4-Nov-08 6:16
mentorWendelius4-Nov-08 6:16 
GeneralRe: MicrosoftReportViewer Pin
hmklakmal4-Nov-08 14:52
hmklakmal4-Nov-08 14:52 
QuestionThings related with Unmanaged code [modified] Pin
Member 45546493-Nov-08 19:25
Member 45546493-Nov-08 19:25 
AnswerRe: Things related with Unmanaged code Pin
Dave Kreskowiak4-Nov-08 3:56
mveDave Kreskowiak4-Nov-08 3:56 
Member 4554649 wrote:
1. If i have unmanaged code like C or C++ in my C# application then who is going to compile this code ?


You cannot have mixed languages in the same project. So, yes, you can have a C# project and a C++ project in the same solution. Seperate compilers would have to compile each project, depending on the language used in that project.


Member 4554649 wrote:
2. Can we have intermediate Language (MSIL) for unsafe code?


The question doesn't make sense. All managed code (C#, VB.NET, C++ CLI, ...) is compiled to MSIL, so yes, in all cases, you have MSIL code in unsafe code blocks. But, I don't think that's what you're asking.


Member 4554649 wrote:
3. What compiler will do when we make true for "Allow unsafe code" setting in build option of configuration.


This makes me wonder if you know what "unsafe" code is. An unsafe code block is just a block of code that uses pointers. Since pointer math and types cannot be verified safe at runtime, it's called unsafe code. The Unsafe keyword just tells the compiler that this section of code cannot be verified type safe, so it needs to relax it rules a bit in this section in order to successfully compile the code.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Things related with Unmanaged code Pin
Member 45546494-Nov-08 18:53
Member 45546494-Nov-08 18:53 
GeneralRe: Things related with Unmanaged code Pin
Simon P Stevens4-Nov-08 23:23
Simon P Stevens4-Nov-08 23:23 
QuestionVSTO application deployment Pin
tozy3-Nov-08 19:16
tozy3-Nov-08 19:16 
AnswerStop cross posting Pin
Simon P Stevens4-Nov-08 2:04
Simon P Stevens4-Nov-08 2:04 
Question.Net API GetMembers(BindingFlags) returns some additional members. Pin
Manish Paul3-Nov-08 5:58
Manish Paul3-Nov-08 5:58 
AnswerRe: .Net API GetMembers(BindingFlags) returns some additional members. Pin
Mark Churchill3-Nov-08 14:09
Mark Churchill3-Nov-08 14:09 
QuestionHow do I suppress the SelectAll when tabbing into a ComboBox? Pin
Poolee2-Nov-08 18:51
Poolee2-Nov-08 18:51 
AnswerRe: How do I suppress the SelectAll when tabbing into a ComboBox? Pin
Wendelius3-Nov-08 9:09
mentorWendelius3-Nov-08 9:09 
GeneralRe: How do I suppress the SelectAll when tabbing into a ComboBox? Pin
Poolee3-Nov-08 13:06
Poolee3-Nov-08 13:06 
GeneralRe: How do I suppress the SelectAll when tabbing into a ComboBox? Pin
Wendelius3-Nov-08 17:53
mentorWendelius3-Nov-08 17:53 
QuestionHow to transfer file via bluetooth from desktop PC to Windows Mobile Device Pin
yudhisthira31-Oct-08 19:17
yudhisthira31-Oct-08 19:17 
AnswerRe: How to transfer file via bluetooth from desktop PC to Windows Mobile Device Pin
Giorgi Dalakishvili2-Nov-08 4:32
mentorGiorgi Dalakishvili2-Nov-08 4:32 
QuestionHow to show the windows File Association form? Pin
ninkk31-Oct-08 8:21
ninkk31-Oct-08 8:21 
AnswerRe: How to show the windows File Association form? Pin
ninkk2-Nov-08 7:17
ninkk2-Nov-08 7:17 
QuestionChange class inheritance at runtime Pin
jpsstavares31-Oct-08 1:18
jpsstavares31-Oct-08 1:18 
AnswerRe: Change class inheritance at runtime Pin
Pete O'Hanlon31-Oct-08 1:54
mvePete O'Hanlon31-Oct-08 1:54 
GeneralRe: Change class inheritance at runtime Pin
jpsstavares31-Oct-08 2:00
jpsstavares31-Oct-08 2:00 

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.