Click here to Skip to main content
15,910,123 members
Home / Discussions / C#
   

C#

 
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 
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 
Well for the calls
_______________________________________

[DllImport("CadIO.dll")]
static extern bool drwCreate();

[DllImport("CadIO.dll")]
static extern bool drwLoadDataFromFile(IntPtr boxhandle,int npoint,int nonum ,string filetoget);

[DllImport("CadIO.dll")]
static extern bool drwInitView(int top1,int left1, int bottom1, int right1);

[DllImport("CadIO.dll")]
static extern int drwPaint(IntPtr boxhandle);
___________________________________________________
And calling it with
____________________________________________________
private void button1_Click(object sender, System.EventArgs e)
{
bool step1=drwCreate();
bool step2=drwLoadDataFromFile(dxfBox.Handle, 0 ,0,"H:\test.dxf");
bool step3=drwInitView(1,1,200,300);
}
__________________________________________________________

worked OK for step 1 -drwCreate() but returned false (no exceptions though)
but returned faklse for steps 2 & 3


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 
GeneralRe: C#, Services, and Application Path Pin
Wackatronic110-May-05 11:20
Wackatronic110-May-05 11:20 
Generaldetecting an internet connection Pin
Mridang Agarwalla10-May-05 6:42
Mridang Agarwalla10-May-05 6:42 
GeneralRe: detecting an internet connection Pin
Judah Gabriel Himango10-May-05 11:43
sponsorJudah Gabriel Himango10-May-05 11:43 

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.