|
how about GetCommandLine();
AliR.
|
|
|
|
|
"An MFC application will typically create a local instance of this class in the InitInstance function of its application object. This object is then passed to CWinApp::ParseCommandLine, which repeatedly calls ParseParam to fill the CCommandLineInfo object. The CCommandLineInfo object is then passed to CWinApp::ProcessShellCommand to handle the command-line arguments and flags."
i really feel dumb, i dont understand anything. i'm really stupid
MSDN^
regards,
Rookie
Installing MFC...0% complete
|
|
|
|
|
(i really feel dumb)
If only I had a nickel for every time I felt dumb.... we ALL do it....
(i dont understand anything. i'm really stupid)
Uhm.... no you are not. One smart thing you did was join CP It is all about learning.
If a wizard fails to cast an enchantment correctly, is that a mis-spelling?
Never argue with an idiot. They will drag you down to their level where they are an expert.
-- modified at 16:56 Monday 24th October, 2005
|
|
|
|
|
|
You can pass arguments to the application your are running in the IDE by going to the project settings menu -> debug Tab -> program arguments edit box.
|
|
|
|
|
Is there any tool to view the windows messages sent and received by an application?
thanks
|
|
|
|
|
|
Not really a C++ question, but I'm sure guys have answers anyway. I'm trying to render a video stream in WPF. By video, I don't mean a video file that WPF can just play, I'm talking about a stream of bytes and frames decoded and ready to blit to screen. Does anyone know what the technology of choice for doing the rendering is in the new world of WinFX? I want my video stream to happily coexist with all the WPF stuff in a single window - so I can transparently overlay buttons etc. on top. It seems that using DirectX rendering currently causes the Vista Window Mnager to deactivate all special effects, such as glass. What should I be doing? Is this likely to be a problem that will go away in future builds?
Joel Holdsworth
|
|
|
|
|
Does anyone know how to get a full path to a program registered under windows for a certain file extension?
For example: if a given file extension is .xls how is it possible to find Microsoft Excel executable file path to run the xls file ?
Any other ways except scanning registry? Any windows API's?
|
|
|
|
|
Just run Exel (through ShellExecute() for example). It is registered, so the system s knows already where it is
SkyWalker
|
|
|
|
|
You can use AssocQueryString() or FindExecutable() .
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Thank you very match. That's what I was looking for.
|
|
|
|
|
Hi,
Were can i find automation tutorial for mfc.please send in some good links to start with.
Thanx
Farpointer
|
|
|
|
|
|
Hi,
Thanx for your reply , but i would appreciate something thats related to excel file reading ,writing etc by using automation.
Thanx
FarPointer
|
|
|
|
|
Ok, I'll send you tomorrow a pice of code by e-mail.
SkyWalker
|
|
|
|
|
|
See here.
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Good New's microsoft jumps in Domain of
Business Intell.
Not seeking to compit with established firms for
already successful work like n/w security by SAS
http://www.nytimes.com/2005/10/24/technology/24soft.html
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Hi,
I have two applications. One application will push all its COM objects to the ROT.
And tried to get the Objects in the second application.
I got the Object pointer by calling GetActiveObject().
But I am not able to use the pointer properly.
I am getting the "Acccess Violation" error while trying to call QueryInterface.
Is it possible for the two process to communicate like this.
If yes will anybody help me to resolve this problem.
If not which is the best way for the two process to communicate. Communicate in the sence the second app should be able to invoke some functionality in the first process.
Thanks in advance
|
|
|
|
|
Hi fellows
I've readed in MSDN something like this:
Link Collections are nested subcollections in a Top-Level collection.
LinkCollection arrays: describes all the LinkCollections in the Top-Level Collection. They are organized in a hierarquical order. The first node of LinkCollection array is the Top-Level Collection and the remaining are the remaining Top-Level Collection's LinkCollections.
Finally my question:
What are a LinkCollection? On the MSDN there aren't a explanation.
Can you help me guys?
|
|
|
|
|
How can we format a removalble drive, in particular an ATA flash card, in Visual C++ silently without the user intervention? I tried the SHFormatDrive but this API just starts the Windows format command.
Also, how can we distinguish different type of removable drive? I used the SDK function GetDriveType(), and a hard disk or any flash device connected to the USB port would return the type DISK_REMOVABLE
Any suggestion would be greatly appreciated.
Thanks
Tien
|
|
|
|
|
I have a c++ application that i am attempting to launch a video clip that is located on a web server over a web browser. Can i use the shell execute function for that?
Also, is there such a thing as an html window that i can use to launch the video in.
If none of the above, i am open to other ideas...
Thanks,
|
|
|
|
|
LCI wrote: Can i use the shell execute function for that?
Yes.
LCI wrote: Also, is there such a thing as an html window that i can use to launch the video in.
Can you use CHtmlView ?
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Never used CHtmlView before.
Any thoughts on how to use?
I will do a search on help.
|
|
|
|