|
bhagyashree ah wrote: When the client wants to query the server's databases, how will the server retrive those datas and send it to the client ?
In exactly the same way it would if the database was on the same machine. Where the database resides should be of no concern to the client code.
Is your client code using CDatabase and CRecordset ?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I'm using CRecordset.But how to send the recordset object to the client? when i send the recordset to the client, it shows errors.Should i serialize the result?If so how?
OR
What data structure should be used to transfer the retrieved datas from server to client.
bhagyashree
|
|
|
|
|
bhagyashree ah wrote: I'm using CRecordset.
And if it is using a DSN, which also resides on the client side, that DSN should be configured to "point to" the database on the other machine.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hello All,
Any body know that how can i use the functionality of CList of MFC in C++ library.
my problem is that i want to maintain list, but how can i do this?
I know CList in MFC, but this is not available in simple C++ library.
Thanks in advance.
Manish Patel.
B.E. - Information Technology.
|
|
|
|
|
|
Manish_mnp wrote: my problem is that i want to maintain list, but how can i do this?
Use list from the STL.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hello everyone,
When building my project (Visual Studio 2005 DLL project for C++ Smart Device), there is link error,
error LNK2001: unresolved external symbol __security_check_cookie
I can solve this error by adding secchk.lib to link input import libraries.
My questions,
1. I am not using __security_check_cookie explicitly, why there is such error?
2. Is it correct to solve this issue by adding secchk.lib as linker input import libraries?
thanks in advance,
George
|
|
|
|
|
|
Hi Mike,
On Windows Pocket PC 2003 platform (Visual Studio 2005), there is no such 3 import library files,
bufferoverflowU.lib bufferoverflowK.lib bufferoverflow.lib
You can try to create a Pocket PC 2003 application project and add the 3 import libraries to linker --> input, then there will be error like the lib files can not be found.
regards,
George
|
|
|
|
|
See my answer to your same question here [^].
|
|
|
|
|
Thanks Alain,
I have tried but it does not work. Here is all the compiler options I used. Could you help to take a look to see if there are any other options trigger /GS please? If you need any further information to find the root cause, please feel free to let me know.
/Od /Os /I "..\include" /I /D "_DEBUG" /D "_WIN32_WCE=0x420" /D "UNDER_CE" /D "WIN32_PLATFORM_PSPC" /D "WINCE" /D "DEBUG" /D "_WINDOWS" /D "ARM" /D "_ARM_" /Gm /EHsc /MTd /GS- /fp:fast /GR- /Fo"Pocket PC 2003 (ARMV4)\Debug/" /Fd"Pocket PC 2003 (ARMV4)\Debug/vc80.pdb" /W3 /nologo /c /Zi /TP
regards,
George
|
|
|
|
|
Hello everyone,
If I change the entry point to main in linker --> advanced (default is empty). Then there will be an error box,
can not find MSVCR80D.dll. What is wrong with my code? (if I change the entry point of application from main to empty, there is no such error)
<br />
static int i = 100;<br />
<br />
int main(int argc, char** argv)<br />
{<br />
int j;<br />
<br />
return 0;<br />
}<br />
I am using Visual Studio 2005 console application project.
thanks in advance,
George
|
|
|
|
|
If you initialize j whats result?
|
|
|
|
|
Hi Hamid,
The same result. Can you reproduce?
regards,
George
|
|
|
|
|
And if you change if to other words you get this error(like Winmain) error LNK2001: unresolved external symbol __main
|
|
|
|
|
Thanks Hamid,
Could you post your code please?
regards,
George
|
|
|
|
|
Im using your code and I was using if main that you told and I got this error.
|
|
|
|
|
|
If I add any thing to entry point I cant compile your code else it doesnt any problem.(Visual sutdio2008)
|
|
|
|
|
Thanks Hamid,
If I add main to entry point, I can build, but when run it has errors.
regards,
George
|
|
|
|
|
But I get a linker error and I cant comnpile it.
|
|
|
|
|
Sorry, Hamid!
There is no link error for me and I can not reproduce it. I only have runtime error.
regards,
George
|
|
|
|
|
It was interest for me your question.
|
|
|
|
|
Thanks Hamid,
I like to discuss with you. But for this case, we'd better be able to reproduce the situation by others, right?
regards,
George
|
|
|
|
|
I never tested this problem previous I think I must tell you thanks for your help.
|
|
|
|