Click here to Skip to main content
15,886,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SOLVED Dbt.h - symbol not defined? Pin
Vaclav_7-Dec-12 7:26
Vaclav_7-Dec-12 7:26 
QuestionImage Processing Algorithms. Pin
mbatra315-Dec-12 0:11
mbatra315-Dec-12 0:11 
AnswerRe: Image Processing Algorithms. Pin
ThatsAlok5-Dec-12 1:28
ThatsAlok5-Dec-12 1:28 
AnswerRe: Image Processing Algorithms. Pin
Stefan_Lang6-Dec-12 2:43
Stefan_Lang6-Dec-12 2:43 
AnswerRe: Image Processing Algorithms. Pin
April Fans22-Dec-12 21:01
April Fans22-Dec-12 21:01 
QuestionMouse procedure On Multiple Window Pin
002comp4-Dec-12 18:20
002comp4-Dec-12 18:20 
AnswerRe: Mouse procedure On Multiple Window [ setCapture Not Releasing] how to deal with two Windows. Pin
002comp4-Dec-12 20:00
002comp4-Dec-12 20:00 
QuestionAbout set share directory Pin
tida014-Dec-12 16:06
tida014-Dec-12 16:06 
In LAN,two computers A and B are conected.I compile a function code for share directory set.The program run in A computer.In B computer's addres bar inputting A computer's IP,I can see the directory of shared but DBClicking the folder I cannot enter and system tell me that I don't have the right to get into the folder to perform the edition.
However,my friends in another city and another test environment,can get the true result normal function.

Futhermore,manual setting share directory can be normal but the program setting cannot.At the same time,I find some different points.In editting security policy setting,"Group or user names:" add an item which is "Everyone" in manual setting,but program setting not appear.If this is the reason,how to set in program?

Thanks for all.

C++
        DWORD	param_err = NERR_Success;
	DWORD	dwRet=NERR_Success;
	TCHAR	szMsg[MAX_PATH]	={0};
	SHARE_INFO_2 p;
	p.shi2_netname = TEXT("TESTSHARE");    
	p.shi2_type = STYPE_DISKTREE; // disk drive
	p.shi2_remark = TEXT("TESTSHARE");
	p.shi2_permissions = ACCESS_ALL;    
	p.shi2_max_uses = -1;
	p.shi2_current_uses = 0;    
	p.shi2_path = TEXT("C:\\WW");
	p.shi2_passwd = NULL; // no password
	dwRet = NetShareAdd(NULL, 2, (LPBYTE) &p, ¶m_err);
if ( dwRet != NERR_Success)
	{
		_stprintf(szMsg, _T("Add share error %d"), dwRet);
		MessageBox(szMsg);
	}
	else
	{
		MessageBox(_T("Add share successful."));
	}

QuestionHow to create a DLL for mini2440 to run Labview Application Pin
sunil8800894-Dec-12 4:00
sunil8800894-Dec-12 4:00 
AnswerRe: How to create a DLL for mini2440 to run Labview Application Pin
Richard MacCutchan4-Dec-12 4:36
mveRichard MacCutchan4-Dec-12 4:36 
GeneralRe: How to create a DLL for mini2440 to run Labview Application Pin
sunil8800894-Dec-12 19:46
sunil8800894-Dec-12 19:46 
GeneralRe: How to create a DLL for mini2440 to run Labview Application Pin
Richard MacCutchan4-Dec-12 21:17
mveRichard MacCutchan4-Dec-12 21:17 
QuestionCComboBox for lots and lots of options Pin
Mattias G4-Dec-12 3:09
Mattias G4-Dec-12 3:09 
AnswerRe: CComboBox for lots and lots of options Pin
Richard MacCutchan4-Dec-12 4:40
mveRichard MacCutchan4-Dec-12 4:40 
GeneralRe: CComboBox for lots and lots of options Pin
Mattias G4-Dec-12 9:56
Mattias G4-Dec-12 9:56 
GeneralRe: CComboBox for lots and lots of options Pin
Richard MacCutchan4-Dec-12 21:15
mveRichard MacCutchan4-Dec-12 21:15 
GeneralRe: CComboBox for lots and lots of options Pin
Rolf Kristensen5-Dec-12 7:13
Rolf Kristensen5-Dec-12 7:13 
QuestionCString assignment crashes on Windows 7 Pin
pandit843-Dec-12 3:57
pandit843-Dec-12 3:57 
SuggestionRe: CString assignment crashes on Windows 7 Pin
David Crow3-Dec-12 4:08
David Crow3-Dec-12 4:08 
AnswerRe: CString assignment crashes on Windows 7 Pin
CPallini3-Dec-12 4:15
mveCPallini3-Dec-12 4:15 
AnswerRe: CString assignment crashes on Windows 7 Pin
Richard MacCutchan3-Dec-12 5:02
mveRichard MacCutchan3-Dec-12 5:02 
GeneralRe: CString assignment crashes on Windows 7 Pin
pandit843-Dec-12 5:41
pandit843-Dec-12 5:41 
GeneralRe: CString assignment crashes on Windows 7 Pin
Richard MacCutchan3-Dec-12 6:22
mveRichard MacCutchan3-Dec-12 6:22 
AnswerRe: CString assignment crashes on Windows 7 Pin
Stephen Hewitt4-Dec-12 6:34
Stephen Hewitt4-Dec-12 6:34 
GeneralRe: CString assignment crashes on Windows 7 Pin
pandit844-Dec-12 19:44
pandit844-Dec-12 19:44 

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.