Click here to Skip to main content
15,890,557 members
Home / Discussions / C#
   

C#

 
AnswerRe: Enum and generics Pin
Scott Dorman7-Jul-08 15:38
professionalScott Dorman7-Jul-08 15:38 
GeneralRe: Enum and generics Pin
N a v a n e e t h8-Jul-08 15:44
N a v a n e e t h8-Jul-08 15:44 
GeneralRe: Enum and generics Pin
Scott Dorman8-Jul-08 16:13
professionalScott Dorman8-Jul-08 16:13 
AnswerRe: Enum and generics Pin
PIEBALDconsult7-Jul-08 18:48
mvePIEBALDconsult7-Jul-08 18:48 
GeneralRe: Enum and generics Pin
N a v a n e e t h8-Jul-08 15:47
N a v a n e e t h8-Jul-08 15:47 
GeneralRe: Enum and generics Pin
PIEBALDconsult8-Jul-08 17:58
mvePIEBALDconsult8-Jul-08 17:58 
GeneralRe: Enum and generics Pin
N a v a n e e t h8-Jul-08 19:05
N a v a n e e t h8-Jul-08 19:05 
QuestionC# dll and COM Pin
theCPkid7-Jul-08 1:29
theCPkid7-Jul-08 1:29 
I had a third party dll on which COM interoperability was not built in. I wrote my own C# dll which provided the wrappers for the functions inside the third party dll and in my dll, I added COM interop. My C# dll works fine if I use it in a C# application but whenever I call it from C++ using COM pointers, then no statement in the function is executed if that function uses any component inside third party dll.

In the following code, not even the messagebox will pop up which means as if the function is not even called. But if I remove, the last two lines of code, then messagebox will properly pop up.

<br />
public  void MyDllFunc()<br />
{<br />
   MessageBox.Show("Inside MyDllfFunc");<br />
<br />
   ThirdPartyDllClass service = new ThirdPartyDllClass ();<br />
   service.DoSomething();<br />
}<br />


It seems that if I am using a main dll which internaly uses some other dll, then both dlls should support COM interop if i want to make the main dll COMVisible.

Any ideas/suggestion/advice?

For COM interop, I am generating a tlb using regasm and then importing that tlb in my C++ application. Is there any other way through which I can achieve calling the third party dll from my C++ application?
Thank you.

the fruits of your success will be in direct ratio to the honesty and sincerity of your own efforts in keeping your own records, doing your own thinking and, reaching your own conclusions.
..surviving in autumn..in love with spring..

Questionproblem with doing two tasks sequentially in a web appication Pin
WebMaster7-Jul-08 1:22
WebMaster7-Jul-08 1:22 
AnswerRe: problem with doing two tasks sequentially in a web appication Pin
Guffa7-Jul-08 1:34
Guffa7-Jul-08 1:34 
QuestionError in registering plugin Pin
am 20097-Jul-08 1:21
am 20097-Jul-08 1:21 
QuestionAttribute not being set when invoking java web service from c# Pin
Simon Lime7-Jul-08 1:19
Simon Lime7-Jul-08 1:19 
AnswerRe: Attribute not being set when invoking java web service from c# Pin
Simon Lime7-Jul-08 1:30
Simon Lime7-Jul-08 1:30 
Questionhow to write "connection string" in namespace or webconfig file ? Pin
sacr837-Jul-08 0:28
sacr837-Jul-08 0:28 
AnswerCross post Pin
dan!sh 7-Jul-08 0:36
professional dan!sh 7-Jul-08 0:36 
QuestionBitmap constructor(Image, Int32, Int32)~! Pin
kevinlin_57-Jul-08 0:18
kevinlin_57-Jul-08 0:18 
AnswerRe: Bitmap constructor(Image, Int32, Int32)~! Pin
leppie7-Jul-08 0:24
leppie7-Jul-08 0:24 
GeneralRe: Bitmap constructor(Image, Int32, Int32)~! Pin
kevinlin_57-Jul-08 19:29
kevinlin_57-Jul-08 19:29 
GeneralRe: Bitmap constructor(Image, Int32, Int32)~! Pin
leppie7-Jul-08 19:58
leppie7-Jul-08 19:58 
GeneralRe: Bitmap constructor(Image, Int32, Int32)~! Pin
kevinlin_57-Jul-08 22:31
kevinlin_57-Jul-08 22:31 
AnswerRe: Bitmap constructor(Image, Int32, Int32)~! Pin
Guffa7-Jul-08 1:40
Guffa7-Jul-08 1:40 
GeneralRe: Bitmap constructor(Image, Int32, Int32)~! Pin
kevinlin_57-Jul-08 19:43
kevinlin_57-Jul-08 19:43 
GeneralRe: Bitmap constructor(Image, Int32, Int32)~! Pin
Guffa8-Jul-08 4:02
Guffa8-Jul-08 4:02 
QuestionCan i create a unassigned array of my class object Pin
wasimsharp7-Jul-08 0:06
wasimsharp7-Jul-08 0:06 
AnswerRe: Can i create a unassigned array of my class object Pin
moon_stick7-Jul-08 0:21
moon_stick7-Jul-08 0:21 

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.