Hi Matthew,
It will be appreciated you let me know what scneario you are at now: from C++ to
VB or from .Net to
VB.
If from .Net to
VB, I assume you are using C# language and the structure definition may be as below:
public structure PageDimension{
public string dimensionName;
public string MemberName;
}
From the inteoped typelibrary, the definition for this structure is the same to yours:
struct tagPageDimension {
LPSTR dimensionName;
LPSTR MemberName;
} PageDimension;
From my test, in
VB, the member of this structure can't be retrieved. However, I'd suggest you can use Class instead of the structure here. This
way, you can get the dimensionName and MemberName in
VB after the interop.
Look forward to your confirmation on whether your scenario locates at managed scenario or un-managed scenario! Then we can perform further
research for you on this issue. Expect to your reply!
Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.