|
Hai Cedric
Actually My problem is that,I am creating a programmer for implementing SPI Protocol using any three pins of serial port,I want to set as well as clear that pins( especially Txd pin).
Please help me...
Jeeva
|
|
|
|
|
I don't think this is a good solution to implement SPI protocol over the serial port. You'll need to have very strict timings and as windows is not a real-time operating system, you'll never be able to achieve those timings.
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
Hi all!
I am trying to run an EXE file, by calling CreateProcess() API and filled up the all requirements as below:
BOOL retvalue = CreateProcess(ExePath ,Params, NULL, NULL, FALSE, 0, NULL, tempStr, &StartupInfo, &ProcessInfo);
And getting exitcode of process as below:
GetExitCodeProcess(hProcess,&ExitCode);
It return 128 or sometimes 259.
And my EXE doesn't run.
On seraching in google i found some answers and set desktop heap in widows registry to 512. but all answers didn't help me.
Can anyone sort out the problem.
regards,
Zia
|
|
|
|
|
try this
<br />
PROCESS_INFORMATION ProcessInfo;<br />
STARTUPINFO StartupInfo;<br />
<br />
ZeroMemory(&StartupInfo, sizeof(STARTUPINFO));<br />
<br />
StartupInfo.cb = sizeof(STARTUPINFO);<br />
StartupInfo.dwFlags = STARTF_USESHOWWINDOW;<br />
StartupInfo.wShowWindow = SW_SHOWMAXIMIZED;<br />
<br />
CreateProcess(NULL, <br />
"Notepad.exe", <br />
NULL, <br />
NULL, <br />
FALSE,<br />
DETACHED_PROCESS,<br />
NULL,<br />
NULL,<br />
&StartupInfo,<br />
&ProcessInfo);<br />
whitesky
|
|
|
|
|
In a network , if I give a system name , how to get the IP address of that system. Is there any MFC class to find that?
Ayesha
|
|
|
|
|
Look here[^]
In the example given you will see a line like
hstEnt = gethostbyname(szHostName);
Change szHostName to the name of the network machine.
You can modify the function allowing it to take the name of the machine as input.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Ayesha Farheen wrote: if I give a system name , how to get the IP address of that system
Is gethostbyname is any use!
Ayesha Farheen wrote: Is there any MFC class to find that?
there is not class associated with same
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Hi,
we just want to know the source code for a calculator that works with postfix.
For example
(3+4)*4/2
the postfix form of the expression above is: 34+4*2/
Then give us automatically with parsing the result
Thank a lot for your help
M.M
|
|
|
|
|
Mannouz wrote: Then give us automatically with parsing the result
what about this ->Visual Calc[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
ThatsAlok wrote: what about this ->Visual Calc
What a great article !!! wow
seriously, VisualCalc doesn't calculate with such "postfix" notions. it gets plain text expression and evaluates the result depending on operators priorities, which doesn't happen in the notation requiered here
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
toxcct wrote: What a great article !!! wow
Written by a great guy...;P
PS: The article looks good. The GUI, Layout looks cool too.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Nibu thomas wrote: Written by a great guy...
how tall is he ?
codito ergo sum
|
|
|
|
|
|
Nibu thomas wrote: About 2ft.;)
is he is dwarf
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
ThatsAlok wrote: is he is dwarf
I looked at his profile picture (He is sure small). At this age to know this much is mindblowing (Maybe he is a wonderkid).
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
|
|
WhiteSky wrote: and Here[^]
Tox going to kill you too LINK[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
so i need to one White Cloth
whitesky
|
|
|
|
|
|
how to set the security attribute of the adobe acrobat 7.0 by programming ?
jimlsq
|
|
|
|
|
I wrote some code to download files from ftp server, when tried to connect the server by InternetConnect, got the error :12029.
The server and client parameters (server ip, port, user name, password) are all correct.
Can anyone help me? Thanks in advance.
|
|
|
|
|
Possible Cause: This error is caused by general Internet connection issues or Internet security and personal firewall software settings.
Check the firewall settings.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Draco Wang wrote: I wrote some code to download files from ftp server, when tried to connect the server by InternetConnect, got the error :12029.
The server and client parameters (server ip, port, user name, password) are all correct.
Can anyone help me? Thanks in advance.
-If you are using connection through Proxy then Check the proxy settings
-Check the connection mode of the HTTP object.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
I have created a Project using MFC Wizard (exe) which is in folder "myAppl".
I have included some C files (library), which is in "myLib" folder.
myLib contains two folders "myLibA" and "myLibB".
The C files in myLibA has header inclusion like
#include "myLib/myLibA/file1.h"
file1.h is header file in myLibA folder. Similarly myLibB has some 100 files.
I have added all these files in my project. Now it's giving error
Cannot open include file: "myLib/myLibA/file1.h" for all 100 plus files.
What is the solution?
|
|
|
|