Click here to Skip to main content
15,917,328 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCstring to char?? Pin
Larsson24-Aug-04 1:33
Larsson24-Aug-04 1:33 
AnswerRe: Cstring to char?? Pin
Cedric Moonen24-Aug-04 1:40
Cedric Moonen24-Aug-04 1:40 
GeneralRe: Cstring to char?? Pin
Larsson24-Aug-04 2:18
Larsson24-Aug-04 2:18 
GeneralRe: Cstring to char?? Pin
Cedric Moonen24-Aug-04 2:24
Cedric Moonen24-Aug-04 2:24 
GeneralRe: Cstring to char?? Pin
David Crow24-Aug-04 3:33
David Crow24-Aug-04 3:33 
AnswerRe: Cstring to char?? Pin
V.24-Aug-04 3:50
professionalV.24-Aug-04 3:50 
GeneralRe: Cstring to char?? Pin
jmkhael24-Aug-04 4:23
jmkhael24-Aug-04 4:23 
GeneralStrange Debuggin Thing Pin
Paolo Ponzano24-Aug-04 1:13
Paolo Ponzano24-Aug-04 1:13 
hello,
I've some strange problems while debugging, I've one solution with 4 project,2 are exe files, the other 2 are dll.
My problem is I can't see the value of variables while debugging outside the main file.
for example

<br />
case WM_INITDIALOG:<br />
		<br />
		SetWindowPos(hWnd, NULL, wi.rcWindow.left, wi.rcWindow.bottom, 300, 250,  NULL);<br />
		ShowWindow(hWnd,SW_NORMAL);<br />
		//hParser=LoadLibrary("parser.dll");<br />
		if(hParser == NULL)<br />
		{<br />
			MessageBox(hwndMain,"LoadLibrary failed on parser.dll", "Error", MB_ICONERROR|MB_OK);<br />
			break;<br />
		}<br />
		if(!AnalizeMMC(hWnd,NULL))<br />
		{<br />
			MessageBox(hwndMain,"Unable to process multi-media content file", "Error", MB_ICONERROR|MB_OK);<br />
			break;<br />
		}<br />


when I step into AnalizeMMC, that's defined into another .cpp file

<br />
bool AnalizeMMC(HWND hWndMMC,tag *ind)<br />
{<br />
	char temp[30]={0};<br />
	WIN32_FIND_DATA *wfd = new WIN32_FIND_DATA();<br />
	HANDLE hFirstFile=INVALID_HANDLE_VALUE;<br />
	HWND hList=NULL;<br />
	FILE *fd=NULL;<br />
	char test[50]={0};<br />
	hList=GetDlgItem(hWndMMC,IDC_LIST1);<br />
	hFirstFile=FindFirstFile("*.mmc",wfd);<br />
	if (hFirstFile == INVALID_HANDLE_VALUE) return false;<br />
.....<br />


I can't see the value of temp,wfd,hFirstFile and so on...

I receive
wfd CXX0017: Error: symbol "wfd" not found
.......why this happens???, how to fix it?????
the same happens if I refer to content of another project.
Thanks
Paolo
GeneralRe: Strange Debuggin Thing Pin
Antony M Kancidrowski24-Aug-04 4:55
Antony M Kancidrowski24-Aug-04 4:55 
Generaltype conversion Pin
CShoun24-Aug-04 1:07
CShoun24-Aug-04 1:07 
GeneralRe: type conversion Pin
Antony M Kancidrowski24-Aug-04 1:21
Antony M Kancidrowski24-Aug-04 1:21 
Generalsdi Pin
imajit24-Aug-04 0:53
imajit24-Aug-04 0:53 
GeneralRe: sdi Pin
David Crow24-Aug-04 3:35
David Crow24-Aug-04 3:35 
GeneralMFC and Windows API Pin
SylL24-Aug-04 0:34
SylL24-Aug-04 0:34 
GeneralRe: MFC and Windows API Pin
Anthony_Yio24-Aug-04 0:54
Anthony_Yio24-Aug-04 0:54 
GeneralUsing acceleraor keys in Dialog application Pin
WesleyPipes24-Aug-04 0:03
WesleyPipes24-Aug-04 0:03 
GeneralRe: Using acceleraor keys in Dialog application Pin
Cedric Moonen24-Aug-04 1:04
Cedric Moonen24-Aug-04 1:04 
GeneralRe: Using acceleraor keys in Dialog application Pin
WesleyPipes24-Aug-04 3:34
WesleyPipes24-Aug-04 3:34 
GeneralRe: Using acceleraor keys in Dialog application Pin
David Crow24-Aug-04 3:41
David Crow24-Aug-04 3:41 
GeneralRe: Using acceleraor keys in Dialog application Pin
WesleyPipes24-Aug-04 3:55
WesleyPipes24-Aug-04 3:55 
GeneralUsing the timer Pin
wicked_guy24-Aug-04 0:03
wicked_guy24-Aug-04 0:03 
GeneralRe: Using the timer Pin
Antony M Kancidrowski24-Aug-04 0:33
Antony M Kancidrowski24-Aug-04 0:33 
GeneralRe: Using the timer Pin
wicked_guy24-Aug-04 0:59
wicked_guy24-Aug-04 0:59 
GeneralRe: Using the timer Pin
Antony M Kancidrowski24-Aug-04 1:24
Antony M Kancidrowski24-Aug-04 1:24 
GeneralRe: Using the timer Pin
wicked_guy24-Aug-04 1:33
wicked_guy24-Aug-04 1:33 

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.