Click here to Skip to main content
15,911,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DAO Database classes are not supported for Win64 platforms error help Pin
JackDingler11-Jun-13 4:19
JackDingler11-Jun-13 4:19 
QuestionRe: DAO Database classes are not supported for Win64 platforms error help Pin
David Crow10-Jun-13 5:49
David Crow10-Jun-13 5:49 
QuestionHow to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Falconapollo8-Jun-13 15:29
Falconapollo8-Jun-13 15:29 
AnswerRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Richard MacCutchan8-Jun-13 21:44
mveRichard MacCutchan8-Jun-13 21:44 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Stefan_Lang10-Jun-13 20:53
Stefan_Lang10-Jun-13 20:53 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Richard MacCutchan10-Jun-13 21:01
mveRichard MacCutchan10-Jun-13 21:01 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
JackDingler11-Jun-13 4:24
JackDingler11-Jun-13 4:24 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Richard MacCutchan11-Jun-13 4:41
mveRichard MacCutchan11-Jun-13 4:41 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
JackDingler11-Jun-13 5:04
JackDingler11-Jun-13 5:04 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Falconapollo10-Jun-13 21:44
Falconapollo10-Jun-13 21:44 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
JackDingler11-Jun-13 4:24
JackDingler11-Jun-13 4:24 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Falconapollo12-Jun-13 0:32
Falconapollo12-Jun-13 0:32 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
JackDingler12-Jun-13 4:45
JackDingler12-Jun-13 4:45 
AnswerRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
jschell10-Jun-13 9:17
jschell10-Jun-13 9:17 
AnswerRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Stefan_Lang10-Jun-13 21:27
Stefan_Lang10-Jun-13 21:27 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Falconapollo10-Jun-13 21:40
Falconapollo10-Jun-13 21:40 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Stefan_Lang11-Jun-13 0:07
Stefan_Lang11-Jun-13 0:07 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Falconapollo11-Jun-13 0:21
Falconapollo11-Jun-13 0:21 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
JackDingler11-Jun-13 4:28
JackDingler11-Jun-13 4:28 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
SoMad10-Jun-13 22:11
professionalSoMad10-Jun-13 22:11 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
jschell11-Jun-13 8:37
jschell11-Jun-13 8:37 
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Falconapollo12-Jun-13 0:28
Falconapollo12-Jun-13 0:28 
AnswerRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
jschell11-Jun-13 8:43
jschell11-Jun-13 8:43 
If your problem is that your application fails because over time this library keeps consuming memory then the solution is to remove the library from your application. You can do that as follows.

1. Create an executable that wraps the library.
2. Provide a communication idiom: files, stdio or sockets. That provides the necessary API for your business needs (basically a proxy for what you are already doing.)
3. In your actual application use WinProcess (or whatever the method is called) to execute 1 and manage it.
4. Use the communication from 2 from your application in place of the straight to library calls you are currently using.

Other variations on the above depend on your needs
- Create multiple instance
- Stop each instance after X (1 or more) uses
- Have min/max instances and use a locked queue to send requests for processing
- Detect failures, restart and retry a request.
- Detect excessive memory usage, terminate and restart.
GeneralRe: How to avoid thrid party lib(no source codes) to allocate memory from physical memory? Pin
Falconapollo12-Jun-13 0:29
Falconapollo12-Jun-13 0:29 
QuestionVC++ Convert file to base64 string and vice versa Pin
Member 84179548-Jun-13 8:34
Member 84179548-Jun-13 8:34 

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.