473,386 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

VT_RECORD problem: VC++6 ActiveX and VB .Net interaction

Moi
Hello,
sorry if this has been asked over & over, in which case, please someone
points me
to the answer :)

My situation:

I've an ActiveX witten in VC++6, it has several methods returning a
VT_RECORD struct in Variant,
as well as arrays of struct.

It's working ok with VB6 but unfortunately, VB .Net chokes when invoking
such function
(no interop for VT_RECORD).

It seems that the way to go is by implemeting custom marshalling, but how ?
I'd prefer my VC6 ActiveX wouldn't become dependent on .Net if possible...
Never marshalled before, so I'm afraid I'll need explicit directions ;-)

Thanks & best regards,
Laurent
Jul 22 '05 #1
0 1514

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Kunal | last post by:
I have an application that was fully developed in VC++ 6.0 using MFC. I have to enhance the application in 2 ways: 1. Add some graphics stuff (draw graphs), and 2. Perform serial port...
3
by: Stephanie | last post by:
I have a problem that I am trying to solve. We have a huge product with a whole lot of ASP and VB code. VB code is all ActiveX dlls which are used by ASP app. When I attempt to add features or fix...
3
by: Ricky | last post by:
Hi Can anyone explain what are the relationship between COM , ActiveX, DLL ? I really get confused about the terms... Ricky
1
by: Daniel Jenkins | last post by:
I'm currently charged with the task of writing a customized business application. This app will perform order entry, invoicing, accounting, etc. type tasks. Can anyone justify a decision to...
0
by: Moi | last post by:
Hello, sorry if this has been asked over & over, in which case, please someone points me to the answer :) My situation: I've an ActiveX witten in VC++6, it has several methods returning a...
4
by: fniles | last post by:
I have an ActiveX control in my web page that I tried to access using intranet. I have implemented IObjectSafety in the ActiveX control, and when I created the CAB file using VB Pakage and...
1
by: david | last post by:
I have created an ActiveX and load it into the Component in ToolBox in the Visual Studio IDE. After create a web form project (VB.NET), I drag the activeX component into the web form design, set...
4
by: vivek | last post by:
I am new to flash and want someone to guide me, Is it possible to create a UI entirely in Flash and that will inetract with C# components (backend) and these components will in return interact...
8
by: Daniele Piccinini | last post by:
Hi all, In my vc++ 2005 dialog based application i need to use a comunication activex component in a secondary thread: CFINSAxEFS* pNewAx = new CFINSAxEFS(); if ( !pNewAx->Create( NULL,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.