Solved

Public Variables exposed thru type library in DLL registered for COM interop

Posted on 2007-04-05
1
211 Views
Last Modified: 2010-05-18
Correct me if my nomenclature is off.  We just converted a large VB6 DLL to VB .NET and will be using it in a Visual C++ executable.  When we import the type library in Visual C++, the Global / Public variables in each class are not exposed like they used to be.

Is there any way to have the Public variables exposed through the COM interface like they used to be?  We can’t switch our exe to use managed code (CLR), but any other suggestions are welcome.
0
Comment
Question by:bigsteve87
1 Comment
 
LVL 27

Accepted Solution

by:
VBRocks earned 500 total points
Comment Utility
Are you using an Interface in your dll?  I think it may be necessary to expose your methods.

Here's a link that discusses this issue:
http://www.15seconds.com/issue/040722.htm

0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now