Posted on 03 June 2010. Tags: application, build, Console, remote
How can I build a remote console application using Delphi and Win32 API?
My first idea:
1. Create a pipe with CreatePipe, and pass it to cmd.exe which I start up with CreateProcess.
2. Listen to commands from the client, if I get one, write it to the pipe’s write handle with WriteFile.
3. Launch up another thread that’s trying to read the pipe constantly. (Reading responses from cmd.exe.) If I read something, send it to the client.
For some reason it doesn’t work. If I write to the pipe, I can’t read the response, I can only read some meaningless characters from the pipe.
What am I doing wrong?
Posted in Delphi
Posted on 26 May 2010. Tags: application, comparing, differences, files, PHP, test, there, used
I want to be able to select to php files and scan the code for differences in it and where the changes are.
Anybody know of a way to do this?
Posted in PHP
Posted on 25 May 2010. Tags: .net, application, certification, development, fresher, want
I want to do asp .net 2.0 certification in web application development, and I am a fresher, In the microsoft website there are many exams and some are in the state of retired. I don’t know what to choose and how to chooose?
Help appreciated
thanks in advance
Posted in ASP
Posted on 19 May 2010. Tags: application, ASP.NET, below, error, file, load., trying, writing
with readXml method.
Could not find file ‘C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\File.xml
The File.xml file is in the same project directory as default.aspx
This has to do with relative path? How do I configure it to automatically look in its same directory for the xml file?
I’m debugging in the VWD 2005 IDE from Microsoft
Posted in ASP
Posted on 18 May 2010. Tags: application, COM1, Delphi, error, MSCOMM32.OCX, opening, runtime, through, throw
my delphi application designed to work with mscomm32.ocx to operate with serial port like com1 or com2 . i have two problem :
1- by installing on a new machine , my application throw runtime
error . because mscomm32.ocx hasn’t design time lience . yes , there is no design time licence , because this type of lience is not necessary to runtime . now , i want to know how can i install mscomm32.ocx with design time licence or how can i catch this runtime error and continue running application without any problem ?
2-another problem appear in receiving data through mscomm32.ocx ! when mode is set to binary , applcation can’t read zero (null) byte from MSCOMM buffer and throw a runtime error ?!?!?!?! unfortunately , mode should be set to binary .
A lot of thanks to anyone who help me to solve these problems ….
Posted in Delphi
Posted on 18 May 2010. Tags: application, Delphi
my delphi application designed to work with mscomm32.ocx to operate with serial port like com1 or com2 . i have two problem :
1- by installing on a new machine , my application throw runtime
error . because mscomm32.ocx hasn’t design time lience . yes , there is no design time licence , because this type of lience is not necessary to runtime . now , i want to know how can i install mscomm32.ocx with design time licence or how can i catch this runtime error and continue running application without any problem ?
2-another problem appear in receiving data through mscomm32.ocx ! when mode is set to binary , applcation can’t read zero (null) byte from MSCOMM buffer and throw a runtime error ?!?!?!?! unfortunately , mode should be set to binary .
A lot of thanks to anyone who help me to solve these problems ….
Posted in Delphi
Posted on 10 May 2010. Tags: application, database, Delphi, Delphi's, installed, opened, self, without
My application use delphi’s internal database (BDE) paradox driver. It only contain one table.
Posted in Delphi
Posted on 04 May 2010. Tags: application, ASP.NET, into, possible, programmed, recode
Is it possible to recode a web application programmed in asp.net into JSP? if so, is there a software that helps to recode such application so it could be easier the job of the developer?
Posted in ASP
Posted on 04 May 2010. Tags: application, bigger, Computer, garbage, Java, piece, than, there
Almost without exception, when my computer slows down or otherwise craps out, it’s when Java is involved. Any of you computer geeks have an opinion?
Posted in Computer
Posted on 28 April 2010. Tags: application, ASP.NET, framework, silverlight, upgrade
I’d like to upgrade my asp.net 2.0 web application and I want to use the new visual studio 2008 and framework 3.5 and add some silverlight codes too. Is there any tutorial or video that can guide me through this whole process so I won’t mess up my original application?
Posted in ASP