|
hemlat wrote: I need to maintain version information of data files and code.
Are you talking about any Source Code Management tools ?
Please go through these sites and rephrase the question ...
Microsoft Visual Source Safe[^]
Subversion[^]
|
|
|
|
|
|
Hi thanks for your reply. Link is very useful for me.
|
|
|
|
|
This article[^] has what you need - a class to read the version resource of a module.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Hi thanks for your reply. I needed this kind of code.I will work on that and let you know.
|
|
|
|
|
Hi,
I am able to implement version information.Thanks for your reply.
|
|
|
|
|
can n e one give me the code for getting ful file path i hav eused this code but it only returns the file name
CFileDialog dlg(true);
dlg.doMOdel();
CString path=dlg.getFileName();
from this only file name is returned
and there is an other method: getFolderPath(), which only returns the path of the file...but not the file name
plz help me out!!!!!!!
|
|
|
|
|
Use CFileDialog::GetPathName
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
You are not superman you are a super-fast-man!
|
|
|
|
|
|
MahaKh wrote: plz help me out!!!!!!!
You've already been helped here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"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
|
|
|
|
|
Hi
I want to use a C++ program as a part of a project in C#
and I know how can I do this when the program is Managed CPP
But I want to know how can I include my Standard Cpp code in a C# project
and I use Visual Studio 2008 and I want to know is there any template for creating
a standard CPP project apart from the "Empty Project"?
I appreciate your answers
thank you
|
|
|
|
|
|
You cannot directly use native C++ code in C#.
You can create a native C++ DLL and then do DLL interop from C#.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Thank you
It would be better if you told me how to do that
and again thank you
|
|
|
|
|
|
Hi,
I'll recommend that you write everything in managed code, or everything in native language as much as possible. If you mix them both, you don't get the best of both worlds, but in most cases, you get the worst of both worlds. Like the other person said, you cannot directly use C++ code in a managed application. Try converting that to managed C++. Keep COM interop as the last option (there are several articles on CP and msdn, if you decide to, just do a search).
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
i have used CMFCOutlookbar in my project, and i have added some tabs to it.
every thing works fine except to set the color for the tabs.
i am using SetTabBkColor(int itab, COLORREF clr) function.
but the color is not getting applied at all.
is that i am missing something?
code snippet:
CMFCOutlookbarTabCtrl * pTabCtrl = (CMFCOutlookbarTabCtrl * ) m_wndOutlookbar.GetUnderlyingWindow();
if(pTabCtrl)
{
pTabCtrl->SetTabBkColor(0, RGB(100, 100, 100));
}
although the function returns success, the color is not visible for the tabs.
suggestions are welcome
thanks
|
|
|
|
|
i using pdflib. i want convert file pcl (style text) to file pcl (style image) ?
thanks very much
|
|
|
|
|
hai,
i am trying to embed mspaint into an mfc application. in that i wanted to load a bitmap image & when i click at a position in the image with a mouse i want to read the position coordinates. is it possible ? if so please help me
|
|
|
|
|
vvlnkishore wrote: i am trying to embed mspaint into an mfc application
-> Interesting... how you done it ?
vvlnkishore wrote: with a mouse i want to read the position coordinates. is it possible ?
Sure!
Trap,
CWnd::OnMouseMove, OnLButtonDown, OnLButtonUp
Also,
CRect::PtInRect[^] (Determines whether the specified point lies within CRect.)
modified on Thursday, May 7, 2009 10:07 AM
|
|
|
|
|
thank you madhu. but how can i assign the coordinates to fX & fY. i am new to this programming. actually an MFC is developed using mediaplayer control. in that we are displaying the input image. in that image we are giving region of interest coordinates manually. but our people wanted it to be done just by mouse click using mspaint control. can you help me in this.
|
|
|
|
|
Is there any way to find which all .lib, .dll etc files are included in a exe ?
or
Is there any way to find which all .lib, .dll etc files are included in a .lib ?
I used dumpbin.exe but its not verbose.
RKP
|
|
|
|
|
Visual Studio has a dependency viewer (depends.exe).
Not too verbose but it will show you the static dependencies in a UI.
You can then do profiling to get all other DLLs that are loaded dynamically.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
i think depends.exe will help you.
depends.exe comes along with microsoft visual studio.
|
|
|
|