|
Check out the WM_KEYUP and WM_KEYDOWN messages.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
|
|
|
|
|
i know about this ones but how to get the time or do the logic for doing what i asked?
|
|
|
|
|
Did you read the documentation, specifically about bits 0-15 of the LPARAM parameter?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
|
|
|
|
|
Oh i see, i wasn't reading the MSDN documentation :p
|
|
|
|
|
I am new at c++, and ;I am trying to use existing library that contains .c and .h files.This library also contain one test program.I have included all .c and .h files to my project. When i try to build my project I get the about 10 different "LNK2019: unresolved external symbol errors". maybe some one can help me figure this out.I have checked that .c and .h files contain these function i-e mzd_copy,mzd_echelonize_m4ri etc. I am using visual studio C++ .net 2008. I have uploaded my project at mediafire
http://www.mediafire.com/?6bcuo1tmg3smysc
the error i received are as follows:
Error 7 error LNK2019: unresolved external symbol _mzd_copy referenced in function "int __cdecl elim_test_equality(int,int)" (?elim_test_equality@@YAHHH@Z) test_elimination.obj
Error 6 error LNK2019: unresolved external symbol _mzd_echelonize_m4ri referenced in function "int __cdecl elim_test_equality(int,int)" (?elim_test_equality@@YAHHH@Z) test_elimination.obj
Error 4 error LNK2019: unresolved external symbol _mzd_echelonize_naive referenced in function "int __cdecl elim_test_equality(int,int)" (?elim_test_equality@@YAHHH@Z) test_elimination.obj
Error 3 error LNK2019: unresolved external symbol _mzd_echelonize_pluq referenced in function "int __cdecl elim_test_equality(int,int)" (?elim_test_equality@@YAHHH@Z) test_elimination.obj
Error 2 error LNK2019: unresolved external symbol _mzd_equal referenced in function "int __cdecl elim_test_equality(int,int)" (?elim_test_equality@@YAHHH@Z) test_elimination.obj
Error 1 error LNK2019: unresolved external symbol _mzd_free referenced in function "int __cdecl elim_test_equality(int,int)" (?elim_test_equality@@YAHHH@Z) test_elimination.obj
Error 9 error LNK2019: unresolved external symbol _mzd_init referenced in function "int __cdecl elim_test_equality(int,int)" (?elim_test_equality@@YAHHH@Z) test_elimination.obj
Error 8 error LNK2019: unresolved external symbol _mzd_randomize referenced in function "int __cdecl elim_test_equality(int,int)" (?elim_test_equality@@YAHHH@Z) test_elimination.obj
Error 5 error LNK2019: unresolved external symbol _mzd_top_echelonize_m4ri referenced in function "int __cdecl elim_test_equality(int,int)" (?elim_test_equality@@YAHHH@Z) test_elimination.obj
Error 10 fatal error LNK1120: 9 unresolved externals C:\Users\Ishtiaq\Documents\Visual Studio 2008\Projects\test333\Debug\test333.exe
|
|
|
|
|
Your function definition might be a mismatch with the function declaration. Make sure you are using the correct prototype.
The linker error indicates that your code is unable to find a matching function.
I am a HUMAN. I have that keyword in my name........
<marquee> _AnsHUMAN_</marquee>
|
|
|
|
|
Check the source file that contains all the functions with the _mzd_ prefix is being correctly compiled and included in the project.
I must get a clever new signature for 2011.
|
|
|
|
|
hello,
i am not able to download your project from the link you gave. anyway, is there any lib file and if so, did you include that in project settings->linker....
Regards,
A. Gopinath.
|
|
|
|
|
Hi,
Thank you everybody for the quick feedbacks.
Here is the link again. Its working.
http://www.mediafire.com/file/6bcuo1tmg3smysc/test333.rar[^]
I have confirmed that all of the implementations used in my test project are available in the source and their corresponding header files.
I have added all the required files to to my source and header folders of my project.
There are no pre-compiled .lib or .dll files. I have got all the necessary files in .c and .h format. The library also has extern C symbols added so that it can be compiled as a C++ code.
I can easily jump to function implementation in header file using "Go to definition" in VC++ editor from my test .cpp source file. But still nonetheless i am getting linking errors.
Kindly please have a look at the project source.
Thanks a million
Regards,
|
|
|
|
|
Please see my previous message. Your project has not included the files in the m4ri folder so the mzd functions are not being compiled. You should either add all these source files to your project, or create a project that compiles them into a .lib file (static library), and add that to your main project.
I must get a clever new signature for 2011.
|
|
|
|
|
Hi,
Thanks a lot for your quick reply.All of my .c and .h files are available in m4ri folder.
Will you please tell me that how I can create project that compiles them into a .lib file(static library), and how can I can add that to my main project.
Thanks a lot.
Regards,
Ishtiaq
|
|
|
|
|
Yes, I know they are available in the folder but unless you compile them into object code your program will never be built successfully. If you do not know how to create such a project then I suggest you go to the Visual Studio help pages and read up on the compiler and linker options for building different project types.
I must get a clever new signature for 2011.
|
|
|
|
|
hello,
i can able to download now. i saw your project.
Mr. Richard is right. do as he said, then you will get the result.
Regards,
A. Gopinath.
|
|
|
|
|
Hi,
Need assistance on how to send emails with attachment in VC6.0 environment...
I don't want to get any kind of alert while sending email with attachment...
Kindly assist on this..
Thanks
John
|
|
|
|
|
MAPI[^]
I am a HUMAN. I have that keyword in my name........
<marquee> _AnsHUMAN_</marquee>
|
|
|
|
|
Consider launching an external program like bmail[^]
|
|
|
|
|
Can I show deafult path "My Computer" for CFileDialog() ?
|
|
|
|
|
What happens when you try it?
I must get a clever new signature for 2011.
|
|
|
|
|
Yes.
Initialize it by updating the m_ofn (OPENFILENAME ) structure with the appropriate path.
the "my document" can be found with SHGetFolderPath .
Watched code never compiles.
|
|
|
|
|
Hi
I am doing win32 GUI application. Recently i got good GUI application is is Window Presentation Foundation(WPF).
How to Use WPF in Vc++ win32 application?
How to Import are refer?
Regards,
M.Mathivanan
|
|
|
|
|
I don't think that is supported at this time; WPF works with C# or VB.NET.
I must get a clever new signature for 2011.
|
|
|
|
|
You can try this http://msdn.microsoft.com/en-us/library/ms744829.aspx i tried this and succeed some time ago.
|
|
|
|
|
Hello,
I am trying to create a program that will allow me to copy all the files from one directory to another with the click of a button and then compare those files to the files in the directory they were copied from in the future. I have the program built and working but all I have is a way to move just one file at a time. Thanks to all for any help
Arnold.
|
|
|
|
|
ajj100 wrote: ...but all I have is a way to move just one file at a time.
Are you using SHFileOperation() ?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
No. I am useing the MoveFile();
|
|
|
|