Click here to Skip to main content
       

C#

 
Questionwebrequest/response live.mail.com PinmemberCrispybc5-May-13 12:15 
AnswerRe: webrequest/response live.mail.com PinprofessionalBernhard Hiller5-May-13 22:04 
GeneralRe: webrequest/response live.mail.com PinmemberCrispybc6-May-13 2:41 
Questionproblem Webservice Pinmemberazadehrasadi5-May-13 0:12 
hiiiiiiiiiiiiiiiiiiiiii
 
in the ATL dll project there is one function with BYTE* Parameter.
STDMETHODIMP CMSDllServer::sum22(BYTE* aa,SHORT len)
{
	AFX_MANAGE_STATE(AfxGetStaticModuleState());
 
	
	for(int i=1;i<len;i++)
	{
		aa[i]=i;
	}
  return S_OK;
}
 
in use during from this function in a windowes application c# doesnot exist no problem and array values returned to truth
 
	byte[] Packet = new byte[5];
 
	dllServer.sum22(ref Packet[0],5);
 
       //out put
         1,2,3,4,5
 

but
 
the same function in a webservice returned to only first index array and exist very big problem
 
       byte[] Packet = new byte[5];
	dllServer.sum22(ref Packet[0],5);
 
       //out put
         1,0,0,0,0
 

 
help me pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeee
 
thanx
AnswerRe: problem Webservice PinmvpOriginalGriff5-May-13 6:08 
GeneralRe: problem Webservice Pinmemberazadehrasadi12-May-13 2:17 
GeneralRe: problem Webservice PinprotectorOriginalGriff12-May-13 2:24 
GeneralRe: problem Webservice Pinmemberazadehrasadi12-May-13 18:31 
QuestionWEB SERVICES Pinmembersonu Ranjan4-May-13 22:16 
AnswerRe: WEB SERVICES PinmvpAbhinav S5-May-13 20:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140921.1 | Last Updated 22 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid