Click here to Skip to main content
15,920,031 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Process Priority Pin
Michael Dunn4-Jul-07 13:02
sitebuilderMichael Dunn4-Jul-07 13:02 
AnswerRe: Process Priority Pin
Randor 4-Jul-07 13:39
professional Randor 4-Jul-07 13:39 
AnswerRe: Process Priority Pin
Hamid_RT4-Jul-07 19:36
Hamid_RT4-Jul-07 19:36 
GeneralRe: Process Priority Pin
Perspx5-Jul-07 7:03
Perspx5-Jul-07 7:03 
GeneralRe: Process Priority Pin
Hamid_RT6-Jul-07 0:52
Hamid_RT6-Jul-07 0:52 
QuestionPassing Handles Pin
tom groezer4-Jul-07 10:13
tom groezer4-Jul-07 10:13 
AnswerRe: Passing Handles Pin
David Crow5-Jul-07 3:07
David Crow5-Jul-07 3:07 
QuestionGeneral DLL questions Pin
ForNow4-Jul-07 9:52
ForNow4-Jul-07 9:52 
I am desgning an addition of Visual Studio makefile solution which contains only one project

I figure I'll make my code another project in C++ maybe use .NET (the orignal code/project/solution is C)

The project I am writting contains 3 classes

The first Class is Global as there is only 1 instance
by that I mean it should be able to be accessed by all functions within the project('s) there are locking mechinism to ensure single threading/proper access

I thought about writting this CLass as a DLL

Few questions come to mind

1) can I keep all three class in the same project

2) Should I export and import the entire class e.g.
Class _declspec(dllexport) DllClass
{
and conversely in the program using the DLL

Class _declspec(dllimport) DllClass
{
or maybe only certin methods or data members

3) do I need to decalre all members and methods
as static

4) Do I a LoadLibrary/GetProcAddress ??
if I use the dllexport/dllimport do I still need
to do a LoadLibrary/GetprocAddress call ??


Thankx in advance
QuestionMultiple inheritance in MFC Pin
tom groezer4-Jul-07 9:28
tom groezer4-Jul-07 9:28 
AnswerRe: Multiple inheritance in MFC Pin
Mark Salsbery4-Jul-07 9:31
Mark Salsbery4-Jul-07 9:31 
GeneralRe: Multiple inheritance in MFC Pin
tom groezer4-Jul-07 10:19
tom groezer4-Jul-07 10:19 
GeneralRe: Multiple inheritance in MFC Pin
David Crow5-Jul-07 3:13
David Crow5-Jul-07 3:13 
GeneralRe: Multiple inheritance in MFC Pin
Mark Salsbery5-Jul-07 10:54
Mark Salsbery5-Jul-07 10:54 
Questionhow to use "OnNewDocument" from cview or cmainframe class Pin
chaitannya_m4-Jul-07 9:18
chaitannya_m4-Jul-07 9:18 
AnswerRe: how to use "OnNewDocument" from cview or cmainframe class Pin
Mark Salsbery4-Jul-07 9:47
Mark Salsbery4-Jul-07 9:47 
GeneralRe: how to use "OnNewDocument" from cview or cmainframe class Pin
chaitannya_m4-Jul-07 16:21
chaitannya_m4-Jul-07 16:21 
GeneralRe: how to use "OnNewDocument" from cview or cmainframe class Pin
Mark Salsbery5-Jul-07 6:53
Mark Salsbery5-Jul-07 6:53 
QuestionC++ data structures Pin
tom groezer4-Jul-07 8:54
tom groezer4-Jul-07 8:54 
AnswerRe: C++ data structures Pin
Maximilien4-Jul-07 9:06
Maximilien4-Jul-07 9:06 
QuestionRe: C++ data structures Pin
David Crow5-Jul-07 3:15
David Crow5-Jul-07 3:15 
QuestionCString::Replace Problem [modified] Pin
lparsonson4-Jul-07 5:58
lparsonson4-Jul-07 5:58 
AnswerRe: CString::Replace Problem Pin
Mark Salsbery4-Jul-07 7:02
Mark Salsbery4-Jul-07 7:02 
GeneralRe: CString::Replace Problem Pin
lparsonson5-Jul-07 4:54
lparsonson5-Jul-07 4:54 
QuestionCStatic drawing interrupted... Worker, UI Threads???? Pin
Greg Ellis4-Jul-07 5:41
Greg Ellis4-Jul-07 5:41 
AnswerRe: CStatic drawing interrupted... Worker, UI Threads???? Pin
Matthew Faithfull4-Jul-07 6:27
Matthew Faithfull4-Jul-07 6:27 

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.