My scenario is like this; I have one VB6 Main module, which in turn calls 2 VB6 dlls, and then each VB6 dll calls two different C#.NET dll.
And it works fine if I do InteropToolbox initialize only once. But unfortunately VB6 Main --> VB6 dll --> C#.NET dll, it should work even as a single flow too. So I need to initialize InteropToolbox in both the VB6 dll.
So, I wanted to know is there any way to check whether InteropToolbox is already initialized in the application or not. And also tell me what is the use of InteropToolbox.Initialize?
Please help me in this.
Wednesday, July 18, 2012 8:07 PM
- Edited by Rajesh Manjunath Wednesday, July 18, 2012 8:10 PM
I think there is no differnet with InteropToolbox initialize only once. Becaused the C#.net dll doesn't need to convert at all. So your situaction is same with simply vb6 moudle application (it also contain lots of VB6 dll).
No code, No fact.Thursday, July 19, 2012 9:48 AM
If we initialize InteropToolbox in each of the module then the events of the first module will be erased off after the second initializes it.
So, I have to check whether the InteropToolbox is initialized or not then only I should initialize in the second module(only in case if it is not initialized in the first module).
Please tell me that; is there any way to check whether InteropToolbox is initialized or not.
Thursday, July 19, 2012 3:15 PM
- Edited by Rajesh Manjunath Thursday, July 19, 2012 3:52 PM
Here is some related reference, hope could make some help
Also, you could visit the below link to see the various paid support options that are available to better meet your needs if you requires a more in-depth level of support.Monday, October 08, 2012 8:18 AM