Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can reduce memory usage of application? Pin
Le@rner5-Mar-10 18:07
Le@rner5-Mar-10 18:07 
AnswerRe: How can reduce memory usage of application? Pin
Stephen Hewitt5-Mar-10 22:18
Stephen Hewitt5-Mar-10 22:18 
AnswerRe: How can reduce memory usage of application? Pin
CPallini6-Mar-10 0:42
mveCPallini6-Mar-10 0:42 
AnswerRe: How can reduce memory usage of application? Pin
Eugen Podsypalnikov6-Mar-10 9:01
Eugen Podsypalnikov6-Mar-10 9:01 
GeneralRe: How can reduce memory usage of application? Pin
Le@rner8-Mar-10 0:03
Le@rner8-Mar-10 0:03 
GeneralRe: How can reduce memory usage of application? Pin
Eugen Podsypalnikov8-Mar-10 3:01
Eugen Podsypalnikov8-Mar-10 3:01 
GeneralRe: How can reduce memory usage of application? Pin
Le@rner8-Mar-10 17:06
Le@rner8-Mar-10 17:06 
GeneralRe: How can reduce memory usage of application? Pin
Eugen Podsypalnikov8-Mar-10 19:41
Eugen Podsypalnikov8-Mar-10 19:41 
GeneralRe: How can reduce memory usage of application? Pin
Le@rner8-Mar-10 20:01
Le@rner8-Mar-10 20:01 
GeneralRe: How can reduce memory usage of application? Pin
Eugen Podsypalnikov8-Mar-10 20:47
Eugen Podsypalnikov8-Mar-10 20:47 
GeneralRe: How can reduce memory usage of application? Pin
Le@rner8-Mar-10 22:08
Le@rner8-Mar-10 22:08 
GeneralRe: How can reduce memory usage of application? Pin
Eugen Podsypalnikov8-Mar-10 22:11
Eugen Podsypalnikov8-Mar-10 22:11 
GeneralRe: How can reduce memory usage of application? Pin
Le@rner8-Mar-10 22:16
Le@rner8-Mar-10 22:16 
GeneralRe: How can reduce memory usage of application? Pin
Eugen Podsypalnikov8-Mar-10 22:28
Eugen Podsypalnikov8-Mar-10 22:28 
GeneralRe: How can reduce memory usage of application? Pin
Le@rner8-Mar-10 22:38
Le@rner8-Mar-10 22:38 
GeneralRe: How can reduce memory usage of application? Pin
Eugen Podsypalnikov8-Mar-10 22:40
Eugen Podsypalnikov8-Mar-10 22:40 
QuestionHow Add dialog and show it? Pin
sepel5-Mar-10 17:36
sepel5-Mar-10 17:36 
AnswerRe: How Add dialog and show it? Pin
A&Ms5-Mar-10 18:30
A&Ms5-Mar-10 18:30 
GeneralRe: How Add dialog and show it? Pin
sepel5-Mar-10 20:09
sepel5-Mar-10 20:09 
GeneralRe: How Add dialog and show it? Pin
A&Ms6-Mar-10 4:07
A&Ms6-Mar-10 4:07 
GeneralRe: How Add dialog and show it? Pin
sepel6-Mar-10 20:51
sepel6-Mar-10 20:51 
QuestionProtect App Pin
john56325-Mar-10 15:43
john56325-Mar-10 15:43 
AnswerRe: Protect App Pin
Maximilien6-Mar-10 1:19
Maximilien6-Mar-10 1:19 
QuestionConverting char* to LPCSTR Pin
ArnorBld5-Mar-10 14:00
ArnorBld5-Mar-10 14:00 
I'm working a _little bit_ with Visual C++ (Visual Studio 2005) but it is not a language I'm familiar with! I have a funtion that needs to take a char* parameter (non unicode) but inside that function I need to work with the data passed in as LPCSTR. I have found quite a few options to convert from LPCSTR to char* but not the other way around.

I have:

myfunction (char* param1)
{
LPCSTR p1;
}

How do I get the value of param1 into p1?

Thanks in advanceSmile | :)

Best regards,
Arnor Baldvinsson

AnswerRe: Converting char* to LPCSTR Pin
Avi Berger5-Mar-10 14:27
Avi Berger5-Mar-10 14: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.