Click here to Skip to main content
15,913,315 members
Home / Discussions / C#
   

C#

 
Questionwhat is this socket behavior in c# ?!!! Pin
faroqtam10-May-05 11:11
faroqtam10-May-05 11:11 
AnswerRe: what is this socket behavior in c# ?!!! Pin
Judah Gabriel Himango10-May-05 11:40
sponsorJudah Gabriel Himango10-May-05 11:40 
QuestionHow to compare two HTML files Pin
Mohsen Saad10-May-05 10:56
Mohsen Saad10-May-05 10:56 
AnswerRe: How to compare two HTML files Pin
Judah Gabriel Himango10-May-05 11:46
sponsorJudah Gabriel Himango10-May-05 11:46 
GeneralDataType size in DataTable Pin
machocr10-May-05 10:36
machocr10-May-05 10:36 
GeneralRe: DataType size in DataTable Pin
pubududilena10-May-05 19:28
pubududilena10-May-05 19:28 
GeneralRe: DataType size in DataTable Pin
machocr11-May-05 6:39
machocr11-May-05 6:39 
GeneralUsing Cadlib with C# Pin
Reanalyse10-May-05 10:32
Reanalyse10-May-05 10:32 
I am slowly going nuts trying to make this work.
I can compile the CADIO.dll in Visual Studio 2003, and have the exported functions list (from http://www.codeproject.com/library/cadlib.asp).
I am trying to call the DLL using the sample code as below
___________________________________________________________________________
namespace BC_Imager
{

using System;
using System.Windows.Forms;
using System.Drawing;
using System.Runtime.InteropServices;

public class FormDXF : System.Windows.Forms.Form
{
[DllImport("CadIO.dll")]
static extern bool drvCreate(string filename,bool overwrite);
}
}
____________________________________________________________________________

but having problems getting my head around how to use this DLL in C# to carry out the functions demonstrated in the test.cpp code.

Can anyone please give me some pointers, especially in the use in C# of window items generated in MFC (i.e the progress and output "drawing" window in this DLL)

Many Thanks for your help
Regards

GeneralRe: Using Cadlib with C# Pin
Reanalyse10-May-05 17:28
Reanalyse10-May-05 17:28 
GeneralRe: Using Cadlib with C# Pin
Reanalyse10-May-05 17:35
Reanalyse10-May-05 17:35 
GeneralRe: Using Cadlib with C# Pin
Reanalyse10-May-05 17:58
Reanalyse10-May-05 17:58 
GeneralRe: Using Cadlib with C# Pin
rrace26-Dec-08 8:03
rrace26-Dec-08 8:03 
GeneralRe: Using Cadlib with C# Pin
Reanalyse26-Dec-08 10:42
Reanalyse26-Dec-08 10:42 
QuestionComparing types of objects??? Pin
pankazmittal10-May-05 10:10
pankazmittal10-May-05 10:10 
AnswerRe: Comparing types of objects??? Pin
Robert Rohde10-May-05 11:25
Robert Rohde10-May-05 11:25 
GeneralReferencing in MultiProjects Pin
Soumya Mulukutla10-May-05 9:56
Soumya Mulukutla10-May-05 9:56 
GeneralRe: Referencing in MultiProjects Pin
S. Senthil Kumar10-May-05 20:12
S. Senthil Kumar10-May-05 20:12 
GeneralRe: Referencing in MultiProjects Pin
Soumya Mulukutla11-May-05 3:57
Soumya Mulukutla11-May-05 3:57 
GeneralNet Camera Pin
lindiwe10-May-05 9:26
lindiwe10-May-05 9:26 
GeneralRe: Net Camera Pin
Judah Gabriel Himango10-May-05 11:48
sponsorJudah Gabriel Himango10-May-05 11:48 
QuestionWhat's the weak point of using static function? Pin
Blue_Skye10-May-05 9:12
Blue_Skye10-May-05 9:12 
AnswerRe: What's the weak point of using static function? Pin
Nick Parker10-May-05 11:25
protectorNick Parker10-May-05 11:25 
AnswerRe: What's the weak point of using static function? Pin
Robert Rohde10-May-05 11:29
Robert Rohde10-May-05 11:29 
GeneralRe: What's the weak point of using static function? Pin
Blue_Skye11-May-05 6:25
Blue_Skye11-May-05 6:25 
GeneralC#, Services, and Application Path Pin
Wackatronic110-May-05 8:48
Wackatronic110-May-05 8:48 

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.