Click here to Skip to main content
15,905,563 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralPlug-in in IE Pin
Pauwl20-Feb-05 21:46
Pauwl20-Feb-05 21:46 
GeneralATL ActiveX Control Pin
muslcesonvacation20-Feb-05 7:34
muslcesonvacation20-Feb-05 7:34 
GeneralRe: ATL ActiveX Control Pin
Michael Dunn20-Feb-05 11:03
sitebuilderMichael Dunn20-Feb-05 11:03 
GeneralRe: ATL ActiveX Control Pin
muslcesonvacation20-Feb-05 12:51
muslcesonvacation20-Feb-05 12:51 
GeneralRe: ATL ActiveX Control Pin
Igor Vigdorchik20-Feb-05 15:14
Igor Vigdorchik20-Feb-05 15:14 
GeneralRe: ATL ActiveX Control Pin
Anonymous21-Feb-05 3:45
Anonymous21-Feb-05 3:45 
GeneralRe: ATL ActiveX Control Pin
muslcesonvacation21-Feb-05 14:01
muslcesonvacation21-Feb-05 14:01 
GeneralWinlogon/Notify packet problem. Pin
dabayi18-Feb-05 2:53
dabayi18-Feb-05 2:53 
Hallo,

I’m writing a Winlogon/Notify packet. I have therefore written a dll and made the necessaries registry entries. The communication between winlogon.exe and my dll is ok.

I’m unfortunalty facing a curious problem trying to work with the member variables from the PWLX_NOTIFICATION_INFO object passed from WinLogon.exe

Follow some code lines.
<br />
void __stdcall MyLogOn(PWLX_NOTIFICATION_INFO pInfo)<br />
{<br />
	if((pInfo!=NULL)&&(pInfo->Domain != NULL))<br />
	{<br />
 		size_t iSize;<br />
		char    *cDomain = NULL;<br />
		iSize = wcstombs(0, pInfo->Domain,0); //I’m getting error here ...<br />
		cDomain   = new char[iSize];<br />
		cDomain[iSize] = NULL;<br />
		<br />
		wcstombs(cDomain, pInfo->Domain, iSize);<br />
	}	<br />
}<br />
<br />

What is wrong with my code?


Thanks in advance for helping.


dabayi
GeneralRe: Winlogon/Notify packet problem. Pin
ThatsAlok18-Feb-05 20:47
ThatsAlok18-Feb-05 20:47 
GeneralRe: Winlogon/Notify packet problem. Pin
Jörgen Sigvardsson19-Feb-05 6:31
Jörgen Sigvardsson19-Feb-05 6:31 
GeneralATL App consuming .NET Pin
Chiew Heng Wah17-Feb-05 19:25
Chiew Heng Wah17-Feb-05 19:25 
GeneralRe: ATL App consuming .NET Pin
Gevorg22-Feb-05 10:15
Gevorg22-Feb-05 10:15 
GeneralPWSTR length Pin
dabayi17-Feb-05 1:45
dabayi17-Feb-05 1:45 
GeneralRe: PWSTR length Pin
ThatsAlok17-Feb-05 3:03
ThatsAlok17-Feb-05 3:03 
GeneralRe: PWSTR length Pin
dabayi17-Feb-05 3:17
dabayi17-Feb-05 3:17 
GeneralRe: PWSTR length Pin
ThatsAlok17-Feb-05 4:50
ThatsAlok17-Feb-05 4:50 
GeneralRe: PWSTR length Pin
dabayi17-Feb-05 5:22
dabayi17-Feb-05 5:22 
Generalcalling member functions from a map Pin
Malcolm Smart16-Feb-05 21:43
Malcolm Smart16-Feb-05 21:43 
GeneralRe: calling member functions from a map Pin
Stuart Dootson17-Feb-05 10:33
professionalStuart Dootson17-Feb-05 10:33 
GeneralRe: calling member functions from a map Pin
Malcolm Smart17-Feb-05 21:46
Malcolm Smart17-Feb-05 21:46 
GeneralRe: calling member functions from a map Pin
Stuart Dootson18-Feb-05 4:39
professionalStuart Dootson18-Feb-05 4:39 
GeneralRe: calling member functions from a map Pin
Malcolm Smart18-Feb-05 5:36
Malcolm Smart18-Feb-05 5:36 
GeneralProblem with regular C Class in ATL Pin
rwestgraham16-Feb-05 0:06
rwestgraham16-Feb-05 0:06 
Questionhow to provide same con. point in different objects Pin
grinder15-Feb-05 23:00
grinder15-Feb-05 23:00 
GeneralList Control in ATL dialog Pin
abel66615-Feb-05 8:10
abel66615-Feb-05 8:10 

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.