Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
GeneralRe: Searching for an open socket on a local network Pin
Jordanwb15-Apr-08 14:16
Jordanwb15-Apr-08 14:16 
GeneralRe: Searching for an open socket on a local network Pin
Luc Pattyn15-Apr-08 14:24
sitebuilderLuc Pattyn15-Apr-08 14:24 
GeneralRe: Searching for an open socket on a local network [modified] Pin
Jordanwb15-Apr-08 14:29
Jordanwb15-Apr-08 14:29 
GeneralProblem with publishing an application Pin
EladKatz15-Apr-08 12:00
EladKatz15-Apr-08 12:00 
GeneralRe: Problem with publishing an application Pin
Judah Gabriel Himango15-Apr-08 12:21
sponsorJudah Gabriel Himango15-Apr-08 12:21 
QuestionRe: Problem with publishing an application Pin
EladKatz15-Apr-08 19:56
EladKatz15-Apr-08 19:56 
AnswerRe: Problem with publishing an application Pin
Judah Gabriel Himango16-Apr-08 4:10
sponsorJudah Gabriel Himango16-Apr-08 4:10 
Generalcommon_documents folder Pin
Glen Harvy15-Apr-08 11:58
Glen Harvy15-Apr-08 11:58 
GeneralRe: common_documents folder Pin
Judah Gabriel Himango15-Apr-08 12:17
sponsorJudah Gabriel Himango15-Apr-08 12:17 
GeneralRe: common_documents folder Pin
Glen Harvy15-Apr-08 13:39
Glen Harvy15-Apr-08 13:39 
GeneralRe: common_documents folder Pin
Judah Gabriel Himango16-Apr-08 4:38
sponsorJudah Gabriel Himango16-Apr-08 4:38 
GeneralRe: common_documents folder Pin
Scott Dorman19-Apr-08 8:40
professionalScott Dorman19-Apr-08 8:40 
GeneralExtracting An IE shortcut's icon Pin
sagedread15-Apr-08 10:41
sagedread15-Apr-08 10:41 
GeneralRe: Extracting An IE shortcut's icon Pin
Judah Gabriel Himango15-Apr-08 11:50
sponsorJudah Gabriel Himango15-Apr-08 11:50 
GeneralRe: Extracting An IE shortcut's icon Pin
sagedread15-Apr-08 14:54
sagedread15-Apr-08 14:54 
GeneralRe: Extracting An IE shortcut's icon Pin
Judah Gabriel Himango16-Apr-08 4:30
sponsorJudah Gabriel Himango16-Apr-08 4:30 
QuestionHow to pass object array to unmanaged C++ Pin
Alan Balkany15-Apr-08 10:13
Alan Balkany15-Apr-08 10:13 
Hello,

I'm trying to pass an array of a type I've defined to unmanaged C++.

If I declare the parameter as: func (BitmapInfo* objects...
I get the error: "Cannot take the address of, get the size of, or declare a pointer to an unmanaged type." (This is even with BitmapInfo declared with the "unsafe" attribute.)

If I declare it as: func (BitmapInfo [] objects...
It compiles, but crashes with the message: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

If I try to put the address in an IntPtr:

IntPtr arrayStart = (IntPtr) (&(objects [0]));
I get the first compile error again.

How can I pass a custom array to unmanaged code? Thanks!
AnswerRe: How to pass object array to unmanaged C++ Pin
Alan Balkany15-Apr-08 11:10
Alan Balkany15-Apr-08 11:10 
GeneralRe: How to pass object array to unmanaged C++ Pin
Luc Pattyn15-Apr-08 13:29
sitebuilderLuc Pattyn15-Apr-08 13:29 
GeneralRe: How to pass object array to unmanaged C++ Pin
Alan Balkany16-Apr-08 3:49
Alan Balkany16-Apr-08 3:49 
Generalrdlc repoting - center image in picturebox Pin
AJ du Plessis15-Apr-08 8:38
AJ du Plessis15-Apr-08 8:38 
GeneralRe: rdlc repoting - center image in picturebox Pin
Alan N15-Apr-08 8:50
Alan N15-Apr-08 8:50 
GeneralRe: rdlc repoting - center image in picturebox Pin
AJ du Plessis15-Apr-08 9:01
AJ du Plessis15-Apr-08 9:01 
GeneralKeyboard hooks and sendinput.. Pin
Bakaneko15-Apr-08 6:26
Bakaneko15-Apr-08 6:26 
GeneralRe: Keyboard hooks and sendinput.. Pin
Anthony Mushrow15-Apr-08 7:00
professionalAnthony Mushrow15-Apr-08 7: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.