Click here to Skip to main content
15,888,155 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is there anything built in for distributed applications? Pin
SledgeHammer0115-Mar-11 12:44
SledgeHammer0115-Mar-11 12:44 
GeneralRe: Is there anything built in for distributed applications? Pin
Mycroft Holmes15-Mar-11 14:09
professionalMycroft Holmes15-Mar-11 14:09 
GeneralRe: Is there anything built in for distributed applications? Pin
SledgeHammer0115-Mar-11 14:24
SledgeHammer0115-Mar-11 14:24 
AnswerIt's Similar with my case. Pin
SungBae.Han15-Mar-11 13:16
SungBae.Han15-Mar-11 13:16 
AnswerRe: Is there anything built in for distributed applications? Pin
Albert Holguin15-Mar-11 13:31
professionalAlbert Holguin15-Mar-11 13:31 
AnswerRe: Is there anything built in for distributed applications? Pin
GlobX15-Mar-11 20:01
GlobX15-Mar-11 20:01 
Question_msize() on managed data arrays? Pin
Chesnokov Yuriy15-Mar-11 8:38
professionalChesnokov Yuriy15-Mar-11 8:38 
AnswerRe: _msize() on managed data arrays? Pin
_Erik_16-Mar-11 4:13
_Erik_16-Mar-11 4:13 
Hello. Looking at the documentation for _msize function, it says that it returns the length of a memory block allocated by calloc, malloc or realloc so, since your byte[] arrays are allocated into the managed heap, I think it will not work unless you use Marshal.AllocHGlobal (and I am not sure if this would work) to allocate the memory and then copy data from managed heap to unmanaged heap and viceversa.

stackalloc could be used for one dimensional arrays becouse it is very similar to C _alloca function but, as far as I know, it is not possible in other cases, becouse stackalloc keyword can only be used when declaring and initializing a variable, I mean:

C#
byte* pt = stackalloc byte[100]; // this is fine

byte* pt2;
pt2 = stackalloc byte[100]; // this does not work

QuestionImage Quality Improve Pin
Orcun Iyigun15-Mar-11 8:21
Orcun Iyigun15-Mar-11 8:21 
AnswerRe: Image Quality Improve Pin
Luc Pattyn15-Mar-11 8:42
sitebuilderLuc Pattyn15-Mar-11 8:42 
GeneralRe: Image Quality Improve Pin
Orcun Iyigun15-Mar-11 9:14
Orcun Iyigun15-Mar-11 9:14 
QuestionCrystal Reports Problem Pin
Kevin Marois15-Mar-11 8:00
professionalKevin Marois15-Mar-11 8:00 
AnswerRe: Crystal Reports Problem Pin
Q_rioso28-Apr-11 1:34
Q_rioso28-Apr-11 1:34 
Questionrun program from many PCs and database in one machine ? Pin
Nabawoka15-Mar-11 6:53
Nabawoka15-Mar-11 6:53 
AnswerRe: run program from many PCs and database in one machine ? Pin
Praveen Raghuvanshi15-Mar-11 7:02
professionalPraveen Raghuvanshi15-Mar-11 7:02 
GeneralRe: run program from many PCs and database in one machine ? Pin
Nabawoka15-Mar-11 7:05
Nabawoka15-Mar-11 7:05 
AnswerRe: run program from many PCs and database in one machine ? Pin
Dan Mos15-Mar-11 7:50
Dan Mos15-Mar-11 7:50 
GeneralRe: run program from many PCs and database in one machine ? Pin
Nabawoka15-Mar-11 8:16
Nabawoka15-Mar-11 8:16 
GeneralRe: run program from many PCs and database in one machine ? Pin
Dan Mos15-Mar-11 8:25
Dan Mos15-Mar-11 8:25 
QuestionCoverting MP3's to MP3 Pro VBR Pin
Chrispie12315-Mar-11 4:59
Chrispie12315-Mar-11 4:59 
QuestionEncryption with advapi32.dll Pin
garfield18515-Mar-11 3:38
garfield18515-Mar-11 3:38 
AnswerRe: Encryption with advapi32.dll Pin
Richard MacCutchan15-Mar-11 3:47
mveRichard MacCutchan15-Mar-11 3:47 
GeneralRe: Encryption with advapi32.dll Pin
garfield18515-Mar-11 4:45
garfield18515-Mar-11 4:45 
GeneralRe: Encryption with advapi32.dll Pin
Richard MacCutchan15-Mar-11 4:56
mveRichard MacCutchan15-Mar-11 4:56 
GeneralRe: Encryption with advapi32.dll Pin
garfield18515-Mar-11 5:06
garfield18515-Mar-11 5:06 

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.