|
hi...
am doing client server communication with CSocket.
shall i do communication between server and client without CSocket or using Casynchronous socket?
Is it possible?
if yes, what metheod i can use? please explain somewhat brief...
can anyone help me?
regards,
paulraj
|
|
|
|
|
The magic is all around you...[^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
hai,
have u heard about "Pipes"...using this we can create client server communication.
regards,
mani
Born to win...!
|
|
|
|
|
hi...
can you tell something briefly...
thanks in advance...
paulraj
|
|
|
|
|
|
gnanapaul wrote: shall i do communication between server and client without CSocket or using Casynchronous socket?
Is it possible?
While it is possible, it is not recommended. Read one such comment by Dr. Newcomer here.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi all,
I m new in proggraming, i m working on Visual C++ 2005, in my project i want to use Access database for storing data.
In my project i want store the user enterd values in database and reterived it any time.
but i dont know any thing about Access/Database and how to use database for storing data.
please any one can help me for this.
thanks in advance.
|
|
|
|
|
I don't know much about databases but when I did use it once I found caaadoclass1[^] article very useful. It will hide all the dirty details, all you have to do is create a database using access and supply a connection string to the code in the article.
-Saurabh
|
|
|
|
|
thanks for help but there is error in downloaded program.
|
|
|
|
|
Can you provide more details about the error? And also which compiler are you using.
-Saurabh
|
|
|
|
|
error is::error C2668: 'pow' : ambiguous call to overloaded function
and i m using Visual c++ 2005 .
|
|
|
|
|
Yeah those are because most like arguments of pow are not compatible. Check if is code like this
double x = 10;
pow(5, x);
In this case change it to
pow(5.0, x).
And just FYI when you get a warning or error in VC++ you can look for it in MSDN in detail and ways to fix it. Easiest way to do this is click on the error or warning number in the Output Window and press F1.
-Saurabh
|
|
|
|
|
|
i m check this code they r using ActiveX control for table,but i using simple List control.
so this example is nat make me clear,please tell sumthing else.
thanks for help.
|
|
|
|
|
Try also the SQL/ADO/ADO.NET forum [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
So have you already created the database using Access itself, or are you wanting to do that via code?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
no i have no idea about this please tell me any thing which helps me.
|
|
|
|
|
ThatsMe. wrote: no i have no idea about this
How can you not know if you've already used Access to create the database or if you are wanting to do it via code?
ThatsMe. wrote: please tell me any thing which helps me.
How can I possibly know what information to provide you when you are having difficulties answering my questions?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
You can see a lot articles about Databse(and Access) on the codeproject,did you seee that section?
|
|
|
|
|
Hi,
How do you make assembly wrappers for a GNU compiler? I am confused as to how to make an assembly wrapper/macro. Upon my searches/readings, I think that there is no standard way to do it, and that it depends on your compiler/assembler.
My problem is that I have a few lines of assembly code that I keep using for several functions.. in C/C++, you would just make macros for those lines of code. How do you do that for assembly? Any pertinent feedback would be appreciated. Thanks, let me know.
Luis_the_Code
|
|
|
|
|
Yes,we can use Macro in C/C++. It seems that you know ASM,if so,there is Macro syntax,too.
And if you have a few ASM lines would be used for several function,if in C/C++,I want to say,you can use Macro too,using it like this
#define ASM_MACRO __asm{ \ //for multiline Macro
... \ //there are some asm code lines
}
I wish it will help to you.
Regards.
|
|
|
|
|
I'm investigating garbage collection methodologies for C++.
I've been reading about smart pointers, and they seem to make sense, except for this one point that I cannot understand:
In the case of a container object, such as a hash table or even just an array of smart pointers, how do the pointers know that they are still "alive" once they are put into the container?
Thanks if someone can help me understand how that works.
“Cannot find REALITY.SYS...Universe Halted.”
~ God on phone with Microsoft Customer Support
|
|
|
|
|
Independent123 wrote: how do the pointers know that they are still "alive" once they are put into the container?
The objects exist until they go out of scope, at which time their destructors are called.
mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Mark Salsbery wrote: The objects exist until they go out of scope
That I understand, but, for instance, a member variable in a class instance doesn't really have a scope, does it?
It exists as long as the class instance exists, even though it's not actively being used in any expressions.
“Cannot find REALITY.SYS...Universe Halted.”
~ God on phone with Microsoft Customer Support
|
|
|
|
|
It is basically the Object lifetime not the scope, when the smart pointer get destroyed the objected it points to is also get destroyed. Scope can lead to end of object lifetime for example when a control leaves a block the local varable gets destroyed. smart pointer in a container class has lifetime as that of container class, it exists as long as class instance exists.
|
|
|
|