Type: Posts; User: saraswathisrinath
Search took 0.03 seconds.
December 4th, 2013, 06:30 AM
I found the solution. I configured the lan and view the mysql table value in client PC - PC1.
Client side code[PC1] :
// Connection details
string server ="192.168.100.9";
December 3rd, 2013, 06:32 AM
I didn't use the code like above.
My Code is
// Standard includes
using namespace std;
// Connector Includes
December 3rd, 2013, 04:13 AM
Sorry Mr.Victor, I'm not clear. Shall i install the MySQL Connector/C++ in PC2.
I'm begginer. Pls tell me what will i do for solve this problem.
But i wrote the below command in command prompt...
December 3rd, 2013, 02:53 AM
Is my problem solve ? If i update XP SP3 in PC1
December 3rd, 2013, 02:51 AM
Hi Mr.Igor Vartanov,
I used like below in my vc++ code. If i run, i will get error.
// Connection details
string server = "tcp:\\127.0.0.1:3306";
string username = "root";
December 2nd, 2013, 11:51 PM
I was created the mysql database in my Pc. This database connecting with vc++ code Using MySQL C++ Connection Example in Visual Studio. I done this work in single PC. It's working good. i...
September 11th, 2013, 12:45 AM
I used serial communication like below only,
BOOL SerialPort::InitPort(UINT portnr,UINT baud,char parity,
UINT databits,UINT stopbits, DWORD dwCommEvents,UINT writebuffersize)...
September 10th, 2013, 08:54 AM
I used RS232 & RS485. after installed the driver its shown like Com3, Com 4 in port setting.
If i plug this USB2 means, How its appear ? & how can i get data from this.
September 10th, 2013, 04:56 AM
Now, I'm using data card for data capture. But it not support for windows 7.
So i plan to capture data from USB port or Ethernet port.
I choose USB2 for data capture.
Thanks Mr.Philip Nicoletti.
i mean, CString str = "Mode: 1"; Here str is the line data. I like to replace str instead of old data ("Mode: 2").
I followed the above way. Its working good. I read the full data from file...
i mean, CString str = "Mode: 1";
I like to replace a single string in a line, not whole buffer line by line. Is any possible?
I can read string line by line and also found the specified string , Enter the condition if/else but can't write the string in the file.
How can i point the possition in the file?
I like to...
I already read MSDN documentation and learned, File - create, read & write , check exist and append concepts. But a single line seek concept working. But i don't know to replace the string in a file...
June 29th, 2013, 05:03 AM
I want to read a file and replace a particular line in a file.
temp.txt file contains below
June 29th, 2013, 04:08 AM
I realized. Thanks MR.Paul & all gurus.
June 28th, 2013, 02:08 AM
Its working. The worker thread & main GUI dialog interact correctly.
But if i remove the worker thread & using timer means problem occured.
June 28th, 2013, 02:00 AM
here, we can use like below
int x = 10;
int *p = new int [x];
//p = &x; //wrong - we can't use delete operator
delete  p;
am i correct?
June 26th, 2013, 02:40 AM
I'm in beginner stage. If i'm doing any mistake, please take me to a right path at all time.
I will replace my code. Thanks Mr.Paul
June 23rd, 2013, 11:58 PM
I find my mistake and cleared. Its a exceed buffer size problem.
CImage atlImage; CBitmap pBitmap1 ; BITMAP bm1;
June 19th, 2013, 06:19 AM
I Accept this. But I'm load 768&256 data & plot the same buffer size data only.
Kindly find the attachment. Its a run time error.
I'm getting 2 types of error.
1. If i double click the...
June 19th, 2013, 05:57 AM
I run it. Its working good. You are indexing and plot the every line data which contains 1000 pixels (width of data) per line.
So 256 line data, every line contains 1000 pixels.
June 19th, 2013, 01:27 AM
I load an image(768*256) using a file path(OpenImageFilePath).
After load an image, I start to read the loaded Image data using GetBits method and plot the same image data(768*256).
June 15th, 2013, 05:53 AM
Now I cleared Little more, but not fully. Sure I will study the Window Programming books.
Now, I'm useing the SetWindowPos method. It worked.
I will release my GetDC like you tell in the above...
Click Here to Expand Forum to Full Width