473,513 Members | 2,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to use the win32dll that returns a vector in c#

3 New Member
Hi,
I am dealing with win32 cosole application in .NET 2003.
I had made a dll that returns a vector. The dll is working fine when I use that for any other c++ program.
The problem is that when I want to use the dll in C# it is not possible to collect the vector in any of the data types in c#.

Can anybody help me on this.
To be consumed by C# should I code the dll in some different way.
Please help me
regards
Sep 3 '07 #1
0 632

Sign in to post your reply or Sign up for a free account.

Similar topics

6
4098
by: Mike Darrett | last post by:
Hello, First off, I'm a C++ newbie, so please turn your flame guns off. ;) I'm wondering if this is the correct way to have a function return a vector: vector<int> GetVecData() {...
1
1299
by: codepantry | last post by:
Environemtnt: Visual C++ on Windows Xp I am new somewhat new to C++ and would like to some advise and correction to my code below. I am simply trying to write function that generates an array...
6
1782
by: Frankie Montenegro | last post by:
Hi everyone, I need some help with the following C++ code. It is supposed to read input line by line, each line as one string; then split each string into its component words and store these...
5
2695
by: pocmatos | last post by:
Hi all, Is it possible to have a class in which a method in some cases returns a vector<int> and on others returns vector<double>? How? Thanks, Paulo Matos
1
3936
by: Col | last post by:
Begin() method applied on empty Vector returns NULL or non null value???? Plz help!!! Thanks&regards, COL
1
2067
by: antoanish | last post by:
Hello, My Requirement is 1. Copy data from iterator to an array ( array should be created dynamically within the function based on data_type of the data held by the iterator /container. )...
9
2579
by: Rob | last post by:
I want to do something like this: template <typename MyType> std::vector<MYTypeget(SomeClass c) { ...elided... } int main()
23
3439
by: Mike -- Email Ignored | last post by:
In std::vector, is reserve or resize required? On: Linux mbrc32 2.6.22.1-41.fc7 #1 SMP Fri Jul 27 18:10:34 EDT 2007 i686 athlon i386 GNU/Linux Using: g++ (GCC) 4.1.2 20070502 (Red Hat...
10
1692
by: Prasad | last post by:
Hi, I have been using vector::iterators for a while now. This is the first time I have encountered this problem. The vector contains one element. 1. vector<GroupSetTemplate>::iterator gstIt;...
0
7259
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
7158
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
7380
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,...
0
7535
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5683
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5085
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1592
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.