Click here to Skip to main content
15,915,093 members
Home / Discussions / C#
   

C#

 
QuestionOLE DB problem Pin
Tyrus18224-Feb-06 15:29
Tyrus18224-Feb-06 15:29 
AnswerRe: OLE DB problem Pin
Sean8924-Feb-06 15:32
Sean8924-Feb-06 15:32 
GeneralRe: OLE DB problem Pin
Tyrus18224-Feb-06 15:48
Tyrus18224-Feb-06 15:48 
GeneralRe: OLE DB problem Pin
Sean8924-Feb-06 16:11
Sean8924-Feb-06 16:11 
GeneralRe: OLE DB problem Pin
Tyrus18224-Feb-06 16:37
Tyrus18224-Feb-06 16:37 
GeneralRe: OLE DB problem Pin
Dave Kreskowiak24-Feb-06 16:43
mveDave Kreskowiak24-Feb-06 16:43 
QuestionHow to extract services information Pin
Johny Ng24-Feb-06 15:28
Johny Ng24-Feb-06 15:28 
QuestionPointing to an array Pin
Lawx0124-Feb-06 11:59
Lawx0124-Feb-06 11:59 
Hi everyone,

For a quite complicated and boring purpose, let's say a project for the university, I have to find a way to create a pointer on an array of int. It sounds easy and in C++ it would take 1 second. But in C#, I don't know how to do that. Has someone an idea?
I let you a few lines of code that does NOT compile because it tries to get a pointer from a managed type:
unsafe
{
int* ptr;
int [] array = new int[SIZE];
ptr = &array;
}

the same error appears with an array of float or of byte.
I have tried to use the 'fixed' keyword, but that didn't help neither.

AnswerRe: Pointing to an array Pin
leppie24-Feb-06 13:13
leppie24-Feb-06 13:13 
QuestionQuery About Coding Patterns Pin
Richard Andrew x6424-Feb-06 11:28
professionalRichard Andrew x6424-Feb-06 11:28 
AnswerRe: Query About Coding Patterns Pin
Colin Angus Mackay25-Feb-06 1:10
Colin Angus Mackay25-Feb-06 1:10 
QuestionHow to do this???? Pin
Scorpion Rojo24-Feb-06 11:16
Scorpion Rojo24-Feb-06 11:16 
AnswerRe: How to do this???? Pin
leppie24-Feb-06 13:10
leppie24-Feb-06 13:10 
AnswerRe: How to do this???? Pin
shabonaa25-Feb-06 0:26
shabonaa25-Feb-06 0:26 
QuestionIs the code ok??? Pin
Small Rat24-Feb-06 9:25
Small Rat24-Feb-06 9:25 
AnswerRe: Is the code ok??? Pin
Judah Gabriel Himango24-Feb-06 9:46
sponsorJudah Gabriel Himango24-Feb-06 9:46 
GeneralRe: Is the code ok??? Pin
Small Rat24-Feb-06 9:56
Small Rat24-Feb-06 9:56 
QuestionHow to clean up start menu when uninstall Pin
xjsun24-Feb-06 9:24
xjsun24-Feb-06 9:24 
AnswerRe: How to clean up start menu when uninstall Pin
Sean8924-Feb-06 10:45
Sean8924-Feb-06 10:45 
GeneralRe: How to clean up start menu when uninstall Pin
xjsun24-Feb-06 10:55
xjsun24-Feb-06 10:55 
QuestionSQLServer connection Pin
ytubis24-Feb-06 8:00
ytubis24-Feb-06 8:00 
AnswerRe: SQLServer connection Pin
BlackDice24-Feb-06 8:08
BlackDice24-Feb-06 8:08 
GeneralRe: SQLServer connection Pin
ytubis24-Feb-06 8:17
ytubis24-Feb-06 8:17 
GeneralRe: SQLServer connection Pin
BlackDice24-Feb-06 8:50
BlackDice24-Feb-06 8:50 
AnswerRe: SQLServer connection Pin
Felipe Dalorzo24-Feb-06 8:48
Felipe Dalorzo24-Feb-06 8:48 

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.