|
You could also have more than one link on the download page. Take a look at www.sysinternals.com. They usually have three links per utility: one for 9x, one for NT, and one for Alpha or Linux boxes.
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
I would like to understand how you can print the string from an edit box using dcPrint?
Example: dcPrint.TextOut(50,150,Editbox string here);
anyhelp greatly appreciated
ThankYou in advance.
Still no advice on how to achive this, does anyone have any sugestions that I might try?
|
|
|
|
|
Hello all.
I am wondering. I am now playing with VS .NET and when I build a normal "MFC Application" (w/out the .NET framework) I am getting an error saying the MFC70.DLL is not found on my computer. (I build the app and export it to a fresh W2K install machine for testing purposes). I realize it is looking for a newer version of the MFC DLL, but what I am wondering is there any way in VS .NET that I can tell the compiler that to use the older MFC .DLL files (such as 42 that is installed with W2k/WXP)?
thanks!
shultas
|
|
|
|
|
shultas wrote:
is there any way in VS .NET that I can tell the compiler that to use the older MFC .DLL files
Not that I'm aware of. To remove the DLL dependencies, set the build to link statically to MFC (I don't use VC 7 so I have no idea how to do that, it's in the project settings somewhere).
--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | 1ClickPicGrabber New v2.0! | RightClick-Encrypt
"That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas."
-- Buffy
|
|
|
|
|
Anyone know where I can find some good examples of software that uses context help? I'm trying to understand how to create help for a program I'm making, but MSDN doesn't really explain what needs to be done in a consise manner, and I have yet to find a place where a decent example exists.
Any help in the matter is greatly appreciated.
Thanks!
|
|
|
|
|
U can get this in Book called "VC++ programming" and author in Kruglinski.
bbye.
Salman
Live and Let live
|
|
|
|
|
|
I want a particular part of my coding to gain high priority during execution. Windows should not receive even the keyboard and mouse messages. Any body knows how to do this
|
|
|
|
|
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
|
|
|
|
Hello all.
I am building a program presently for a couple of people to work with. The program changes quite often (many times during the week) because it is in its Alpha stages. What I am wanting to do is incorporate a "help/about" button on some of the dialogs that will open up another window/dialog with some information in it.
Currently, I am using a listbox with no selection enabled. In my OnInitDialog() I have it populate this listbox using AddString(). This listbox I have setup to be "non selectable" so that you can just read and scroll.
I am wondering, is this the best way to do it, or is there some other control that I can use to put text into and allow the user to scroll up and down (without being able to select individual lines).
Also, if listbox w/ none selection enabled is the best way, I am wondering if there is a way I can make this process easier on myself. Currently, I have to have lots and lots of AddString()'s in there to put the help. When I make changes so often to the program, I have to spend a lot of time going through the AddString() statements to reflect the changes that I've made. What I'm really looking for is a way that I can have a text file that gets compiled into the APP during a compile. This way, I can have a text file that I can open up in textpad and make modifications to after I make code changes, and then, once I recompile, voila, all that information in that text file gets compiled into the .EXE. (I want to get away from having to distribute the APP with the .TXT file and having to reinstall the text file every time I re-release the new alpha version. I don't want a "disk read" in order to populate this "list box".
Any ideas on the best method of incorporating this would be greatly appreciated.
Shultas
|
|
|
|
|
|
I'm programming with VC++7 in MFC. I must know the path where my app is. I know that I should use the object "theApp", but I can't find anything that gave my app its location.
Thx.
Written by: Rafael Fernández López.
void life ( bool me, bool her )
{
if ( her )
{
me = true ;
}
else
{
me = false ;
} }
|
|
|
|
|
|
Can you show me an example please?? I can't make it work.
I am using hModule as NULL because I want to now my executable file path.
Thx.
Written by: Rafael Fernández López.
void life ( bool me, bool her )
{
if ( her )
{
me = true ;
}
else
{
me = false ;
} }
|
|
|
|
|
How does your code look like?
Rickard Andersson
Here is my card, contact me later!
UIN: 50302279
Sonork: 37318
|
|
|
|
|
static const int BUFSIZE = 1024;
DWORD cchBuff = BUFSIZE;
TCHAR tchBuffer[BUFSIZE] = {0};
LPTSTR lpszPath = tchBuffer;
DWORD dwResult;
dwResult = ::GetModuleFileName(NULL, lpszPath, cchBuff);
std::cout << "Path to EXE is: " << lpszPath;
~Nitron.
ññòòïðïðB A start
|
|
|
|
|
Rafael Fernández López wrote:
I can't make it work.
Meaning what, you get compiler/linker errors, a run-time error, or the value of lpFilename is wrong after the function call? How about a code snippet of what does not work?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
I compile my projects using this platform. When i give exe-files, compiled by it, to my friend application doesn't find all dll it needs, because friens don't have this platform. But when i had seen what dll it wants, i realized that it wants dll related to netframework, which i don't use in my applications. And i don't know how to exclude it from using.
|
|
|
|
|
Are you sure you're not using any managed extensions? Try using SPY++ to see which modules your app calls.
~Nitron.
ññòòïðïðB A start
|
|
|
|
|
I ran across a document a while back about this issue. (This is why I have not used my .NET that I paid over $1K for!). The article stated that any program that you compile with Visual Studio .NET requires the .NET Framework to be installed on the client machine running that program.
The article stated that future versions of Windows will be shipped with the framework, but as of now you have to download and install it from the Microsoft web site. (This is primarily why I've not developed anything with it, because I was nervous that the people running my program would have to spend hours downloading the framework in order for a simple utility to run).
I may be entirely wrong, someone please correct me if I am (I'll be installing 5 minutes after your message!). But I did read a document that stated that.
Shultas
|
|
|
|
|
shultas wrote:
The article stated that any program that you compile with Visual Studio .NET requires the .NET Framework to be installed on the client machine running that program.
That is incorrect. You can still write C/C++ apps that are completely native.
--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | 1ClickPicGrabber New v2.0! | RightClick-Encrypt
|
|
|
|
|
...Installing VS .NET right now!!!! I've had the program for almost a year now without using because of this fear!!!
Thanks for your post!
PS: Sorry for the incorrectness of what I've read all!
|
|
|
|
|
Heh, it is a VERY common mistake. Microsoft hyped .NET so much that many people think that VS.NET only produces .NET programs.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
If you sure that you can write application without loading unnecessary DLLs.
Could you help me how to prevent their loading.I use Win API.
|
|
|
|
|
What is the name of the DLLs? The usual problem is that someone tries to ship the debug build which links to debug DLLs.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|