pass data to vb6 dll
Managed C++/CLI
1
Posts
1
Posters
0
Views
1
Watching
-
hello, I need to pass an array to a dll that is written in vb6 The function looks like this in VB: Private Function DrawVehicles(VehiclesToDraw As Variant, NumVehicle As Integer) As String The program that uses the dll is in managed C++ I've used the tlbimp tool to create a com interop dll from the vb6 dll tlbimp has translated the function to: public string DrawVehicles(ref object VehiclesToDraw, ref short NumVehicle) How do I have to fit an (variant) array into a System::Object? greetings , Niko