|
U can use CSocket class if u have the MFC support
nave
|
|
|
|
|
|
http://www.codeproject.com/internet/
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Hi All,
I am getting an error message saying
"LoadLibrary (abcd.dll failed) - Recursion too deep, Stack overflowed" while registering a COM dll. Can anyone tell me what the problem could be?
Thanks and Regards,
Anil
|
|
|
|
|
I would try if you can load the dll with depends - tool (part of sdk).
This tool will show you if all dependend dll's can be loaded and will report which dll is missing.
Another thing is trying to register the wanted dll by using commandline tool regsvr32 dllname
This will register the com components in registry.
Your dll may tries to register itself when loaded.
|
|
|
|
|
This is only happening when im using a particular function from a library linked to this dll.
Can anyone tell me what the reason could be?
Thanks and Regards,
Anil
|
|
|
|
|
Hello all,
Is there a way to checkpoint a windows process(User Process),rather than just suspend/resume.
What is the core API to be used?
Mention websites which will be of more helpful in this regard.
Thanks in advance.
Rane
Rane
|
|
|
|
|
Perhaps you're after a profiler. MSVC 6 comes with one so I assume the newer ones also do. There are also third partly ones like NuMega’s TrueCoverage.
Steve
|
|
|
|
|
When using CDaoDatabase and CDaoRecordset class.
How to make the database connection with user name and password ?
P.S. using VC6, Dao and Access 2000.
-- modified at 21:02 Friday 24th February, 2006
Is CDaoDatabase and CDaoRecordset
|
|
|
|
|
Hi,
CDaoDatabase and CDaoRecordset is good choice.
In the connection string specify the username and the password.
For more information check this link
DAO[^]
Bye,
Cool Ju
Dream Ur Destiny
|
|
|
|
|
I found the method at following link.
Open with password
Thank you your help
Remarks
You must call this member function to initialize a newly constructed CDaoDatabase object that represents an existing database. Open associates the database with the underlying DAO object. You cannot use the database object to construct recordset, tabledef, or querydef objects until it is initialized. Open appends the database object to the associated workspace's Databases collection.
Use the parameters as follows:
* If you are opening a Microsoft Jet (.MDB) database, use the lpszName parameter and pass an empty string for the lpszConnect parameter or pass a password string of the form ";PWD=password" if the database is password-protected (.MDB databases only).
* If you are opening an ODBC data source, pass a valid ODBC connect string in lpszConnect and an empty string in lpszName.
For related information, see the topic "OpenDatabase Method" in DAO Help.
|
|
|
|
|
I am trying to use GetSystemWindowsDirectory from an MFC Dll
TCHAR strWinPath[256];
UINT uSize = 256 ;
if(GetSystemWindowsDirectory(strWinPath,uSize))
it gives me a linker error
error LNK2001: unresolved external symbol _GetSystemWindowsDirectoryA@8
I have kernel32.lib included
Any ideas why this could be happenning ?
|
|
|
|
|
Hello ,
Please refer / use the code given from :
http://support.microsoft.com/default.aspx?scid=kb;EN-US;281316
i have used this code in vc 6.0 + Win 2000 Proff.
Its work fine.
Actually the linker problem is due to the finding of exact defination of function with respect to OS call.
Let me know, is that work fine in Your environment , if not can u please tell me detail about ur environment
-- modified at 7:13 Saturday 25th February, 2006
|
|
|
|
|
I hope my toolbar button to have such function.but
I can not do this in classview. Is there any other ways?
Thanks
|
|
|
|
|
Hi,
I dont think you can get some handlers for toolbar doubleclick,but i got an idea:-
1) Map the WM_COMMAND
2) put a static boolean variable inside it at the first click make it true and set a timer .
3) The timer will be to trigger at a fixed time(the time for the second click) nothing hapens in that time set the static variable back to false .
4) kill the timer .
Hope this helps .
Regards,
FarPointer
|
|
|
|
|
Thanks, I will have a try.
|
|
|
|
|
I'm looking to create some sort of database. I need to store details for students and divide them acording to year and class. Having never dealt with any for of database before I'm not really sure how to proceed. My project currently has Excel functions built in, but I'm not sure if storing something like this would be efficient enough using Excel.
Any ideas or suggestions? What databases are easy and fast to learn?
|
|
|
|
|
waldermort wrote:
I'm looking to create some sort of database.
Can you use Access?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
Can you use SQL . for any db you invariably need SQL
Once u know SQL its upto you to decide which db to go with depending on issues like distribution etc . There are embedded (text file) based databases available that are SQL compliant .
One good db is sqlite
http://www.sqlite.org/
Engineering is the effort !
|
|
|
|
|
Is there any way to make a string accept two words separated by a space?
So far, I have found that the string only accepts the first word and rejects any input after the space.
Thanks.
|
|
|
|
|
show some code, because I don't understand.
if I do CString s( "Two Words" ); , s contains 2 words.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Maximilien wrote: if I do CString s( "Two Words" );, s contains 2 words.
You better check that again. I only see one "Words" and one "Two."
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
Thanks Guys 
|
|
|
|
|
Bob X wrote: Is there any way to make a string accept two words separated by a space?
don't confuse NULL with Space... NULL terminate String and SPACE actually defined as Char(32)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
actually, i wanted to send multibytes to the machine, like 02 00 02 00 20 42 51 08 to a function through which we could send this data to a machine, but i am able to send one byte at a time, how is it possible to send all the bytes at a time to a function?
shrin
|
|
|
|