15,893,401 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by @BangIndia (Top 173 by date)
@BangIndia
17-Jul-17 8:09am
View
Because as the continuous production environment a consumer will keep using the topic. But old data should get deleted. But That's not happening in windows environment.
@BangIndia
10-Mar-15 1:29am
View
Yes i am running the exe in system acccount and trying to log off other accounts.
If you want to use ImpersonateLoggedOnUser then we need to user name and password.
From system account we can't get this.
is there any other way?
@BangIndia
21-Feb-14 10:21am
View
For me that Get-WdsClient failing again.
@BangIndia
21-Feb-14 9:43am
View
using System;
using System.Collections.Generic;
using System.Text;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using System.Collections.ObjectModel;
Runspace runspace = RunspaceFactory.CreateRunspace();
runspace.Open();
Pipeline pipeline = runspace.CreatePipeline();
pipeline.Commands.AddScript("C:\\GetClinetINfo.ps1");
Collection<PSObject> results = pipeline.Invoke();
foreach (object item in pipeline.Error.ReadToEnd())
{
Console.WriteLine("Error" + item.ToString());
}
GetClinetINfo.ps1:
Get-WdsClient -DeviceID 1
above c# code is development in .net 3.5 and powershell 2.0..
@BangIndia
21-Feb-14 9:13am
View
Deleted
I know its not available. but i am running that application in Windows 2012 only. then also its throughing that error.
when i execute the command manually in powershall (which is avaialbe in 2012) its working fine. (I know there is no prob in my command)
@BangIndia
10-Dec-13 5:11am
View
Thanks for comment. I have solved my issue.
@BangIndia
10-Dec-13 3:08am
View
No. I am trying to register com object only.
wmi provider i have created. its working fine in xp.
@BangIndia
19-Nov-13 7:06am
View
NO i didn't get any error .
do u have any examples of Dialog box integration with ATL project?
@BangIndia
19-Nov-13 5:48am
View
Here my exe is getting crashed.
_AFXWIN_INLINE HINSTANCE AFXAPI AfxGetResourceHandle()
{ ASSERT(afxCurrentResourceHandle != NULL);
return afxCurrentResourceHandle; }
@BangIndia
19-Nov-13 5:47am
View
Deleted
_AFXWIN_INLINE HINSTANCE AFXAPI AfxGetResourceHandle()
{ ASSERT(afxCurrentResourceHandle != NULL);
return afxCurrentResourceHandle; }
@BangIndia
3-Oct-13 6:15am
View
Thanks . But this link is giving from the windows side changes.
Need to know any limit from the jboss side for the data transfer..?
@BangIndia
1-Oct-13 10:21am
View
No sir. If i create in windows 7 machines its working in xp.
and one more thing iexpress 2.0 is there in all xp , windows 7 and windows server 2008.
@BangIndia
8-Aug-13 6:36am
View
Yes.
@BangIndia
8-Aug-13 6:29am
View
I have tried
@BangIndia
8-Aug-13 6:16am
View
i have set the value..
There is no prob in the setting.
@BangIndia
7-Aug-13 9:49am
View
No Probs..
@BangIndia
7-Aug-13 9:44am
View
This is what i have mentioned in the question itself.
Read my question properly
@BangIndia
11-Jul-13 5:05am
View
which handle i have to use inside the WaitForSingleObject() ..
Its require a object rite.
@BangIndia
1-Jul-13 4:42am
View
what is problem is the previous code .
@BangIndia
1-Jul-13 4:36am
View
No its working in release mode . but its not working debug mode only (vs 2008 compiler)
@BangIndia
1-Jul-13 4:17am
View
Yes
@BangIndia
1-Jul-13 4:09am
View
Deleted
char *cpTemp = new char[str_Input.length()+1]; //str_Input i am having the input string
sprintf(cpTemp, "%s", str_Input.c_str());
int nLength = str_Input.length();
while(nLength)
{
char cTemp = *cpTemp;
if(isprint(cTemp))
{
}
}
@BangIndia
3-Jun-13 1:40am
View
Same version amitosh. and one more thing we can read MS key ah?
Is it right.? Any where they(Microsoft people) mentioned is wrong like that .
@BangIndia
22-May-13 9:52am
View
i already denoted i decoded, its working for some windows 7 machine. so machine its not working..
@BangIndia
17-May-13 7:25am
View
ADD/Remove Additional components which show in Appwiz.cpl.
add and remove components ..
Any API or wmi class available to read those component status.
Reply.
@BangIndia
16-May-13 10:36am
View
using wmi ican connect remote machine easily. so oly
@BangIndia
7-May-13 8:36am
View
windows vista, try to move administrator group. UserMapToGroup is my API.
but if i create new user its working . but old user which is already created its not working..
@BangIndia
15-Apr-13 9:15am
View
upload itself..
@BangIndia
15-Apr-13 8:30am
View
Any Example code to understand the concept..?
@BangIndia
15-Apr-13 4:06am
View
my applicatons are not running..
just i started the service. thats it. it very slow..
@BangIndia
20-Mar-13 8:29am
View
Each thread won't open the new connection.
one connection , but i will create the new statement for each thread.
That time how it will work.?
@BangIndia
20-Mar-13 6:04am
View
Thanks..Then if i execute one query which is taking long time. then other will wait for that query completion?
@BangIndia
24-Jan-13 0:49am
View
yes
@BangIndia
24-Jan-13 0:19am
View
Deleted
oh. okay let me post new question.
Question subject is : How to user c with Change Journals in windows
@BangIndia
23-Jan-13 23:56pm
View
msdn suggest the Change Journals to use. pls suggest on this.
@BangIndia
23-Jan-13 11:09am
View
see this link.. http://blogs.msdn.com/b/oldnewthing/archive/2011/08/12/10195186.aspx
readdirectoyex is not a good approuch
@BangIndia
23-Jan-13 11:08am
View
see this link.. http://blogs.msdn.com/b/oldnewthing/archive/2011/08/12/10195186.aspx
readdirectoyex is not a good approuch
@BangIndia
23-Jan-13 11:08am
View
see this link.. http://blogs.msdn.com/b/oldnewthing/archive/2011/08/12/10195186.aspx
readdirectoyex is not a good approuch
@BangIndia
22-Jan-13 7:27am
View
What will be the solution for that issue..
@BangIndia
22-Jan-13 1:22am
View
ftpcreateDirectory is giving error as 19...
but permission i provided. i can able to create from cmd line.
i used the FtpGetCurrentDirectory also. its giving the valid path
@BangIndia
9-Jan-13 9:08am
View
No. how do with that.
@BangIndia
7-Nov-12 5:56am
View
ok. i accept. how to launch a dialog in the service.
once service started i need to ask one input from the user.
how to do that?
@BangIndia
26-Oct-12 2:17am
View
no. its not useful.
what you suggest is based on the GUI.
but i need programmatically wants to do that work .
@BangIndia
3-Oct-12 2:27am
View
Yes..Thanks for the comments.
Any Example...?
@BangIndia
28-Sep-12 10:04am
View
ya. it will connect to server. i need know the clinet ip
@BangIndia
13-Aug-12 3:01am
View
Thanks for the help.
using this i written my mof.
but i don't know how to execute the wmi query.
example:
select * from Win32_OperatingSystem.
i need to execute this query and store the values in my mof variables.
@BangIndia
4-Jul-12 4:26am
View
But i can't able to set the account lock down and password policy..
its locked.
the editing is disabled
@BangIndia
12-Jun-12 7:20am
View
Is there possible to uninstall the remote machine software?
@BangIndia
12-Jun-12 6:45am
View
MsiConfigureProduct
showing some pop up. how to disable the popup
@BangIndia
12-Jun-12 6:41am
View
Deleted
MsiConfigureProduct("{1885262D-021B-4FC2-896B-B17E77B8AEB2}", INSTALLLEVEL_DEFAULT, INSTALLSTATE_LOCAL)
i try to uninstall the DameWare Mini Remote Control 8.0
using the above code.
it gave the uninstall pop up . but is not uninstalling.
@BangIndia
12-Jun-12 6:06am
View
Final one question.
i installed the vlc media player.
how to find the product code.
i used this path to read the product code for other proudct.
but this vlc is not having.
where i have to get the proudct code..
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
@BangIndia
12-Jun-12 6:05am
View
Deleted
Final one question.
i installed the vlc media player.
how to find the product code.
i used this path to read the product code for other proudct.
but this vlc is not having.
where i have to get the proudct code..
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
@BangIndia
12-Jun-12 6:03am
View
Deleted
Thanks a lot. i will try this function. :D
@BangIndia
12-Jun-12 5:59am
View
i tried using the wmi class..
@BangIndia
12-Jun-12 5:56am
View
Thanks for the response ..
which API is used to un-install the product.
then gave only for reinstall right .
@BangIndia
12-Jun-12 5:38am
View
how to do it for .exe package.
this is for msi package..
@BangIndia
5-Jun-12 9:35am
View
do you have any answer for that.
@BangIndia
5-Jun-12 7:29am
View
how it will access the url directly with out configuring any proxy setting for this code..
@BangIndia
17-May-12 5:37am
View
Thanks sir. i got the error. thanks for the reply
@BangIndia
17-May-12 1:14am
View
i can't get your words
@BangIndia
16-May-12 11:02am
View
hello sir .
sorry, for the question.
ldap_search_ext - is the function i am using before the ldap_result() API.
in the ldap_search_ext function i am passing the base dn. (second argument)
then i am calling the ldap_result() API with the msg id which i am getting from the ldap_result().
case 1:
if i pass the base dn does't containing any space means the ldap_result() function will return 100 .
case 2:
if i pass the base dn whihc containing space means the ldap_result() function will return 101 (Event though it having the users under the base dn).
That is the prob for me sir.
@BangIndia
16-May-12 11:02am
View
hello sir .
sorry, for the question.
ldap_search_ext - is the function i am using before the ldap_result() API.
in the ldap_search_ext function i am passing the base dn. (second argument)
then i am calling the ldap_result() API with the msg id which i am getting from the ldap_result().
case 1:
if i pass the base dn does't containing any space means the ldap_result() function will return 100 .
case 2:
if i pass the base dn whihc containing space means the ldap_result() function will return 101 (Event though it having the users under the base dn).
That is the prob for me sir.
@BangIndia
14-May-12 9:33am
View
oh.. okay prasad. Thanks for the great help.
@BangIndia
14-May-12 8:28am
View
Thanks prasad..
But they telling to create the Domain controller for already created domain..
This also helps me. but i need to know is possible to create 2 domains in the single machine?..
can we ?
@BangIndia
2-May-12 10:05am
View
Gives error
left of '->ShowWindow' must point to class/struct/union
@BangIndia
3-Apr-12 6:33am
View
Thanks sir.
@BangIndia
2-Apr-12 6:03am
View
Thanks a lot..
@BangIndia
2-Apr-12 5:47am
View
Deleted
Thanks for the reply.
But it also giving error ..
Error:
cannot convert from 'unsigned char *' to 'unsigned short *'
@BangIndia
21-Dec-11 8:52am
View
hai friend.
Sorry man i am not mention the requirement properly..
In xp sp2 .. only one person can login at a time..
That time i need the currently logged-in user registry..
we can do that?
sorry for question man..
@BangIndia
5-Dec-11 9:34am
View
what a great answer..
@BangIndia
5-Dec-11 9:23am
View
want to block the firefox.exe .
if anyone click the exe means it should not launch the application
@BangIndia
5-Dec-11 5:26am
View
Thanks
@BangIndia
17-Nov-11 2:57am
View
i Can understand..
how to give the userinput in the place
@BangIndia
9-Nov-11 1:59am
View
Thanks
@BangIndia
8-Nov-11 2:15am
View
First Thanks. for your effort..
How to retrieve the password of the user..
i am having the admin username and password..
how to get the logon user name and password.
@BangIndia
3-Nov-11 2:06am
View
OK.. Good idea. but how to run that bat file..
@BangIndia
3-Nov-11 1:35am
View
How to call that one.. what patch file i want to call
@BangIndia
3-Nov-11 1:34am
View
if i done one Operation then the exe want to delete..
Thats just a requirement ..
The exe must remove after the process over.. how to do?
@BangIndia
2-Nov-11 5:35am
View
if i declare DMDO_0 it produce error sir..
@BangIndia
2-Nov-11 5:32am
View
No sir..
it not changing for the windows xp os
@BangIndia
2-Nov-11 2:52am
View
in other machine also same sir..
@BangIndia
2-Nov-11 2:49am
View
ok. sir..
@BangIndia
2-Nov-11 1:53am
View
Deleted
sir. Thanks ..
Now it working fine sir.
But the screen got rotated.. how can i avoid the rotation...
@BangIndia
2-Nov-11 1:27am
View
Deleted
#include "stdafx.h"
#define WINVER 0x0600
#include <stdio.h>
//#define WIN32_LEAN_AND_MEAN
//#include <atlbase.h>
#include<windows.h>
#include<objbase.h>
#include<wininet.h>
#include<shlguid.h>
#include <shlobj.h>
#include <comdef.h>
#include <iostream.h>
int main(int argc, char* argv[])
{
DEVMODE dm;
dm.dmDisplayOrientation = DMDO_DEFAULT;
}
what is the wrong in that..
error:
error C2039: 'dmDisplayOrientation' : is not a member of '_devicemodeA'
@BangIndia
2-Nov-11 1:21am
View
Deleted
It produce error as macro redefinition sir..
@BangIndia
31-Oct-11 9:58am
View
while running the program the screen got rotated. i want to avoid the rotation. how.. i try to use dm.dmDisplayOrientation = DMDO_0 But it gives error: is not a member of '_devicemodeA'
@BangIndia
31-Oct-11 9:58am
View
while running the program the screen got rotated. i want to avoid the rotation. how..
i try to use dm.dmDisplayOrientation = DMDO_0
But it gives error:
is not a member of '_devicemodeA'
@BangIndia
22-Oct-11 5:26am
View
ldap_parse_result: Unavailable Critical Extension
@BangIndia
20-Oct-11 1:11am
View
#include "stdafx.h"
#include <windows.h>
int main(int argc, char* argv[])
{
SystemParametersInfo(SPI_SETDESKWALLPAPER, 1, L"C:\\WINDOWS\\Web\\Wallpaper\\Ascent.jpg", 0);
return 0;
}
This is my code sir..
it change the wall paper to Blue default.
but not changing to the specified wallpaper..
@BangIndia
19-Oct-11 10:39am
View
sir
It not working sir..
@BangIndia
19-Oct-11 10:35am
View
Deleted
No sir. still it not working
@BangIndia
19-Oct-11 10:19am
View
sir.. what is this. .
@BangIndia
17-Oct-11 3:53am
View
Yes.. i included ..
@BangIndia
13-Oct-11 6:11am
View
char chRegKeyName[WMI_MIN_BUFF];
memset(chRegKeyName,0,WMI_MIN_BUFF);
strcpy(chRegKeyName,"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Policies\\Explorer\\test1");
CWbemMethod method(wmi, L"StdRegProv", L"StdRegProv", L"SetDWORDValue");
method.SetInParam(L"hDefKey", long(0x80000002) );
method.SetInParam(L"sSubKeyName", chRegKeyName);
// method.SetInParam(L"keyName","dharma");
method.SetInParam(L"sValueName", L"DffaysToKeep");
method.SetInParam(L"uValue",0);
method.Execute();
nCreateRetVal = method.GetReturnValue();
i have the coding like that only. but it not executed ..
i want to create the dword name is - test1.. how can i do
@BangIndia
12-Oct-11 8:04am
View
CComDispatchDriver disDrv( pDisp );
in that line CComDispatchDriver is undeclare..
what header file i want include
@BangIndia
11-Oct-11 8:57am
View
no. .i have admin privilage. even though i can't ..
@BangIndia
11-Oct-11 5:51am
View
Thanks.. for your help..
@BangIndia
11-Oct-11 5:49am
View
That users that belongs to the correct users..
for me .
c:\Documents and settings\admin\..
like that it will go.
@BangIndia
29-Aug-11 7:43am
View
ok.. otherwise we can't access ah..
@BangIndia
29-Aug-11 7:28am
View
But i have the admin permission only then also i can't able to access..
@BangIndia
24-Aug-11 10:00am
View
what i repost. .. I ask in the c and now i ask in vb.. what wrong you find in that..
@BangIndia
24-Aug-11 9:59am
View
no sir. it working when we run the program. when i again open the IE the effects not showing . that mean the program only provide the temporary effects. i want to change the hole setting of the IE
@BangIndia
24-Aug-11 8:27am
View
yes .. i know that sir.. but i want to do that via the c language sir...
@BangIndia
25-Jul-11 9:37am
View
sir can you help me
@BangIndia
25-Jul-11 9:23am
View
sir.. still the same prob..
two pointer can't be added..
@BangIndia
25-Jul-11 9:23am
View
no i don't know about that..
i want to insert the data dynamically to the database..
please tell what i want to do.
@BangIndia
25-Jul-11 8:45am
View
same error . sir.. what i want to do now
@BangIndia
25-Jul-11 8:15am
View
sir.. first i want to say thanks to you sir..
my big confusion over..
but i didn't get the solution for the above my problem sir..
@BangIndia
15-Jul-11 6:26am
View
sir ... i can't able to resolve the error.. sir.
@BangIndia
15-Jul-11 5:31am
View
Deleted
sir ... i can't able to resolve the error.. sir.
@BangIndia
15-Jul-11 5:31am
View
no sir.. its not working.. i tried sir..
@BangIndia
15-Jul-11 5:18am
View
ok.. i will do then i will post the program responce
@BangIndia
15-Jul-11 3:32am
View
sir .. thanks sir..
i done it..
but error only coming. i try to resolve it..
thanks you very much.
@BangIndia
15-Jul-11 3:31am
View
Thanks you sir..from you help i done the program sir..
my program is::
// select.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <winsock2.h>
#include <stdlib.h>
int main(int argc, char* argv[])
{
SOCKET SocketDescripter,AcceptSocket;//,ListenSocket;
WSADATA wsadataValue;
WORD wData=MAKEWORD(2,2);
WSAStartup(wData,&wsadataValue);
DWORD dvalue;
TIMEVAL timeout;
fd_set *readfds;
// struct timeval *timevalue;
/*a=10;
timevalue->tv_sec=a;
timevalue->tv_sec=30;*/
int iListenvalue;
SocketDescripter=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);
if(SocketDescripter==SOCKET_ERROR)
{
printf("error");
WSACleanup();
return 0;
}
else
{
printf("\n Sucess\n");
}
sockaddr_in sockap,clientcon;
sockap.sin_family=AF_INET;
sockap.sin_port=htons(10000);
sockap.sin_addr.s_addr=inet_addr("127.0.0.1");
if(SOCKET_ERROR==bind(SocketDescripter,(sockaddr*)&sockap,sizeof(sockap)))
{
printf("\bBinding error\n");
return 1;
}
iListenvalue = listen(SocketDescripter,2);
if(iListenvalue != 0)
{
printf("The socket listening error\n");
closesocket(SocketDescripter);
WSACleanup();
}
unsigned long lValue=1;
if(0==ioctlsocket(SocketDescripter, FIONBIO,&lValue))
{
printf("the io control is sucessfully done\n");
}
while(1)
{
FD_ZERO(&readfds);
FD_SET(SocketDescripter,&readfds);
timeout.tv_sec=30;
timeout.tv_usec=0;
dvalue=select(4,readfds,NULL,NULL,&timeout);
if(dvalue<0)
{
printf("select error\n");
}
else
{
printf("\nSelect is sucessful\n\n");
}
if(FD_ISSET(SocketDescripter,&readfds))
{
printf("waiting for client\n");
int size=sizeof(clientcon);
AcceptSocket=accept(SocketDescripter,(struct sockaddr*)&clientcon,&size);
if(SOCKET_ERROR == AcceptSocket)
{
printf("\nSocket accept Error\n");
closesocket(SocketDescripter);
WSACleanup();
return 0;
}
lValue=0;
ioctlsocket(AcceptSocket,FIONBIO,&lValue);
char buffer[1024];
printf("i am here");
recv(AcceptSocket,buffer,sizeof(buffer),NULL);
}
}
return 0;
}
..
problems is :
its not waiting the for the client connection .. it continuously running sir.. what can i do now.. please help sir
@BangIndia
14-Jul-11 9:13am
View
Deleted
ok. sir..i sure this things will not happen in future.
@BangIndia
14-Jul-11 8:28am
View
ok.. sure ..i will show my efforts as i taken for that..
@BangIndia
14-Jul-11 8:16am
View
Thanks..
@BangIndia
14-Jul-11 6:21am
View
ok.. fine.
@BangIndia
14-Jul-11 5:12am
View
yes sir. they shown.. but i want to send one handle and one socket descriptor to the thread .. so only sir
@BangIndia
14-Jul-11 5:03am
View
i done it..
How can i pass more than one argument to the thread...
@BangIndia
13-Jul-11 10:29am
View
Deleted
I wanted the coding under the windows platform.
@BangIndia
13-Jul-11 10:29am
View
sir.. please say how to use the select statement in the c program under the windows.. the solution that given to the unix platform only. sir. please say how to use..
@BangIndia
13-Jul-11 10:27am
View
ok... here after i will do ...sir..
@BangIndia
13-Jul-11 9:42am
View
thanks for the help..
@BangIndia
13-Jul-11 9:27am
View
may i use like that sir..
cli *o=new cli[10];
@BangIndia
11-Jul-11 8:12am
View
sir .. don't say sorry sir..
you are a big person..
that same coding only i use for my program...
@BangIndia
9-Jul-11 1:58am
View
<pre lang="midl">IP_ADDR_STRING *p;
p=(pAdapter->IpAddressList.Next);
printf("final\t%s",p->IpMask.String);
p=p->Next;
printf("final\t%s",p->IpMask.String);
p=p->Next;</pre>
that is the soultion. myself i found.. its working good..
@BangIndia
9-Jul-11 1:58am
View
<pre lang="midl">IP_ADDR_STRING *p;
p=(pAdapter->IpAddressList.Next);
printf("final\t%s",p->IpMask.String);
p=p->Next;
printf("final\t%s",p->IpMask.String);
p=p->Next;</pre>
that is the soultion. myself i found.. its working good..
@BangIndia
9-Jul-11 1:58am
View
<pre lang="midl">IP_ADDR_STRING *p;
p=(pAdapter->IpAddressList.Next);
printf("final\t%s",p->IpMask.String);
p=p->Next;
printf("final\t%s",p->IpMask.String);
p=p->Next;</pre>
that is the soultion. myself i found.. its working good..
@BangIndia
8-Jul-11 10:08am
View
use the adapter function
@BangIndia
8-Jul-11 10:03am
View
sir where i want to store that element sir..
i can use the pAdapter->IpAddressList.Next .
but if i try to store
pAdapter->IpAddressList=pAdapter->IpAddressList.Next ;
it provide error sir.. what can i do now.. please sir help me
@BangIndia
8-Jul-11 8:43am
View
please can you help for that..
i read the article.. good..
@BangIndia
7-Jul-11 6:03am
View
sir.. i found the solution. thanks sir..
may i post my coding.. your guiding is so good.. thanks once again...
@BangIndia
7-Jul-11 5:22am
View
Thank you sir..
@BangIndia
7-Jul-11 5:21am
View
ok.. sir .. thanks.. .....
@BangIndia
7-Jul-11 3:32am
View
Excuse me sir.. may i know why. you going to ban me
@BangIndia
7-Jul-11 2:28am
View
Deleted
ok. sorry..
sir
my task is like that only.
so only i ask repeatably like that..
@BangIndia
6-Jul-11 1:02am
View
i want to use that in the library
@BangIndia
6-Jul-11 0:54am
View
i create a dynamic library for creating the memory..
and i use the main function to free that memory.
@BangIndia
5-Jul-11 7:23am
View
if you can do it. or don't try anything. simply sit. i am not ready to help you
@BangIndia
5-Jul-11 7:17am
View
sorry sir..
DYNAMICLIB_API int* aa1(void)
{
int *a1;
a1=(int*)malloc(sizeof(int));
printf("Interger created\n");
printf("bye");
printf("good");
printf("memory created");
return a1;
}
now also not coming the output . what i do.. now
@BangIndia
5-Jul-11 3:50am
View
i want to know sir..
i ill know that concept soon..
any way thanks for the comment...
@BangIndia
2-Jul-11 5:46am
View
ok. thanks..........
@BangIndia
2-Jul-11 1:47am
View
ya.. sir .. i get your valuable words..
thanks. for that..
@BangIndia
2-Jul-11 1:44am
View
thanks sir..
please one small doubt..
may i assign the stdin to the other file pointer ..
FILE *fp;
fp=stdin;
like that...
@BangIndia
1-Jul-11 9:33am
View
sir its an another way that you are saying..
but i want to implement throw stdin only..
help
@BangIndia
1-Jul-11 8:47am
View
i accept . but how to get the data back from the stdin file pointer
@BangIndia
30-Jun-11 2:53am
View
second one is i think enough......
Thanks...
@BangIndia
30-Jun-11 2:50am
View
no..
i want to use under windows platform..
msdev editor..
That link provide the information about pipes used under linux..
@BangIndia
30-Jun-11 0:21am
View
ya .. i try it.. but i can't get it.. so only i ask codeproject..
can you help me.
@BangIndia
29-Jun-11 6:22am
View
Great and thanks a lot!
@BangIndia
29-Jun-11 3:36am
View
yes.. please guide me.. how to crate the semephore....
@BangIndia
29-Jun-11 2:32am
View
Thanks.................................
@BangIndia
28-Jun-11 9:59am
View
ok..Thank you
@BangIndia
28-Jun-11 8:18am
View
Thanks...............
@BangIndia
27-Jun-11 5:11am
View
Great...........
Thanks................
@BangIndia
24-Jun-11 8:45am
View
Hello u said to post the coding..but still i didn't get any result form you..
@BangIndia
24-Jun-11 7:06am
View
// processs.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "stdafx.h"
#include <windows.h>
#include <strsafe.h>
#include <direct.h>
#include <string.h>
void RunTest(TCHAR *AppName, TCHAR *CmdLine)
{
wprintf(L"\nTest Running...\n");
wprintf(L" AppName: %s\n", AppName);
wprintf(L" CmdLine: %s\n", CmdLine);
PROCESS_INFORMATION processInformation;
STARTUPINFO startupInfo;
memset(&processInformation, 0, sizeof(processInformation));
memset(&startupInfo, 0, sizeof(startupInfo));
startupInfo.cb = sizeof(startupInfo);
BOOL result;
TCHAR tempCmdLine[MAX_PATH * 2]; //Needed since CreateProcessW may change the contents of CmdLine
if (CmdLine != NULL)
{
_tcscpy_s(tempCmdLine, MAX_PATH *2, CmdLine);
result = ::CreateProcess(AppName, tempCmdLine, NULL, NULL, FALSE, NORMAL_PRIORITY_CLASS, NULL, NULL, &startupInfo, &processInformation);
}
else
{
result = ::CreateProcess(AppName, CmdLine, NULL, NULL, FALSE, NORMAL_PRIORITY_CLASS, NULL, NULL, &startupInfo, &processInformation);
}
if (result == 0)
{
wprintf(L"ERROR: CreateProcess failed!");
}
else
{
WaitForSingleObject( processInformation.hProcess, INFINITE );
CloseHandle( processInformation.hProcess );
CloseHandle( processInformation.hThread );
}
}
int _tmain(int argc, _TCHAR* argv[])
{
//Assumes ParamTest.exe is in the current working directory
RunTest(L"C:\\CreateProcessBug\\Debug\\ParamTest.exe", NULL);
RunTest(L"C:\\CreateProcessBug\\Debug\\ParamTest.exe", L"Param1 Param2 Param3");
RunTest(NULL, L"\"C:\\CreateProcessBug\\Debug\\ParamTest.exe\" Param1 Param2 Param3");
return 0;
}
D:\Users\Dharmaraj\my works in c\threads\processs\processs.cpp(6) : fatal error C1083: Cannot open include file: 'strsafe.h': No such file or directory
Error executing cl.exe.
@BangIndia
24-Jun-11 6:54am
View
i can't able to find a simple code..
most of the code not working in MSDEV.
@BangIndia
24-Jun-11 6:45am
View
oh.. do you have any basic coding how to create a process in c under c
@BangIndia
24-Jun-11 6:44am
View
for creating process.. can u send the code.
@BangIndia
24-Jun-11 6:22am
View
then tell how to declare the thread function in c..
up i know the thread function wants have DWORD return type...
@BangIndia
24-Jun-11 2:25am
View
i check the vm by using the task manager..
why it shows still in high..
@BangIndia
23-Jun-11 7:57am
View
ok.......... i can't understand what you are trying to say to me..
any way thanks..
@BangIndia
23-Jun-11 6:42am
View
i accept the solution.. but i want to clear all the used memory..
i create memory in enqueue process.. i want to clear that memory...
@BangIndia
23-Jun-11 6:34am
View
Its my task... it have some powerful features for handling the networks.
so only i am studying that c....................
everything may be use in anywhere.
so we won't evaluate anything less.
@BangIndia
23-Jun-11 5:05am
View
why we want to use WINAPI in front of the thread function declaration
@BangIndia
23-Jun-11 2:12am
View
i accept ..
there is an any method for declaring the thread funcation
@BangIndia
22-Jun-11 5:40am
View
hai
i accept your solution .. but my task is i want to do like that only..
@BangIndia
22-Jun-11 4:59am
View
about the child process creation ...
@BangIndia
22-Jun-11 4:55am
View
can u send any materials for that
@BangIndia
22-Jun-11 3:16am
View
i want to create in child process under windows platform.......
@BangIndia
22-Jun-11 3:10am
View
how to find how much size i use ...
if i find the used size means ,i can use realloc function to reassign the size..
Show More