Click here to Skip to main content
15,895,656 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: stl iterators Pin
RChin30-Sep-04 1:48
RChin30-Sep-04 1:48 
GeneralRe: stl iterators Pin
Iain Clarke, Warrior Programmer30-Sep-04 4:54
Iain Clarke, Warrior Programmer30-Sep-04 4:54 
GeneralRe: stl iterators Pin
Joaquín M López Muñoz30-Sep-04 9:10
Joaquín M López Muñoz30-Sep-04 9:10 
GeneralRe: stl iterators Pin
RChin30-Sep-04 23:20
RChin30-Sep-04 23:20 
GeneralAsserion failed Pin
30-Sep-04 0:22
suss30-Sep-04 0:22 
GeneralRe: Asserion failed Pin
22491730-Sep-04 1:08
22491730-Sep-04 1:08 
GeneralRe: Asserion failed Pin
David Crow30-Sep-04 5:48
David Crow30-Sep-04 5:48 
GeneralProvide an Interface to my Program Pin
sweep12329-Sep-04 22:55
sweep12329-Sep-04 22:55 
I would like to seek some advice as in general terms how proceed with my current program, written as a MFC Dialog (C++) application in Visual Studio .Net.

I have developed it over the last few months as an application which creates its own internal database – a large array of a user defined structure. I can access this data by two means; by name or index (0 to n).

Now I need to provide an interface to this array (database) so that I can write other applications to use this database along side my program.

So my question is

‘What sort of interface should I provide?

and

How to implement it? i.e. do I need to protect the data during access etc

I have never written any DLLs, just used them, also currently think of using the database item name as the access key and would like the option to write these programs in C or C++, so I question the use of CString as the database names are held in a CStringArray.

Any comments greatly appreciated.
GeneralRe: Provide an Interface to my Program Pin
22491730-Sep-04 1:25
22491730-Sep-04 1:25 
GeneralArrow Keys Pin
Neelesh K J Jain29-Sep-04 21:09
Neelesh K J Jain29-Sep-04 21:09 
GeneralRe: Arrow Keys Pin
V.29-Sep-04 22:32
professionalV.29-Sep-04 22:32 
GeneralRe: Arrow Keys Pin
Neelesh K J Jain29-Sep-04 23:22
Neelesh K J Jain29-Sep-04 23:22 
GeneralRe: Arrow Keys Pin
V.30-Sep-04 1:33
professionalV.30-Sep-04 1:33 
GeneralRe: Arrow Keys Pin
David Crow30-Sep-04 5:50
David Crow30-Sep-04 5:50 
QuestionWhich memory allocator to use? Pin
George Ionescu29-Sep-04 20:30
George Ionescu29-Sep-04 20:30 
AnswerRe: Which memory allocator to use? Pin
cmk29-Sep-04 21:52
cmk29-Sep-04 21:52 
AnswerRe: Which memory allocator to use? Pin
David Crow30-Sep-04 5:54
David Crow30-Sep-04 5:54 
Generalwarning C4652 Pin
mithuna29-Sep-04 20:12
mithuna29-Sep-04 20:12 
GeneralRe: warning C4652 Pin
Antony M Kancidrowski30-Sep-04 2:10
Antony M Kancidrowski30-Sep-04 2:10 
GeneralRe: warning C4652 Pin
22491730-Sep-04 2:41
22491730-Sep-04 2:41 
GeneralVC++ Class Structures Pin
novicedude29-Sep-04 20:00
novicedude29-Sep-04 20:00 
GeneralRe: VC++ Class Structures Pin
Monty229-Sep-04 20:16
Monty229-Sep-04 20:16 
GeneralRe: VC++ Class Structures Pin
David Crow30-Sep-04 5:56
David Crow30-Sep-04 5:56 
Generalchanging user drawn bitmap button Pin
Dimenser29-Sep-04 17:55
Dimenser29-Sep-04 17:55 
GeneralRe: changing user drawn bitmap button Pin
V.29-Sep-04 22:38
professionalV.29-Sep-04 22:38 

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.