|
Jens876 wrote: ...the used MFC Version...
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
This version of VS comes with MFC lib version 9.0, for previous version you need to go to VS2005.
Why you are not using VS2005 then?
|
|
|
|
|
Ok.
I thought there is a way to use a MFC Version below 9 in Visual Studio 2008.
But it seems that there is no way to do this.
Then i have to use Visual Studio 2005.
Thank you for your help.
|
|
|
|
|
Why you dont use VS2005 if you need to it?
|
|
|
|
|
I'm using Visual C++ 6.0 I created a simple dialog box with ID called IDD_Test. It simply contains a some static text and a text edit box. I'm doing an SDI application. I would like to display this dialog when the program starts, but I don't understand how to go about doing this.
Thanks ahead of time
|
|
|
|
|
You may like to select "Dialog based application" option while creating new project, instead of SDI.
|
|
|
|
|
Kwanalouie wrote: I would like to display this dialog when the program starts, but I don't understand how to go about doing this.
Hint: This sounds like a "splash screen."
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Do you wan to show dialog box or you to have a dialogbox program?
|
|
|
|
|
I have an SDI program (visual C++ 6.0). When the program starts I want to put up to put up a dialog window that displays a message to the user and the user enters some data, and then clicks ok. I know how to setup this "box" but I don't understand how to get it displayed initially.
Thanks
|
|
|
|
|
Hi,
i am trying to open HDD driver using createfile() API.
API return code is 0x00000020 (The process cannot access the file because it is being used by another process.).
hSmartDriver = CreateFile( "\\\\.\\PhysicalDrive0", GENERIC_READ,| GENERIC_WRITE, FILE_SHARE_READ, NULL,
OPEN_EXISTING, 0,
NULL
);
purpose of opening this driver is to read the firmware version of HDD by using DeviceIO control "DFP_RECEIVE_DRIVE_DATA".
pavan
|
|
|
|
|
Have you tried without the write access?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hello,
I made a win 32 mfc console application it works fine on my computer but if I try to run it from another one (same windows with same visual studio and same framework installed ) it doesn't work. I got this message :
This application has failed to start because the application configuration is incorrect
Note I didn't use any dll created by me just some lib from windows.
My project configuration is active debug and platform active win32.
I think is something wrong with DLL's
Can some one help me with a clue and maybe a point to start.
Tnx
|
|
|
|
|
What happens if you compile the application on that other computer?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
it works only if i delete the old file generated in debug folder.
|
|
|
|
|
Are you at same level as far as VS is considered, I mean, some patches, service packs or redistributables.
|
|
|
|
|
yes is the same level
but from what i know mfc is platform independent he don't need any framework and any vc++ installed...
|
|
|
|
|
No, it is platform dependent. It works with windows only , and needs certain supporting dlls to be available on that machine. Usually installer does it.
|
|
|
|
|
so should I do an installer for a console application ....
I used Dependence walker it told me that I need to include 4 dlls. But still doesn't work
|
|
|
|
|
Hi!
I'm Rathakrishnan. I've to read XML Data from a URL using C++. How do I do this? I read the msdn Knowledge Base. But it has been given using VC++ .NET. How can I do this using C++?
Thanks in advance.
|
|
|
|
|
You have two questions, really.
1/ How to get "stuff" from a URL,
I'm no expert at this, but have a look at InternetOpenUrl, InternetReadFile, etc.
and
2/ How to interpet XML.
There are several articles on CP. I've used TinyXML, but then I only process xml that I've generated, so it may not be robust enough.
Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
|
Can I hide password in html request if I use wininet?
|
|
|
|
|
Hi all,
i want to know how can i save a picture in Access database and,
see when i retrived the information from database.
i m using a String for this,and store the path of picutre when i browse the file for open and then store it in database.
when i want to retrived the information from database then i reterive this string and set picutre with this help.
Is it right way?
Thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
So are you wanting to store the path to the picture, or the picture itself? If the latter, see here.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|