"alias" or copy variable byref

Posted on 1999-07-29
Medium Priority
Last Modified: 2010-04-30
how can I make a alias of a UDT ( user defined type) , I got 2 dll's I pass my UDT between dll... and I want use the UDT in 2 dll and if I change one thing in UDT in one dll the other dll have the same change... what I knownow is on pass the UDT in parametre... but after how can I make a alias byref for use it in a timer in other dll?
Question by:Yard072999

Accepted Solution

simonsabin earned 400 total points
ID: 1528170
Create a dll with your UDT in it and then reference that UDT from the other dlls.
LVL 10

Expert Comment

ID: 1528171

Use a class.

Author Comment

ID: 1528172
simonsabin's proposed answer is acceptable but the one of caraf_g is better...

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
As a person who answers a lot of questions, I often see code that could be simplified, made easier to read, and perhaps most importantly made easier to maintain if the code was modified to use the Select Case statement. This article explains how to…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

600 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