Click here to Skip to main content
15,886,001 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using too many timers in a program Pin
Tom Deketelaere24-Sep-09 2:57
professionalTom Deketelaere24-Sep-09 2:57 
GeneralRe: Using too many timers in a program Pin
Luc Pattyn24-Sep-09 3:15
sitebuilderLuc Pattyn24-Sep-09 3:15 
GeneralRe: Using too many timers in a program Pin
Tom Deketelaere24-Sep-09 3:19
professionalTom Deketelaere24-Sep-09 3:19 
GeneralRe: Using too many timers in a program Pin
Luc Pattyn24-Sep-09 3:29
sitebuilderLuc Pattyn24-Sep-09 3:29 
AnswerRe: Using too many timers in a program Pin
Keith Barrow24-Sep-09 2:26
professionalKeith Barrow24-Sep-09 2:26 
GeneralRe: Using too many timers in a program Pin
Luc Pattyn24-Sep-09 2:56
sitebuilderLuc Pattyn24-Sep-09 2:56 
GeneralRe: Using too many timers in a program Pin
teknolog12324-Sep-09 6:54
teknolog12324-Sep-09 6:54 
QuestionCalling method from C++ ocx Pin
Q2A23-Sep-09 23:59
Q2A23-Sep-09 23:59 
I have an ocx written in C++. It has one method like:

VARIANT_BOOL MyMethod([in, out] VARIANT* param1, [in, out] BSTR* strError);

Now I want to call this method from C# and get the values.

Currently I have tried calling the method as:

object obj = new object();
string strErr = string.Empty;
myObj.MyMethod(ref obj, ref strErr);

but this gives me an error saying the object is not a variant array.

Can someone please suggest what would be the proper thing to do. Can VariantWrapper class help me in achieving this. If affirmative, how?
Any pointers would be helpful and thanks beforehand.
AnswerRe: Calling method from C++ ocx Pin
Christian Graus24-Sep-09 0:42
protectorChristian Graus24-Sep-09 0:42 
AnswerRe: Calling method from C++ ocx Pin
Luc Pattyn24-Sep-09 0:46
sitebuilderLuc Pattyn24-Sep-09 0:46 
AnswerRe: Calling method from C++ ocx [modified] Pin
Hristo-Bojilov24-Sep-09 0:54
Hristo-Bojilov24-Sep-09 0:54 
QuestionControl.BeginInvoke() Pin
kmb8923-Sep-09 23:53
kmb8923-Sep-09 23:53 
AnswerRe: Control.BeginInvoke() Pin
N a v a n e e t h24-Sep-09 0:05
N a v a n e e t h24-Sep-09 0:05 
AnswerRe: Control.BeginInvoke() Pin
PIEBALDconsult24-Sep-09 18:10
mvePIEBALDconsult24-Sep-09 18:10 
QuestionFileNotFoundException on file that exists! Pin
Thomas ST23-Sep-09 23:50
Thomas ST23-Sep-09 23:50 
AnswerRe: FileNotFoundException on file that exists! Pin
Keith Barrow24-Sep-09 0:35
professionalKeith Barrow24-Sep-09 0:35 
AnswerRe: FileNotFoundException on file that exists! [solved] Pin
Thomas ST24-Sep-09 1:15
Thomas ST24-Sep-09 1:15 
GeneralRe: FileNotFoundException on file that exists! [solved] Pin
Keith Barrow24-Sep-09 1:34
professionalKeith Barrow24-Sep-09 1:34 
QuestionSerializing an inhertid class Pin
tvbarnard23-Sep-09 23:46
tvbarnard23-Sep-09 23:46 
GeneralRe: Serializing an inhertid class Pin
tvbarnard24-Sep-09 0:00
tvbarnard24-Sep-09 0:00 
QuestionCreate a word document without using Interop object [modified] Pin
Swetha Srinivasan23-Sep-09 22:38
Swetha Srinivasan23-Sep-09 22:38 
AnswerRe: Create a word document without using Interop object Pin
stancrm23-Sep-09 22:42
stancrm23-Sep-09 22:42 
QuestionCreate new form Pin
tamir90123-Sep-09 22:14
tamir90123-Sep-09 22:14 
AnswerRe: Create new form Pin
OriginalGriff23-Sep-09 22:27
mveOriginalGriff23-Sep-09 22:27 
AnswerRe: Create new form Pin
tamir90123-Sep-09 22:29
tamir90123-Sep-09 22:29 

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.