Click here to Skip to main content
15,916,215 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Displaying Text in rich edit in diffrent font Pin
Hamid_RT9-Feb-07 5:30
Hamid_RT9-Feb-07 5:30 
QuestionEvent handling right click on dialog? Pin
ldsdbomber9-Feb-07 0:36
ldsdbomber9-Feb-07 0:36 
AnswerRe: Event handling right click on dialog? Pin
Naveen9-Feb-07 1:31
Naveen9-Feb-07 1:31 
AnswerRe: Event handling right click on dialog? Pin
James R. Twine9-Feb-07 1:45
James R. Twine9-Feb-07 1:45 
AnswerRe: Event handling right click on dialog? Pin
Hamid_RT9-Feb-07 5:30
Hamid_RT9-Feb-07 5:30 
QuestionUsing GDI+ to draw a Stroke effect on text. Pin
Bartosz Bien8-Feb-07 23:50
Bartosz Bien8-Feb-07 23:50 
QuestionWindows service Pin
david bagaturia8-Feb-07 23:38
david bagaturia8-Feb-07 23:38 
Questionparameter value lost after control goes in body why? Pin
amitmistry_petlad 8-Feb-07 22:41
amitmistry_petlad 8-Feb-07 22:41 
i have called function.
suppose file is x.cpp call function of y.cpp
x.cpp
hr = pEncoder->Compress(WpszInFile,pszOutFile,pIWMProfile,fMultipass,FALSE,FALSE,Host,UserID,InitPackageRequest,ScriptFile,Port,hwndParent,w_KeyID);

y.cpp

HRESULT Encoder::Compress(WCHAR *pwszInputFile,WCHAR * pwszOutputFile,
IWMProfile * pProifle,
BOOL fMultiPass,
BOOL fMultiChannel,
BOOL fSmartRecompression,string Host,string UserID,string InitPackageRequest,string ScriptFile,INTERNET_PORT Port, HWND hwndParent, WCHAR *w_KeyID )
{
Log log;
HRESULT hr = S_OK;

//
// Initialize the pointers
//
m_hEvent = NULL;
m_pReader = NULL;
m_pReaderAdvanced = NULL;
m_pReaderHeaderInfo = NULL;
m_pReaderProfile = NULL;
m_pWriter = NULL;
m_pWriterPreprocess = NULL;
m_pWriterHeaderInfo = NULL;
m_pdwPreprocessPass = NULL;
m_pdwOutputToInput = NULL;
m_pdwOutputToStream = NULL;

if( NULL == pwszInputFile || NULL == pwszOutputFile || NULL == pProifle )
{
return E_INVALIDARG;
}

..................
..................
..................
....................

when the function call there is value like d:\tt.wmv in *pwszInputFile
but when the control goes in the function body it lost valve and give me the value in unicode type
like squares.
what is the reason and why how could i got my value?





Amit
AnswerRe: parameter value lost after control goes in body why? Pin
Cedric Moonen8-Feb-07 22:46
Cedric Moonen8-Feb-07 22:46 
GeneralRe: parameter value lost after control goes in body why? Pin
amitmistry_petlad 8-Feb-07 23:59
amitmistry_petlad 8-Feb-07 23:59 
QuestionObtaining the Parallel Port Address Pin
69 Bay8-Feb-07 22:37
69 Bay8-Feb-07 22:37 
AnswerRe: Obtaining the Parallel Port Address Pin
Roger Stoltz8-Feb-07 23:09
Roger Stoltz8-Feb-07 23:09 
GeneralRe: Obtaining the Parallel Port Address Pin
69 Bay9-Feb-07 1:00
69 Bay9-Feb-07 1:00 
GeneralRe: Obtaining the Parallel Port Address Pin
Roger Stoltz9-Feb-07 4:09
Roger Stoltz9-Feb-07 4:09 
GeneralRe: Obtaining the Parallel Port Address Pin
69 Bay9-Feb-07 5:24
69 Bay9-Feb-07 5:24 
GeneralRe: Obtaining the Parallel Port Address Pin
Roger Stoltz10-Feb-07 9:31
Roger Stoltz10-Feb-07 9:31 
QuestionVirtual methods Pin
Waldermort8-Feb-07 22:34
Waldermort8-Feb-07 22:34 
AnswerRe: Virtual methods Pin
Cedric Moonen8-Feb-07 22:39
Cedric Moonen8-Feb-07 22:39 
GeneralRe: Virtual methods Pin
Waldermort9-Feb-07 1:44
Waldermort9-Feb-07 1:44 
QuestionGet IP Address & system name in C Pin
Karismatic8-Feb-07 22:14
Karismatic8-Feb-07 22:14 
AnswerRe: Get IP Address & system name in C Pin
Sethuraman.K9-Feb-07 1:52
Sethuraman.K9-Feb-07 1:52 
QuestionRe: Get IP Address & system name in C Pin
Mark Salsbery9-Feb-07 6:02
Mark Salsbery9-Feb-07 6:02 
AnswerRe: Get IP Address & system name in C Pin
malaugh9-Feb-07 9:06
malaugh9-Feb-07 9:06 
QuestionDisplaying static control on title bar of a dialog Pin
Q2A8-Feb-07 21:57
Q2A8-Feb-07 21:57 
AnswerRe: Displaying static control on title bar of a dialog Pin
Cedric Moonen8-Feb-07 22:20
Cedric Moonen8-Feb-07 22:20 

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.