Click here to Skip to main content
15,914,014 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan not access serial port on Win2k Pin
KMilind9-Oct-01 20:46
KMilind9-Oct-01 20:46 
AnswerRe: Can not access serial port on Win2k Pin
Tim Smith10-Oct-01 1:50
Tim Smith10-Oct-01 1:50 
GeneralRe: Can not access serial port on Win2k Pin
KMilind10-Oct-01 18:13
KMilind10-Oct-01 18:13 
Generalfile locking problem... Pin
l a u r e n9-Oct-01 20:31
l a u r e n9-Oct-01 20:31 
GeneralWinsock2 Speed Problem Pin
ColinDavies9-Oct-01 18:16
ColinDavies9-Oct-01 18:16 
GeneralSetWindowText Pin
Jimolo9-Oct-01 17:17
Jimolo9-Oct-01 17:17 
GeneralRe: SetWindowText Pin
9-Oct-01 18:54
suss9-Oct-01 18:54 
QuestionHow to share handle in dll among the process ? Pin
9-Oct-01 16:42
suss9-Oct-01 16:42 
+----------+ +----------+
| Process1 | | Process2 |
+----------+ +----------+
| |
| |
+----|----------------|-----+
| | (Shared) DLL | |
| V V |
| Func1 Func2 |
| | | |
| +-V-----------+ | |
| | HANDLE hVxD |<---+ |
| +-------------+ |
+-------|-------------------+
|
V <----- hVxd = CreateFile(...)
+-------+
| VXD |
+-------+


Question> How to share 'hVxD' between 'Process1' and 'Process2' ?

Process 1 open device(vxd). then process 2 access the device using opened-vxd handle(hVxd).

I think use DuplicateHandle().
please let the show the details how to use it.

Thanks in advance.
GeneralCDatabase and Access files Pin
Paul Selormey9-Oct-01 15:56
Paul Selormey9-Oct-01 15:56 
GeneralRe: CDatabase and Access files Pin
9-Oct-01 19:03
suss9-Oct-01 19:03 
GeneralRe: CDatabase and Access files Pin
Paul Selormey9-Oct-01 20:40
Paul Selormey9-Oct-01 20:40 
GeneralAdding Hyperlinks to dialogs Pin
9-Oct-01 14:49
suss9-Oct-01 14:49 
GeneralRe: Adding Hyperlinks to dialogs Pin
Paul Selormey9-Oct-01 15:47
Paul Selormey9-Oct-01 15:47 
GeneralTree Control Pin
Vu Nguyen9-Oct-01 14:20
Vu Nguyen9-Oct-01 14:20 
GeneralRe: Tree Control Pin
Paolo Messina10-Oct-01 9:41
professionalPaolo Messina10-Oct-01 9:41 
GeneralRe: Tree Control Pin
Vu Nguyen10-Oct-01 10:33
Vu Nguyen10-Oct-01 10:33 
GeneralRe: Tree Control Pin
Chambers18-Oct-01 1:15
Chambers18-Oct-01 1:15 
GeneralRe: Tree Control Pin
Paolo Messina18-Oct-01 2:13
professionalPaolo Messina18-Oct-01 2:13 
Generalseeking the BCGControlBar 4.7 Pin
9-Oct-01 11:27
suss9-Oct-01 11:27 
GeneralRe: seeking the BCGControlBar 4.7 Pin
Paul Selormey9-Oct-01 15:40
Paul Selormey9-Oct-01 15:40 
GeneralEditbox Validation when hitting enter Pin
Steve The Plant9-Oct-01 10:34
Steve The Plant9-Oct-01 10:34 
GeneralRe: Editbox Validation when hitting enter Pin
Carlos Antollini9-Oct-01 11:18
Carlos Antollini9-Oct-01 11:18 
GeneralRe: Editbox Validation when hitting enter Pin
9-Oct-01 18:51
suss9-Oct-01 18:51 
GeneralEvent Notification in C++ Pin
Sam C9-Oct-01 9:34
Sam C9-Oct-01 9:34 
GeneralRe: Event Notification in C++ Pin
Nemanja Trifunovic9-Oct-01 9:42
Nemanja Trifunovic9-Oct-01 9:42 

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.