|
Have you installed MDAC 2.7?
Nish
The rumours that I am an AI bot are absolutely false. These rumours have been propogated by *them* to focus all the attention on to me, while *their* bots take over the planet. Thank y%%%% Divide by zero. Cannot proceed. Abort(y/y)?
|
|
|
|
|
Yes I have MDAC 2.7 installed, but nothing happens.
I have VC6 with sp5 -> mfc version 6.0 and I found that MFC load DA035 with this msvc.dll (access2k not supported), If you have mfc version >= 6.01 it will use DAO36 (access2k supported).
Do you know something about it? or anything else? Thanks for your prompt repply.
---------------------
Pere Llibre
Software Engeneering
|
|
|
|
|
Your problem is very common. Is no problem with librarys, neither MDAC, is a problem in the class of dao, this classes are usin the incorrect version.
For that you need to find, an article that wrote paul dilascia in MSJ, in the the first or second mounth of 2000 year. In that Article Paul explain the solution for your problem...
I will try to find that article.
Give me a couple of hours...
Regards
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
I found the article
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
You can find a solution Here
The MSJ issue is January 2000
Best Reagards...
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
Thank you very much!!
Best Regards,
---------------------
Pere Llibre
Software Engeneering
|
|
|
|
|
Don't mention it..
Best Regards
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
You can find a solution Here
The MSJ issue is January 2000
Best Reagards...
Carlos Antollini.
Sonork ID 100.10529 cantollini
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
I have a logon dialog with a username and password fields implemented as edit boxes. I need to trap the window handles for the two edit boxes at dialog initialization. How do I do this?
Thanks in advance,
Bob
|
|
|
|
|
GetDlgItem (IDC_USERNAME)->GetSafeHwnd()
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Thanks!
|
|
|
|
|
I need to rename a registry key, but am not sure how to do this in VC++. Any suggestions?
|
|
|
|
|
Andrew Stampor wrote:
I need to rename a registry key, but am not sure how to do this in VC++. Any suggestions?
There is no direct way to rename a key. Create the new key. Enumerate all the subkeys and their values from the old key and add them under the new key. Now delete the old key.
Nish
The rumours that I am an AI bot are absolutely false. These rumours have been propogated by *them* to focus all the attention on to me, while *their* bots take over the planet. Thank y%%%% Divide by zero. Cannot proceed. Abort(y/y)?
|
|
|
|
|
Thanks.
Do you know if this code exists somewhere on CodeProject? I've done a couple of searches, but haven't found anything about it. Do you have this code somewhere? If it doesn't exist here, I'll be sure to post the class I create when I am done.
|
|
|
|
|
How can I create some custom controls using only the win32 API???
Is there any tutorial about this subject??
ps: I kinda want to do something that looks like RealOne.
|
|
|
|
|
Can anyone point me to a good learing book with lots of samples for programming in windows? I have programmed in C/C++ for some time, self taught, but in the Dos environment and need to get to the Windows environment.
|
|
|
|
|
Can't go wrong with Jeff Prosise's Programming Windows with MFC. Charles Petzold's books are also very good.
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
I read these two books and I thought they are very helpful for me to understand the algorithms used for Windows programming:
Windows Game Programming for Dummies by Andre LaMothe
SAMS Teach Yourself Visual C++ 6 in 24 Hours by Mickey Williams
|
|
|
|
|
If you are looking to program Windows without MFC then I recommend...
"Win32 Programming"
This could be a good thing because when you do study MFC, you'll know why things are the way they are, which is extremely benificial.
Furthermore, one of the authors is a regular here, so you could also continue to read his stuff by visiting CP.
Barry R. Martin wrote:
I have programmed in C/C++
Good! The book assumes you already know it, so it won't waste your time by telling you how to dereference a pointer, etc.
Jeremy L. Falcon
"The One Who Said, 'The One Who Said...'"
<nobr>
Homepage : Sonork = 100.16311 01000010011011110110001000100000011101110110000101110011 00100000011010000110010101110010011001010010111000000000
|
|
|
|
|
Hi all,
I am facing the following problem: If I do a new release of a DLL, I would like to put it on the network, so that other users can access it the next day. Sometimes the users forget to close their programs using the DLL. So they hold a lock on it and the old DLL cannot be replaced by the new one.
Now my question: How do I find out which user on which machine is holding a lock an a file on a network drive? There must be a way to figure that out on Win2k or WinNT. But I couldn't find anything about it in the MSDN or on the internet.
Does anyone have a solution or a hint for me?
Thanks a lot in advance,
Oliver
PS: The only comment from Microsoft I found was: Try again later. But this doesn't quite help. Right?
|
|
|
|
|
I think HandleEx or some similar tool (at e.g. sysinternals) can do it.
|
|
|
|
|
Hi Mike,
thanks for the hint. I have already tried this, but this tool only lists the open handles on the local machine.
Best regards,
Oliver
|
|
|
|
|
this tool only lists the open handles on the local machine.
OK. How about "EnTeHandle" at either CodeGuru or this page?
|
|
|
|
|
This is an interesting site you're pointing me. But it still won't solve the problem, because the processes locking the DLL are not running on the local machine. They're running on other machines connected to the network.
EnTeHandle works somehow like this: MyMachine->AnyHandles->MyFiles. But I am looking for something like this: MyFile->AnyHanldeToItLocatedOnAnyMachine->NameOfTheseMachines.
Best regards,
Oliver
|
|
|
|
|
Ahhh, NOW I get you (and feel like a complete idiot for misunderstanding you so completely - I obviously believed you wanted to program a solution based on the forum).
The solution is simpler than I anticipated!
Have a look at Server Manager (remote connections or whatever it's called - MS changes names for this for every new OS release). It can tell what files are opened by what other remotely connected machines (assuming you're using the MS SMB server here). You can't say what user uses it, but you can both see what machine has it locked, and "kick" that machine so you can replace the DLL.
At least this was available in everything up to and including NT4. In NT5 I think it's in Computer Management under Shared Folders/Open Files.
But if you want to do this using programming you're basickally f***ed. The SMB server is undocumented.
Sorry for my/the confusion.
/Mike
|
|
|
|