Click here to Skip to main content
15,919,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMouse event pecularity in vertical scrollbar Pin
Vancouver14-Jun-07 9:47
Vancouver14-Jun-07 9:47 
AnswerRe: Mouse event pecularity in vertical scrollbar [modified] Pin
Mark Salsbery14-Jun-07 10:08
Mark Salsbery14-Jun-07 10:08 
GeneralRe: Mouse event pecularity in vertical scrollbar Pin
Vancouver14-Jun-07 10:15
Vancouver14-Jun-07 10:15 
GeneralRe: Mouse event pecularity in vertical scrollbar Pin
Mark Salsbery14-Jun-07 10:24
Mark Salsbery14-Jun-07 10:24 
GeneralRe: Mouse event pecularity in vertical scrollbar Pin
Vancouver14-Jun-07 11:07
Vancouver14-Jun-07 11:07 
GeneralRe: Mouse event pecularity in vertical scrollbar Pin
Mark Salsbery14-Jun-07 11:23
Mark Salsbery14-Jun-07 11:23 
QuestionRegistering COM dll on 64-bit XP Pin
rana7414-Jun-07 7:27
rana7414-Jun-07 7:27 
Questiontwo instances of a DLL Pin
act_x14-Jun-07 7:06
act_x14-Jun-07 7:06 
I have a DLL which has options to do different tasks based on the options selected during initialization

lets call this A.dll

so say there is an intialization API

AInit( int mode = mode2) // can take mode1 or mode2


Now applications App 1 and App 2 can load this dll but load using different options.


I want to prevent this from happenning simultaneously. in other words my requirements is that someone loads A in mode 1 or mode 2 but not simulataneously in mode 1 and mode 2.

Additionally i could have multiple users, load A.dll in mode 2 ( multiple readers ) but
multiple of Mode 1 or a mix of Mode 1 and Mode 2 should be disallowed.

Is there a way I enforce this in code or ideas to do the same ?


I was thinking on the lines of a Mutex !



Engineering is the effort !

AnswerRe: two instances of a DLL Pin
Matthew Faithfull14-Jun-07 8:17
Matthew Faithfull14-Jun-07 8:17 
QuestionExporting data to mutiple.txt files Pin
ciphus2114-Jun-07 6:08
ciphus2114-Jun-07 6:08 
AnswerRe: Exporting data to mutiple.txt files Pin
CPallini14-Jun-07 10:27
mveCPallini14-Jun-07 10:27 
AnswerRe: Exporting data to mutiple.txt files Pin
David Crow14-Jun-07 10:35
David Crow14-Jun-07 10:35 
AnswerRe: Exporting data to mutiple.txt files Pin
led mike14-Jun-07 10:44
led mike14-Jun-07 10:44 
QuestionForced scoping as a programming technique? Pin
Cyrilix14-Jun-07 5:53
Cyrilix14-Jun-07 5:53 
AnswerRe: Forced scoping as a programming technique? Pin
Michael Dunn14-Jun-07 6:27
sitebuilderMichael Dunn14-Jun-07 6:27 
GeneralRe: Forced scoping as a programming technique? Pin
Nemanja Trifunovic14-Jun-07 6:28
Nemanja Trifunovic14-Jun-07 6:28 
GeneralRe: Forced scoping as a programming technique? Pin
Cyrilix14-Jun-07 6:43
Cyrilix14-Jun-07 6:43 
GeneralRe: Forced scoping as a programming technique? Pin
jbarton14-Jun-07 8:53
jbarton14-Jun-07 8:53 
GeneralRe: Forced scoping as a programming technique? Pin
Cyrilix14-Jun-07 9:38
Cyrilix14-Jun-07 9:38 
GeneralRe: Forced scoping as a programming technique? Pin
jbarton14-Jun-07 9:57
jbarton14-Jun-07 9:57 
GeneralRe: Forced scoping as a programming technique? Pin
Cyrilix14-Jun-07 10:38
Cyrilix14-Jun-07 10:38 
GeneralRe: Forced scoping as a programming technique? Pin
jbarton15-Jun-07 3:20
jbarton15-Jun-07 3:20 
GeneralRe: Forced scoping as a programming technique? [modified] Pin
Cyrilix15-Jun-07 3:45
Cyrilix15-Jun-07 3:45 
AnswerRe: Forced scoping as a programming technique? Pin
Nemanja Trifunovic14-Jun-07 6:27
Nemanja Trifunovic14-Jun-07 6:27 
AnswerRe: Forced scoping as a programming technique? Pin
bob1697214-Jun-07 8:12
bob1697214-Jun-07 8:12 

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.