Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
QuestionOpen source SMTP server [modified] Pin
Tiger45610-Dec-08 18:16
Tiger45610-Dec-08 18:16 
QuestionYOUTUBE API with C# Pin
bmx463710-Dec-08 17:35
bmx463710-Dec-08 17:35 
AnswerRe: YOUTUBE API with C# Pin
Christian Graus10-Dec-08 17:46
protectorChristian Graus10-Dec-08 17:46 
AnswerRe: YOUTUBE API with C# Pin
Pr@teek B@h!11-Dec-08 5:06
Pr@teek B@h!11-Dec-08 5:06 
GeneralRe: YOUTUBE API with C# Pin
bmx463711-Dec-08 5:29
bmx463711-Dec-08 5:29 
GeneralRe: YOUTUBE API with C# Pin
Pr@teek B@h!11-Dec-08 5:30
Pr@teek B@h!11-Dec-08 5:30 
QuestionHow to parse/read tabular data from a pdf Pin
dinesh choudhary10-Dec-08 17:24
dinesh choudhary10-Dec-08 17:24 
QuestionConverting data Types? Pin
evilqualar10-Dec-08 14:56
evilqualar10-Dec-08 14:56 
I'm trying to call a function in a third party dll. the SDK defines the function like this:

long GetConnectStatus  ( 
  VARIANT *  varState,  
  VARIANT *  varError,  
  VARIANT *  varBytesIn,  
  VARIANT *  varBytesOut,  
  VARIANT *  varDuration   
 ) 

and further clarifies the first 4 arguments as Variant long (VT_I4) and the last as Variant string (VT_BSTR)

C# wants:
int iPhoenix.GetConnectionStatus(ref object varState, ref object varError, ref object varBytesIn, ref object varBytesOut, ref object varDuration)


i have this:
Int32 cs = 0;
Object objConState = (object)cs;
Int32 se = 0;
Object objServerError = (object)se;
Int32 bi = 0;
Object objBytesIn = (object)bi;
Int32 bo = 0;
Object objBytesOut = (object)bo;
string du = "";
Object objDuration = (object)du;
            
phx.GetConnectStatus(ref objConState, ref objServerError, ref objBytesIn, ref objBytesOut, ref objDuration);


It doesn't work!? Sigh | :sigh:
QuestionC# Word Automation - How to extract Rich Text Pin
blochri10-Dec-08 14:02
blochri10-Dec-08 14:02 
AnswerRe: C# Word Automation - How to extract Rich Text Pin
Dave Kreskowiak10-Dec-08 14:33
mveDave Kreskowiak10-Dec-08 14:33 
GeneralRe: C# Word Automation - How to extract Rich Text Pin
blochri11-Dec-08 2:36
blochri11-Dec-08 2:36 
GeneralRe: C# Word Automation - How to extract Rich Text Pin
Dave Kreskowiak11-Dec-08 12:28
mveDave Kreskowiak11-Dec-08 12:28 
GeneralRe: C# Word Automation - How to extract Rich Text Pin
blochri12-Dec-08 3:30
blochri12-Dec-08 3:30 
QuestionGridview search Pin
Andrew Woodward10-Dec-08 10:35
Andrew Woodward10-Dec-08 10:35 
AnswerRe: Gridview search Pin
Christian Graus10-Dec-08 12:39
protectorChristian Graus10-Dec-08 12:39 
GeneralRe: Gridview search Pin
Andrew Woodward10-Dec-08 12:43
Andrew Woodward10-Dec-08 12:43 
QuestionCrystal reports charts programmatically? Pin
Priya Prk10-Dec-08 9:03
Priya Prk10-Dec-08 9:03 
AnswerRe: Crystal reports charts programmatically? Pin
Wendelius10-Dec-08 11:07
mentorWendelius10-Dec-08 11:07 
GeneralRe: Crystal reports charts programmatically? Pin
Priya Prk10-Dec-08 23:39
Priya Prk10-Dec-08 23:39 
GeneralRe: Crystal reports charts programmatically? Pin
Wendelius11-Dec-08 4:33
mentorWendelius11-Dec-08 4:33 
QuestionNeed some help loading a treeview [modified] Pin
Rafone10-Dec-08 8:33
Rafone10-Dec-08 8:33 
AnswerRe: Need some help loading a treeview Pin
Christian Graus10-Dec-08 9:18
protectorChristian Graus10-Dec-08 9:18 
GeneralRe: Need some help loading a treeview Pin
Rafone10-Dec-08 10:13
Rafone10-Dec-08 10:13 
GeneralRe: Need some help loading a treeview Pin
Christian Graus10-Dec-08 12:40
protectorChristian Graus10-Dec-08 12:40 
GeneralRe: Need some help loading a treeview Pin
Rafone24-Dec-08 5:13
Rafone24-Dec-08 5:13 

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.