Click here to Skip to main content
16,012,508 members
Home / Discussions / C#
   

C#

 
QuestionNot able to accomodate more number of lables Bar chart X-axix . It drops some of the labels :( ? Pin
BoboPupper18-Jun-08 1:48
BoboPupper18-Jun-08 1:48 
QuestionSending meeting request using Smtp Mail Pin
alok_2k318-Jun-08 1:29
alok_2k318-Jun-08 1:29 
AnswerRe: Sending meeting request using Smtp Mail Pin
vmtv28-Jun-10 0:43
vmtv28-Jun-10 0:43 
GeneralRe: Sending meeting request using Smtp Mail Pin
Mathew Chandy2-Feb-11 19:13
Mathew Chandy2-Feb-11 19:13 
Questionasp.net 3.5 case study Pin
arkiboys18-Jun-08 1:28
arkiboys18-Jun-08 1:28 
Question[Message Deleted] Pin
Kanthi.Adatrao18-Jun-08 1:28
Kanthi.Adatrao18-Jun-08 1:28 
AnswerRe: Kanthi Test PinPopular
J4amieC18-Jun-08 2:26
J4amieC18-Jun-08 2:26 
QuestionDllImport [modified] Pin
half-life18-Jun-08 0:49
half-life18-Jun-08 0:49 
Hi,

i've got a Dll and a Header in c

this is Function From The Header :

const char* __cdecl GetFieldDescription(const char* sFileName, short iMessageIndex, short iFieldIndex);


Ho do i Declare it using C# , i've Tried :

private static extern StringBuilder GetFieldDescription(string sFileName, short iMessageIndex, short iFieldIndex);


When I Call The Function I keep Getting an Exception:

"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

Where Do I Go Wrong?

Have Fun
Never forget it

modified on Wednesday, June 18, 2008 7:03 AM

AnswerRe: DllImport Pin
Alan Balkany18-Jun-08 3:20
Alan Balkany18-Jun-08 3:20 
GeneralRe: DllImport Pin
half-life18-Jun-08 4:00
half-life18-Jun-08 4:00 
Question.NET Remoting : 1 Client -> X Server Pin
stancrm18-Jun-08 0:33
stancrm18-Jun-08 0:33 
AnswerRe: .NET Remoting : 1 Client -> X Server Pin
joemonvarghese80@yahoo.co.in18-Jun-08 2:14
joemonvarghese80@yahoo.co.in18-Jun-08 2:14 
QuestionWhy Won't My MainForm Focus/Activate? Pin
Rafferty Uy18-Jun-08 0:30
Rafferty Uy18-Jun-08 0:30 
AnswerRe: Why Won't My MainForm Focus/Activate? Pin
Simon P Stevens18-Jun-08 0:47
Simon P Stevens18-Jun-08 0:47 
AnswerRe: Why Won't My MainForm Focus/Activate? Pin
ajtunbridge18-Jun-08 3:43
ajtunbridge18-Jun-08 3:43 
AnswerRe: Why Won't My MainForm Focus/Activate? Pin
Karthik Kalyanasundaram18-Jun-08 4:21
Karthik Kalyanasundaram18-Jun-08 4:21 
AnswerRe: Why Won't My MainForm Focus/Activate? Pin
Rafferty Uy18-Jun-08 15:21
Rafferty Uy18-Jun-08 15:21 
GeneralRe: Why Won't My MainForm Focus/Activate? Pin
Rafferty Uy18-Jun-08 15:45
Rafferty Uy18-Jun-08 15:45 
GeneralRe: Why Won't My MainForm Focus/Activate? [modified] Pin
Simon P Stevens18-Jun-08 22:16
Simon P Stevens18-Jun-08 22:16 
GeneralRe: Why Won't My MainForm Focus/Activate? Pin
Rafferty Uy19-Jun-08 0:52
Rafferty Uy19-Jun-08 0:52 
GeneralRe: Why Won't My MainForm Focus/Activate? Pin
Simon P Stevens19-Jun-08 1:47
Simon P Stevens19-Jun-08 1:47 
QuestionAppDomain for unloading an assembly Pin
elektrowolf18-Jun-08 0:21
elektrowolf18-Jun-08 0:21 
AnswerRe: AppDomain for unloading an assembly Pin
Simon P Stevens18-Jun-08 0:29
Simon P Stevens18-Jun-08 0:29 
GeneralRe: AppDomain for unloading an assembly Pin
elektrowolf18-Jun-08 0:31
elektrowolf18-Jun-08 0:31 
GeneralRe: AppDomain for unloading an assembly Pin
Simon P Stevens18-Jun-08 0:38
Simon P Stevens18-Jun-08 0:38 

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.