Click here to Skip to main content
15,909,373 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionDDE in .NET Pin
HakunaMatada17-Oct-06 19:22
HakunaMatada17-Oct-06 19:22 
AnswerRe: DDE in .NET Pin
Mike Dimmick18-Oct-06 0:40
Mike Dimmick18-Oct-06 0:40 
QuestionWindows service requires large memory allocation Pin
Luis C17-Oct-06 5:15
Luis C17-Oct-06 5:15 
AnswerRe: Windows service requires large memory allocation Pin
Dave Kreskowiak17-Oct-06 6:07
mveDave Kreskowiak17-Oct-06 6:07 
GeneralRe: Windows service requires large memory allocation Pin
Luis C17-Oct-06 6:46
Luis C17-Oct-06 6:46 
QuestionComm Dll Pin
Tauseef A16-Oct-06 23:22
Tauseef A16-Oct-06 23:22 
AnswerRe: Comm Dll Pin
Dave Kreskowiak18-Oct-06 8:42
mveDave Kreskowiak18-Oct-06 8:42 
QuestionRe: Comm Dll Pin
Tauseef A19-Oct-06 4:19
Tauseef A19-Oct-06 4:19 
Thanks i have got that and now i can access the function from this dll, and can open, close and get values from the comm but only using the functions in this dll..
but now the problem is i cannot fire datareceived event on the com port which i assign
to open method of this dll,,

int hc = OpenCommPort("COM1", 9600);///method from dll which open the com1
int rtt = ReadValue(hc);///mehtod from dll

now i do the following

sp = new SerialPort("COM1",9600);
sp.DataReceived += new SerialDataReceivedEventHandler(method);
if (sp.isopen);
{
show ("Open");//but here it shows that com port is closed ,, so i cannot manage
data received event handler for this com port ,,
}

please tell me in the scenario what shud i do ?
void method()

{
// this method shud be called when the ( int rtt = ReadValue(hc);)
is called...but it does not , even i get an error when i try to open
sp using sp.open();
aftehr when i have called the dll function
int hc = OpenCommPort("COM1", 9600)

so please tell me how to create a handler for the situation ,, means the port which
i assign to the dll method opencommport there shud be a handler for that

thakns in advance






}




hello

QuestionComm Dll Pin
Tauseef A16-Oct-06 23:22
Tauseef A16-Oct-06 23:22 
QuestionAjax Pin
crazy_mads16-Oct-06 20:23
crazy_mads16-Oct-06 20:23 
AnswerRe: Ajax Pin
George L. Jackson17-Oct-06 12:46
George L. Jackson17-Oct-06 12:46 
QuestionFalsh Files Pin
Tauseef A16-Oct-06 10:36
Tauseef A16-Oct-06 10:36 
AnswerRe: Falsh Files Pin
Dave Sexton18-Oct-06 3:00
Dave Sexton18-Oct-06 3:00 
QuestionRe: Falsh Files Pin
Tauseef A18-Oct-06 5:24
Tauseef A18-Oct-06 5:24 
AnswerRe: Falsh Files Pin
Dave Kreskowiak18-Oct-06 8:37
mveDave Kreskowiak18-Oct-06 8:37 
QuestionRe: Falsh Files Pin
Tauseef A19-Oct-06 23:41
Tauseef A19-Oct-06 23:41 
AnswerRe: Falsh Files Pin
Dave Kreskowiak20-Oct-06 8:37
mveDave Kreskowiak20-Oct-06 8:37 
Question[Form designer] does not save my ultra-simple property / Source inside Pin
nanobyte16-Oct-06 4:49
nanobyte16-Oct-06 4:49 
AnswerRe: [Form designer] does not save my ultra-simple property / Source inside Pin
nanobyte16-Oct-06 5:34
nanobyte16-Oct-06 5:34 
GeneralRe: [Form designer] does not save my ultra-simple property / Source inside Pin
nanobyte16-Oct-06 5:40
nanobyte16-Oct-06 5:40 
Question.NET framework Pin
crazy_mads15-Oct-06 18:23
crazy_mads15-Oct-06 18:23 
AnswerRe: .NET framework Pin
Captain See Sharp15-Oct-06 19:05
Captain See Sharp15-Oct-06 19:05 
Question.NET framework Pin
crazy_mads15-Oct-06 18:13
crazy_mads15-Oct-06 18:13 
AnswerRe: .NET framework Pin
Captain See Sharp15-Oct-06 19:18
Captain See Sharp15-Oct-06 19:18 
QuestionMicroscope Input Pin
Bob X15-Oct-06 14:32
Bob X15-Oct-06 14:32 

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.