Click here to Skip to main content
15,897,519 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regarding security Pin
vijaylumar15-Jun-09 1:36
vijaylumar15-Jun-09 1:36 
GeneralRe: Regarding security Pin
Henry Minute15-Jun-09 6:08
Henry Minute15-Jun-09 6:08 
QuestionPassing C# Equivalent of a C++ std::vector, to C++ function Pin
sree14-Jun-09 22:48
sree14-Jun-09 22:48 
AnswerRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
Christian Graus14-Jun-09 23:17
protectorChristian Graus14-Jun-09 23:17 
AnswerRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
N a v a n e e t h14-Jun-09 23:25
N a v a n e e t h14-Jun-09 23:25 
GeneralRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
sree15-Jun-09 1:18
sree15-Jun-09 1:18 
GeneralRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
N a v a n e e t h15-Jun-09 1:56
N a v a n e e t h15-Jun-09 1:56 
GeneralRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
sree15-Jun-09 3:23
sree15-Jun-09 3:23 
extern "C" __declspec(dllexport) int __stdcall passVector(vector<int> &i)
{
vector<int>::iterator Iterator1 = std::max_element(i.begin(), i.end());
return *Iterator1;
}


This is my c++ function. I want to pass the vector from c# program using DllImport.

This is how i tried with Arraylist from C#
[DllImport(@"D:\sample.dll", EntryPoint = "passVector")]
public static extern int passVector(ArrayList i);

sree

GeneralRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
N a v a n e e t h15-Jun-09 15:52
N a v a n e e t h15-Jun-09 15:52 
Questionpls. help me it's urgent, drop video frames during start/stop button click Pin
kunal.tawde14-Jun-09 21:01
kunal.tawde14-Jun-09 21:01 
AnswerRe: pls. help me it's urgent, drop video frames during start/stop button click Pin
molesworth14-Jun-09 22:10
molesworth14-Jun-09 22:10 
GeneralRe: pls. help me it's urgent, drop video frames during start/stop button click Pin
kunal.tawde12-Jul-09 23:39
kunal.tawde12-Jul-09 23:39 
AnswerRe: pls. help me it's urgent, drop video frames during start/stop button click Pin
Nagy Vilmos14-Jun-09 22:11
professionalNagy Vilmos14-Jun-09 22:11 
QuestionAdding Scrolling effect On Windows application. Pin
deepseeindeepsy14-Jun-09 20:38
deepseeindeepsy14-Jun-09 20:38 
AnswerRe: Adding Scrolling effect On Windows application. Pin
Mycroft Holmes14-Jun-09 21:06
professionalMycroft Holmes14-Jun-09 21:06 
QuestionGrid View Event.. Pin
Rahul DSG14-Jun-09 19:55
Rahul DSG14-Jun-09 19:55 
AnswerRe: Grid View Event.. Pin
Mycroft Holmes14-Jun-09 21:03
professionalMycroft Holmes14-Jun-09 21:03 
GeneralRe: Grid View Event.. Pin
Rahul DSG14-Jun-09 21:31
Rahul DSG14-Jun-09 21:31 
AnswerRe: Grid View Event.. Pin
deepseeindeepsy14-Jun-09 21:49
deepseeindeepsy14-Jun-09 21:49 
GeneralRe: Grid View Event.. Pin
Rahul DSG14-Jun-09 21:56
Rahul DSG14-Jun-09 21:56 
GeneralRe: Grid View Event.. Pin
Mycroft Holmes14-Jun-09 22:00
professionalMycroft Holmes14-Jun-09 22:00 
GeneralRe: Grid View Event.. Pin
deepseeindeepsy14-Jun-09 22:02
deepseeindeepsy14-Jun-09 22:02 
AnswerRe: Grid View Event.. Pin
Henry Minute15-Jun-09 0:14
Henry Minute15-Jun-09 0:14 
AnswerRe: Grid View Event.. Pin
Kaushal Arora15-Jun-09 2:53
Kaushal Arora15-Jun-09 2:53 
QuestionWhy I can't get the WM_CREATE msg in the PreFilterMessage method Pin
hwswin14-Jun-09 19:49
hwswin14-Jun-09 19:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.