Click here to Skip to main content
16,006,474 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Pin
Pete O'Hanlon11-Sep-07 22:17
mvePete O'Hanlon11-Sep-07 22:17 
QuestionHow to disable blinking cursor in my Form ? Pin
Yanshof11-Sep-07 18:10
Yanshof11-Sep-07 18:10 
AnswerRe: How to disable blinking cursor in my Form ? Pin
falles0111-Sep-07 19:23
falles0111-Sep-07 19:23 
AnswerRe: How to disable blinking cursor in my Form ? Pin
falles0111-Sep-07 19:51
falles0111-Sep-07 19:51 
GeneralRe: How to disable blinking cursor in my Form ? Pin
Yanshof11-Sep-07 19:55
Yanshof11-Sep-07 19:55 
QuestionC# accessing non.NET libraries Pin
zaiyatul hijah11-Sep-07 16:38
zaiyatul hijah11-Sep-07 16:38 
AnswerRe: C# accessing non.NET libraries Pin
Malcolm Smart11-Sep-07 20:58
Malcolm Smart11-Sep-07 20:58 
AnswerRe: C# accessing non.NET libraries Pin
WillemM11-Sep-07 21:04
WillemM11-Sep-07 21:04 
Sure, there are basically two options for this. One is COM, this is only possible if the libraries are implemented as COM type libraries. Another option is DllImport, this is possible with normal C++ libraries.

You can import make a wrapper for a COM library using tlbimp.exe which is available with the .NET SDK.

You can import functions from a standard C++ library in the following manner:

public static class MyFunctionImports {
[DllImport("<dll name="">")]
public static extern void MyMethod(string text);
}

Of course you need to know the exact signature of the methods you need and the types that they need.

I know from experience that device libraries are almost always standard C++ libraries. So the second option fits best here.

WM.

What about weapons of mass-construction?

"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
My blog

GeneralRe: C# accessing non.NET libraries Pin
zaiyatul hijah12-Sep-07 17:04
zaiyatul hijah12-Sep-07 17:04 
Questionhow to create a setup project for Primary Interop Assembly (PIA) - O2003PIA Pin
S Palip11-Sep-07 16:19
S Palip11-Sep-07 16:19 
QuestionC# articles for mt940 Pin
T.EDY11-Sep-07 15:58
T.EDY11-Sep-07 15:58 
AnswerRe: C# articles for mt940 Pin
Malcolm Smart11-Sep-07 20:49
Malcolm Smart11-Sep-07 20:49 
GeneralRe: C# articles for mt940 Pin
T.EDY11-Sep-07 22:25
T.EDY11-Sep-07 22:25 
QuestionDisplay Waveform Pin
Klazen11-Sep-07 14:26
Klazen11-Sep-07 14:26 
AnswerRe: Display Waveform Pin
Malcolm Smart11-Sep-07 21:00
Malcolm Smart11-Sep-07 21:00 
GeneralRe: Display Waveform Pin
Klazen12-Sep-07 7:55
Klazen12-Sep-07 7:55 
Questionvector drawing in wpf Pin
donovan.solms11-Sep-07 12:39
donovan.solms11-Sep-07 12:39 
QuestionOpening large files / sockets [solved] Pin
Anthony Mushrow11-Sep-07 12:22
professionalAnthony Mushrow11-Sep-07 12:22 
AnswerRe: Opening large files / sockets Pin
Luc Pattyn11-Sep-07 13:25
sitebuilderLuc Pattyn11-Sep-07 13:25 
GeneralRe: Opening large files / sockets [modified] Pin
Anthony Mushrow11-Sep-07 13:37
professionalAnthony Mushrow11-Sep-07 13:37 
GeneralRe: Opening large files / sockets Pin
Luc Pattyn11-Sep-07 14:04
sitebuilderLuc Pattyn11-Sep-07 14:04 
GeneralRe: Opening large files / sockets Pin
Anthony Mushrow11-Sep-07 14:20
professionalAnthony Mushrow11-Sep-07 14:20 
AnswerRe: Opening large files / sockets [solved] Pin
Anthony Mushrow11-Sep-07 14:52
professionalAnthony Mushrow11-Sep-07 14:52 
GeneralRe: Opening large files / sockets [solved] Pin
Luc Pattyn11-Sep-07 16:15
sitebuilderLuc Pattyn11-Sep-07 16:15 
GeneralRe: Opening large files / sockets [solved] Pin
Anthony Mushrow12-Sep-07 2:06
professionalAnthony Mushrow12-Sep-07 2:06 

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.