|
Thanks Nitzan!
I am using TCP and this is also what I thought.
Chris
|
|
|
|
|
It's buffered... up to a point, say, several 10s of K
|
|
|
|
|
I am trying to write my very first C++ program. This is loosely a port from a running program in a Rabbit 2000 8-bit microprocessor (the original program is in Zworld Dynamic C).
My program needs the following:
1. To eventually run as a service in Win 2003 Server
2. Multithreaded to handle up to 16 concurrent identical threads
3. Access my realtime hardware attached to 1-4 COM ports each of which must be synchronized (presently using a Semaphore)
4. Read data from a table in Access2000 (.mdb file) that I have already programmed. Using ADO, DAO?
5. Write data to another table in the same .mdb file (logging information)
6. My 'real-time' requirement is VERY slow - response times of 1 second or more are entirely acceptable. (I bet that's really different from other applications!)
I really know what the program has to do, but am completely unfamiliar with C++ implementations. I have both Visual Studio 6.0 and Visual Studio .NET 2003 installed as development platforms. I can use either for my project.
What I need is access to an experienced programmer who can help me structure my program to run in C++. I am willing to pay a reasonable hourly rate for such help.
Any takers?
best to email me:
JohnAlderman@mindspring.com
John Alderman
|
|
|
|
|
seems that something like IVR, (using Dialogic cards.??)
anyway..
I AM READY TO HELP YOU.
|
|
|
|
|
Hi, I have a problem with Microsoft Developer Studio (I'm using version 4.0). My source file entry points (in the righthand pane) seem to have gotten out of sync with the class view index (in the lefthand pane). The upshot is that if I click on a given function in the class view, the scrolling in the lefthand pane does NOT give me the position of the entry point for that function definition - it is some way removed. I have tried erasing the .clw file and regenerating it, but that does not cure the sync problem - I guess that must be controlled by some other project file. Can someone tell what file that is, and how I regenerate it to give me the correct synchronisation. Thanks in advance !
Doug
|
|
|
|
|
OK - I found a clue in a few posts above this one - for reference, erasing the .ncb file (Developer Studio will regenerate it) will sync the ClassView functions with the source file. I'm fixed !!!
Doug
|
|
|
|
|
Suppose i'm having a SW that needs to be updated from the net (like ACDsee or acrobat reader)
how can i do that.
|
|
|
|
|
When I try to compile *.c files in Visual Studio, it lists me a lot of errors, like:
error LNK2019: unresolved external symbol __imp__send@16 referenced in function _main
and all this errors are referenced to identifires from library "winsock2.h"
Please tell me, what to do. Thanks.
|
|
|
|
|
link to wsock32.lib
Project Settings -> Linker -> Input -> additional dependencies in VC.NET
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
How to clean start->run menu MRU items without reboot?
if I delete corresponding registry key, nothing is changed before reboot
thanks in advance.
thanks, Monk.
|
|
|
|
|
I'm not sure if this will help but try this:
SendMessage(HWND_BROADCAST, WM_SETTINGCHANGE, (WPARAM)NULL, (LPARAM)NULL);
Hope this helps
Dominik
_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
(doesn't work on NT)
|
|
|
|
|
|
i am wondering how to write to a file without sending out a system wide notification that it was written to... this is because i want to modify an RC file pre-build and i dont want VC to tell me that it was modified and ask me to reload it
thanks
r -€
|
|
|
|
|
|
I have a text file that writed in VietNamese font code (ex: TCVN3,VNI..), I want to recoginize the code that it was typed. Please help me
|
|
|
|
|
how can i send an email to abc@rediffmail.com/yahoo.com/hotmail.com using SMTP.. ??
|
|
|
|
|
via WinSock and the SMTP Protocoll
ftp://ftp.rfc-editor.org/in-notes/rfc2821.txt
but this would cause a lot of trivial stuff to do so you could use the MAPI
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mapi/html/_mapi1book_c_mapisendmail.asp
|
|
|
|
|
If you are using MFC you can try this class:
http://www.naughter.com/smtp.html
Best regards,
Dominik
_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
(doesn't work on NT)
|
|
|
|
|
i see in some program ,some function whose return value is "return -1" however others whose return value is "return -2",what is the difference between them?thanks,all.
|
|
|
|
|
That is purely context dependent.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
iostream library also support the file's input and output,for opening a file providing input ,we must declare a object whose type is ifstream.
the same as ofsteam.
but i want to know ,for example,the object name is infile,the declariation is below:ifstream infile{"name of file") ofstream outfile("name of file")
which request or restriction to "name of file"?
|
|
|
|
|
the form of "name of file" depends on the operating system.
If you're working with a Linux system you have to write ifstream infile("/home/myuser/file"); under Windows you have to write ifstream infile("C:\File.txt");
|
|
|
|
|
#include<iostream>
#include<fstream>#include<string>using namespace std;
int main()
{
ofstream outfile("C:/Documents and Settings/tanghuitian/My Documents/out_file.txt");
ifstream infile("C:/Documents and Settings/tanghuitian/MyDocuments/in_file.txt");
if(!outfile)
{
cerr<<"error:unable to open output file!\n";
return -3;
}//if"\",note unable to open input file
if(!infile)
{
cerr<<"error:unable to open input file!\n";
return -1;
}
string word;
while (infile>>word)
outfile<
|
|
|
|
|
yes?
wheres the problem?
If there is the right thing in in_file.txt it worked properly
a file operation doesn't goes 1h or so...
but your while construct looks not really good.
while(infile >> word)
do you want to compare the size of infile with word or what?
|
|
|
|
|
I tried this program to put the .dll inside the .exe and it didnt work. Do i need to change the locations of the files in the config?
{
static char Path[MAX_PATH];
GetModuleFileName(NULL, Path, MAX_PATH);
unsigned int i = strlen(Path);
while (Path[i] != '\\')
{
Path[i] = '\0';
i--;
}
strcat(Path, "my.dll");
return Path;
like is there a special way i put the path in? Or do i need to add something to my dll?
|
|
|
|