|
I have done database programming . Database used is MYSQL.
The Program updates the database. I want to make it multiuser i.e. In network, program is running on more than one machine. Changes made by
one user should be reflected at other user end.
How to do this?
|
|
|
|
|
Are you referring to a real-time update among all instances of the application? One solution is winsock and multicast.
Kuphryn
|
|
|
|
|
Yes, I am referring to real-time update of all instances of program. This is totally new for me. So can you give me more details or reference to learn this?
|
|
|
|
|
If you really want to learn winsock, I recommend Network Programming for Microsoft Windows, Second Edition by Anthony Jones and Jim Ohmund. There are several good references for winsock.
CodeProject
CodeGuru
Kuphryn
|
|
|
|
|
Hi all of u people
do anyone know what is Brute force algo.
some c++ code pl.
|
|
|
|
|
Its not an algorithm as such, just a name given to any algorithm that does a lot of work and isnt very smart. For example, a brute force password cracker would try every possible combination of letters to break a password, as opposed to a smarter algorithm that attempts to use some statistical method to reduce the actual work.
|
|
|
|
|
hi
do any one know how to code keylogger in c++?
|
|
|
|
|
Are you looking for code that will work in windows or any system that has a C++ compiler? Is MFC ok?
John
|
|
|
|
|
thanks John
MFC will do
yes looking for code
|
|
|
|
|
You need to use SetWindowsHookExA . Have a look in the MSDN for it. You can setup Mouse and Keyboard hooks. You pass it the type of Hook you require and a callback function... You code the Callback function and in there you can log all keyboard strokes.
Regards,
Brian Dela
|
|
|
|
|
thanks Brian Delahunty
what about the windows in which keys are pressed??
|
|
|
|
|
I wanted to receive notification when the tab was selected for this type of property page. Normally an OnSetActive handler could be used for a CPropertyPage, but the COlePropertyPage class doesn't support this method.
I have programmed around it for this particular implementation, but wondered what the "normal" way of detecting this is?
Thanks,
Debbie
|
|
|
|
|
Hi friends.
Is there any way that I can find out ,any running application is busy or hanged or idle?
vikram
|
|
|
|
|
define
vikrams wrote:
application is busy
define
vikrams wrote:
application is hanged
define
vikrams wrote:
application is idle
There are certain performance counters you can observe, like CPU usage. You can query memory usage. But again what is it you trying to find out?
|
|
|
|
|
Actually I want to automate the application. So I am sending some messages to the application.But after sending suppose a message WM_COMMAND , the application does something..here may be it is busy quering the DataBase or executing some internal logic.So When I will fire the next message? The out way is to find,whether the application is busy or Hanged. If it's idle then I can go ahead.
So T Need to Find out
1)application is busy
2)application is hanged
3)application is idle
VikramS
|
|
|
|
|
I am trying to create a DSN programmatically using VC++
6.0 for a MYSQL database using ConfigDSN function.
I am getting the error 'undeclared identifier ' for ConfigDSN .
Which .h file is required?
|
|
|
|
|
odbcinst.h
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
I included odbcinst.h , but getting the error 'unresolved external symbol _ConfigDSN@16'
|
|
|
|
|
That means you need to link to the correct library file. The two ODBC libraries are ODBC32.lib and ODBCCP32.lib. I can't remember which one it should be - just link to both of them.
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
Hi
i have a edit control which i have overridden it with the EnChange function
so that as people type into it, it updates another int variable
with the number of characters typed and when a charater is deleted
the counter is decremented
however im having problems
can ne1 help at all
thanks in advance
simon
|
|
|
|
|
si_69 wrote:
however im having problems
You need to tell people what your problem(s) are...
|
|
|
|
|
i dont know how to do it, thats my problem
and i was looking for some pointers
thanks
|
|
|
|
|
Try to be more specific ... your int variable isn't incremented/decremented when the user changes the text? or something like this?
-Tareq
|
|
|
|
|
sorry, yes....when a character is entered the counter variable is incremented
when a character is deleteed the variable is decremented
thakns
simon
|
|
|
|
|
a chunk of your code would really help us to understand the problem.
-Tareq
|
|
|
|