Click here to Skip to main content
15,895,799 members
Home / Discussions / C#
   

C#

 
AnswerRe: Using Controls from plugin dll's Pin
Sebastian Schneider29-Aug-06 4:38
Sebastian Schneider29-Aug-06 4:38 
QuestionTransition between forms, next, back buttons Pin
Saamir29-Aug-06 3:44
Saamir29-Aug-06 3:44 
AnswerRe: Transition between forms, next, back buttons Pin
Sebastian Schneider29-Aug-06 4:33
Sebastian Schneider29-Aug-06 4:33 
GeneralRe: Transition between forms, next, back buttons Pin
Saamir29-Aug-06 5:02
Saamir29-Aug-06 5:02 
AnswerRe: Transition between forms, next, back buttons Pin
Nader Elshehabi29-Aug-06 7:32
Nader Elshehabi29-Aug-06 7:32 
QuestionRemoting with IPC Pin
ejuanpp29-Aug-06 3:34
ejuanpp29-Aug-06 3:34 
QuestionInt16 is not Int16 are you missing a cast? Pin
MY120129-Aug-06 3:27
MY120129-Aug-06 3:27 
AnswerRe: Int16 is not Int16 are you missing a cast? Pin
Dan Neely29-Aug-06 3:37
Dan Neely29-Aug-06 3:37 
Bad Robot wrote:
As far as I can see IL adds the numbers as ldc.i4. is this integer 4 byte? Because if it is, why does it not get the numbers from ldc.i2. instead? Since my variables are of the type Int16?

Can anybody tell me why?


That is what is happening. It's needed because adding two int16's could overflow and require an Int32 to store the result. Forcing an explicit cast is intended to make the developer aware of the failcase at design time rather than having a user discover it via a runtime exception.
GeneralRe: Int16 is not Int16 are you missing a cast? Pin
User 665829-Aug-06 3:52
User 665829-Aug-06 3:52 
AnswerRe: Int16 is not Int16 are you missing a cast? [modified] Pin
User 665829-Aug-06 3:46
User 665829-Aug-06 3:46 
GeneralRe: Int16 is not Int16 are you missing a cast? Pin
Dave Kreskowiak29-Aug-06 4:26
mveDave Kreskowiak29-Aug-06 4:26 
AnswerRe: Int16 is not Int16 are you missing a cast? Pin
Mike Dimmick29-Aug-06 6:46
Mike Dimmick29-Aug-06 6:46 
QuestionDeclare class as partial class in CodeDOM Pin
Ista29-Aug-06 3:23
Ista29-Aug-06 3:23 
AnswerRe: Declare class as partial class in CodeDOM Pin
Ista29-Aug-06 3:26
Ista29-Aug-06 3:26 
GeneralRe: Declare class as partial class in CodeDOM Pin
Marcos Accioly29-Aug-06 3:29
Marcos Accioly29-Aug-06 3:29 
QuestionUsing .NET's WMI to Identify Pen-Drive's Unique ID Pin
Marcos Accioly29-Aug-06 3:22
Marcos Accioly29-Aug-06 3:22 
AnswerRe: Using .NET's WMI to Identify Pen-Drive's Unique ID Pin
mav.northwind29-Aug-06 8:25
mav.northwind29-Aug-06 8:25 
GeneralRe: Using .NET's WMI to Identify Pen-Drive's Unique ID Pin
Marcos Accioly29-Aug-06 9:09
Marcos Accioly29-Aug-06 9:09 
GeneralRe: Using .NET's WMI to Identify Pen-Drive's Unique ID Pin
Dave Kreskowiak29-Aug-06 9:17
mveDave Kreskowiak29-Aug-06 9:17 
GeneralRe: Using .NET's WMI to Identify Pen-Drive's Unique ID Pin
mav.northwind29-Aug-06 10:24
mav.northwind29-Aug-06 10:24 
GeneralRe: Using .NET's WMI to Identify Pen-Drive's Unique ID Pin
Marcos Accioly29-Aug-06 10:29
Marcos Accioly29-Aug-06 10:29 
GeneralRe: Using .NET's WMI to Identify Pen-Drive's Unique ID Pin
mav.northwind29-Aug-06 10:35
mav.northwind29-Aug-06 10:35 
GeneralRe: Using .NET's WMI to Identify Pen-Drive's Unique ID Pin
Marcos Accioly30-Aug-06 3:48
Marcos Accioly30-Aug-06 3:48 
GeneralRe: Using .NET's WMI to Identify Pen-Drive's Unique ID Pin
mav.northwind1-Sep-06 4:11
mav.northwind1-Sep-06 4:11 
QuestionHow to pass parameters to MATLAB function (.dll file) Pin
Jr.Allam29-Aug-06 2:59
Jr.Allam29-Aug-06 2:59 

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.