|
The compiler tells me
PathRemoveFileSpec(path);
identifier not found even with a research independent from the object
is there anything i should include ?
Thanx in advance,
Desmo16.
|
|
|
|
|
#include <shlwapi.h>
Removes the file name and backslash from the end of a pathname string.
Mark
|
|
|
|
|
|
Sorry damn little angle brackets in html
#include <shlwapi.h>
|
|
|
|
|
In additional you can use of CFile instead file.open
|
|
|
|
|
hai friends,
iam new to this site...iam working for KPIT cummins ,pune(india).
i am facing one problem in my project in Visual Studio 6.0...
Front End: VB6.0
Back End: VC++6.0
Middle interface is Excel we are using..
Now problem is .. how can i debug both the VB6.0 and Vc++6.0 at a time by running my project...
please help me this very importent for me...
thanks & Regards
Sivaprasad
india
sivaprasad
|
|
|
|
|
|
What do you need?Can you be more specific
|
|
|
|
|
Does anyone have or know where i can find source code for a very simple program that just produces a preview from a webcam (no capturing required) using DirectShow and VS2005?
Or can any one explain how i would do it myself?
|
|
|
|
|
The AmCap sample app in the DirectShow SDK (now in the Platform SDK) is fairly simple.
Mark
|
|
|
|
|
But there is no documentation to explain what all the classes do. I'm new to C++ and DirectShow and so i need a dummys guide to webcam previewing.
-- modified at 10:48 Tuesday 24th October, 2006
|
|
|
|
|
ceejeeb wrote: But there is no documentation to explain what all the classes do.
The DirectShow SDK IS the documentation. It's well documented actually.
For a beginner it's not real easy. You need to know C/C++, Windows API, enough COM to at least
handle creation/releasing of objects, and DirectShow classes.
A simpler alternative is Video for Windows[^].
Mark
|
|
|
|
|
Hi
i have one issue regarding EventLogType of event viewer.
I have written code for reading all events from event viewer. for getting event log type name like application, system and security, I refer registry path (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog). Form this path, I come to know how many event log type are and using the keyname, I read the event logs information.
My problem is that One machine (windows 2000 server) the eventlog names are differ from registry with eventviewer.
Ex.
In registry Application
In EventViewer . Application Logs
So I could not get the log information from event log viewer
I am using OpenEventLog() API
Thanks
By .
Shadrach
|
|
|
|
|
I saw an example on codeproject about event viewer did you see it?
|
|
|
|
|
Hi !
I'm looking for a free C++ code profiler.
I've often heared about Valgrind, but it seems it only work on Linux.
Any suggestions ?
Thanks !
Jerome
|
|
|
|
|
Oups, maybe profiler is not the right word.
What I'd like to have is something which will tell me how much time is spent in which methods of my code.
Jerome
|
|
|
|
|
|
Jerome Conus wrote:
I'm looking for a free C++ code profiler.
What about the one that comes with VS?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
DavidCrow wrote: What about the one that comes with VS?
I thought they stopped shipping it after VC6. Did they put it back again? Can't find it.
|
|
|
|
|
Nemanja Trifunovic wrote: I thought they stopped shipping it after VC6. Did they put it back again?
I wouldn't know. Jerome failed to mention any specifics about his environment.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
DavidCrow wrote: failed to mention any specifics
We don't need no stinkin specifications!
led mike
|
|
|
|
|
sorry...I'm using VStudio .NET 2003 !
I didn't find any profiler within my VS !
Jerome
|
|
|
|
|
How can I disable a tab from a TabControl?
|
|
|
|
|
There is no default method for doing this. How ever u can do it by handling the mouse clic kand selection change event in the tabcontrol
nave
|
|
|
|
|
can u send a sample code?
I want to disable all the tabs if a button is clicked,otherwise it shud be enabled.
|
|
|
|