*** In the dll I want to be able to do something like this: >> >>Public type tLocal ' or Private >> name as string >> x as integer >> y as integer >>end type >> >>Public function GetLocation(byref LX as tLocal) ' or Private >> LX.Name = "Zone Two" >> LX.x = 12 >> LX.y = 55 >>End Function >> >>*** in the app I want to do somthing like: >> >>' not sure if this needs to go here >>Public type tLocal ' or Private >> name as string >> x as integer >> y as integer >>end type >> >> >>private sub foo >> dim MyType as tLocal >> set ox = mydllproj.mydllclass >> >> ox.GetLocation MyType >> >> debug.print MyType.Name >> debug.print MyType.x >> debug.print MyType.y >> >>end subThanks in Advance.
"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams