|
LIB + DLL + .H . I think you should add you Dll,lib and .H in you Debug folder . Then you can use it just like a class. you can try !
|
|
|
|
|
You just posted that to Richard...
|
|
|
|
|
CP seems to be new to him...
|
|
|
|
|
Stick to the point Richard.
|
|
|
|
|
What? The point is that much of the question makes no sense.
|
|
|
|
|
Not sure I follow what you're saying... elaborate a bit perhaps?
|
|
|
|
|
Vaclav_Sal wrote: if the ID is defined in DLL
It cant be defined in a dll, it must be defined in a header file to have any meaning in your app.
Don't really get what you mean though.
|
|
|
|
|
Hi,
This is completely normal in MFC from a CFrameWnd derived class. This behavior is governed by the variable CFrameWnd::m_bAutoMenuEnable[^].
Best Wishes,
-David Delaune
|
|
|
|
|
Thanks David.
I will try to clean up my code - it seems silly to intercept the menu message using ON_COMMAND macro and "re post" same message so OnCommand can process it.
It really does not matter, to me, where the menu message gets processed, but since I started using libraries / modules I was just rying to keep processing uniform and under one function.
It was dissapointing that majority of replies managed to stay off the subject.
Cheers Vaclav
|
|
|
|
|
Vaclav_Sal wrote: It was dissapointing that majority of replies managed to stay off the subject. It was disappointing that your original question was so confusing.
|
|
|
|
|
Dear all:
I wanna implemented a app with only one button.
Function of application:
1.The Application with a button, that we can select sound by button.
2. When touch the panel, it will play sound, not only on my app(ex: desktop).
Question:
1.How do I use hook with touch event? Does anything else to implement this application?
2.if I use hook, how do I set the sound path in hook, when I select?
I am a new one of MFC, and my english is not good, please forgive me.
Thanks for your help, Victor.
|
|
|
|
|
|
If this is not the proper place for this question, please let me know where I can post it.
I am working on a bunch of MSBuild project files that were created from scratch. We are in the middle of upgrading to Visual Studios 2013 so a lot of the paths to libraries need to be changed. I am having trouble with the Microsoft Libraries because of the spaces that are in the path.
Here is the line that sets the base of the path to get appended later in the project file:
<CRT_LIB_PATH>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib</CRT_LIB_PATH>
Later there are lines similar to the following:
<LINK_LIBS>$(LINK_LIBS) '"$(CRT_LIB_PATH)\msvcrt$(DEBUG_SUFFIX).lib"'</LINK_LIBS>
In the second line, I have attempted single quotes, double quotes, single quotes surrounded by double quotes, double quotes surrounded by single quotes. Nothing had helped.
How to I properly put this path into the project file?
Thanks,
Kevin
What happens is everything before the "12.0" is lost and linker is not able to find the library.
|
|
|
|
|
I found a solution to this. I was reminded about the old DOS short name for directories, and by using those it fixed the problem.
|
|
|
|
|
You should use the Visual Studio macros for all the known paths. Changing these names to fixed paths or, as in your answer, to 8.3 type names, will most likely cause you problems in the future.
|
|
|
|
|
Actually I had already tried that as well, with the same result. Eventually the Visual Studio files will be moved to the server anyway, and at that point the macros would not be useful.
|
|
|
|
|
You're going to move Visual Studio files to a server? ...why is that?
|
|
|
|
|
Not my choice. I am only a lowly contractor.
|
|
|
|
|
|
I would like to use DirectShow sample code filter – Bouncing Ball. Build in SDK 8.1.
I can build a library – Ball.lib , executable Ball.exe and my ancient compiler builds Ball.ax file.
All with exception of .ax file looks as DLL’s.
I seldom use DLL’s , but when I do I have a control of type of DLL.
Two questions – how do I use these files and what kind of DLL was build – how do I tell?
The doc with the sample code only instructs how to use Graph Edit, which for my purpose is good for nothing.
A sample application using any of the DirectShow samples would be helpful.
Any help is as always appreciated.
Cheers
Vaclav
PS I had no luck on DirectShow forums.
|
|
|
|
|
OK, for some unknown reason , AKA MS naming convention - these fiters builds are not using dll extension , but ax.
And apparently they are "self registering " too.
|
|
|
|
|
Hi all,
First all, I am a newbie for Windows Driver programming using C/C++.
Now what I need to step by step to learn and understanding it clearly.
I have try to read so much, big question is: what I am not clear are as belows:
- The driver must provide the standard names of function that can make Windows can map system API to this function.
- So it contact the hardware provider and Microsoft to create the final device?
(Because Microsoft have to map their API function to Driver function that is provided by em.
Thank you in advanced and so much and please answer me ASAP.
TPN
C/C++ Developer
|
|
|
|
|
Driver development is too much different of what you are used to do in C/C++ development user mode, you don't have right the vocabulary to understand even if I reply.
Buy and read Windows Internals by Mark Russinovich 1[^] and 2[^]. (These books are one of the best investment I ever made)
It will not show you the code, but is the necessary bridge before starting to read book and resources about driver development.
In a very high lever yes, Windows API you are using in user land call functions in the driver, but the mapping is not as simple as a "override" in C++.
|
|
|
|
|
Environment: Windows 7, visual Studio, Team Foundation Server
I need help in getting started with Microsoft's TFS on their site. The account access URL takes this form:
https://your_name.visualstudio.com/
I created an account, can log in, but cannot figure out how to use it. Every tutorial I track down quickly progress to a statement that says: Do This, with no explanation of why or how.
When I log on, I cannot find the code that I think I uploaded. When I try to add code from a different directory it says that directory is not mapped. I cannot find anything that explains what they call a "mapping" and how to create it.
This TFS utility looks really cool, but I need help getting started. Is there anyone one willing to take this question? Links to tutorials will be most graciously accepted.
Thanks for your time
If you work with telemetry, please check this bulletin board: http://www.bkelly.ws/irig_106/
|
|
|
|
|
This would be better in the Visual Studio forum; it is not a C/C++ issue.
Veni, vidi, abiit domum
|
|
|
|