Click here to Skip to main content
15,890,282 members
Home / Discussions / C#
   

C#

 
QuestionObtaining a HANDLE from IO.Ports.SerialPort Pin
TheIdleProgrammer29-Aug-07 5:25
TheIdleProgrammer29-Aug-07 5:25 
AnswerRe: Obtaining a HANDLE from IO.Ports.SerialPort Pin
pbraun29-Aug-07 6:09
pbraun29-Aug-07 6:09 
GeneralRe: Obtaining a HANDLE from IO.Ports.SerialPort Pin
TheIdleProgrammer29-Aug-07 6:32
TheIdleProgrammer29-Aug-07 6:32 
AnswerRe: Obtaining a HANDLE from IO.Ports.SerialPort Pin
snorkie29-Aug-07 9:31
professionalsnorkie29-Aug-07 9:31 
QuestionHow make a dll in Visual C++ to use in C#? Pin
Rui A Sousa29-Aug-07 5:19
Rui A Sousa29-Aug-07 5:19 
AnswerRe: How make a dll in Visual C++ to use in C#? Pin
led mike29-Aug-07 6:16
led mike29-Aug-07 6:16 
GeneralRe: How make a dll in Visual C++ to use in C#? Pin
Dio2229-Aug-07 8:30
Dio2229-Aug-07 8:30 
AnswerRe: How make a dll in Visual C++ to use in C#? Pin
I Believe In GOD29-Aug-07 10:51
I Believe In GOD29-Aug-07 10:51 
hi
there tow solution for this
1 -
open your VC++ DLL Library with
Dependency Walker software ( it's come with all VS version ),

and get your right Entry point ,
if it's look dizzy like ( "@7&67test%43")
then open your library with any HexEditor , and replace this "@7&67test%43" with "test" ....

OR
2-
create a ‘.def’ file which informs the linker to export our function.
Select New from File menu and then select text File from Files tab. Give it a name example1.def. Now you can see an empty file . Add these lines in to example1.def


LIBRARY EXAMPLE1

EXPORTS
test @1

you can import it to C# like
<br />
using System;<br />
using System.Runtime.InteropServices;<br />
<br />
[DllImport("shell32.dll")]<br />
public static extern int test(int MyInt);<br />


bye



I know nothing , I know nothing

QuestionHow to sort a big volume of data? Pin
michal.kreslik29-Aug-07 5:08
michal.kreslik29-Aug-07 5:08 
AnswerRe: How to sort a big volume of data? Pin
snorkie29-Aug-07 8:38
professionalsnorkie29-Aug-07 8:38 
GeneralRe: How to sort a big volume of data? Pin
michal.kreslik29-Aug-07 8:53
michal.kreslik29-Aug-07 8:53 
GeneralRe: How to sort a big volume of data? Pin
snorkie29-Aug-07 9:06
professionalsnorkie29-Aug-07 9:06 
GeneralRe: How to sort a big volume of data? Pin
michal.kreslik29-Aug-07 9:36
michal.kreslik29-Aug-07 9:36 
GeneralRe: How to sort a big volume of data? Pin
Spacix One29-Aug-07 10:30
Spacix One29-Aug-07 10:30 
GeneralRe: How to sort a big volume of data? Pin
michal.kreslik29-Aug-07 19:32
michal.kreslik29-Aug-07 19:32 
GeneralRe: How to sort a big volume of data? Pin
Spacix One30-Aug-07 4:28
Spacix One30-Aug-07 4:28 
GeneralRe: How to sort a big volume of data? Pin
michal.kreslik30-Aug-07 4:43
michal.kreslik30-Aug-07 4:43 
GeneralRe: How to sort a big volume of data? Pin
Thomas Krojer2-Sep-07 22:46
Thomas Krojer2-Sep-07 22:46 
GeneralRe: How to sort a big volume of data? Pin
michal.kreslik3-Sep-07 6:06
michal.kreslik3-Sep-07 6:06 
GeneralRe: How to sort a big volume of data? Pin
Thomas Krojer3-Sep-07 23:49
Thomas Krojer3-Sep-07 23:49 
GeneralRe: How to sort a big volume of data? Pin
michal.kreslik4-Sep-07 0:10
michal.kreslik4-Sep-07 0:10 
GeneralRe: How to sort a big volume of data? Pin
Thomas Krojer18-Sep-07 23:00
Thomas Krojer18-Sep-07 23:00 
GeneralRe: How to sort a big volume of data? Pin
michal.kreslik18-Sep-07 23:17
michal.kreslik18-Sep-07 23:17 
GeneralRe: How to sort a big volume of data? Pin
Thomas Krojer19-Sep-07 0:31
Thomas Krojer19-Sep-07 0:31 
Questiondynamically creating forms from db Pin
algoaddict29-Aug-07 4:53
algoaddict29-Aug-07 4:53 

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.