|
I have a program that I have been developing under VC++ 7.0. When I try to run the program on a machine that doesn't have Visual Studio.NET it says that it cannot find mfc70.dll. I have set the active configuration to Release but it still doesn't work. Is this just a bug on the the Beta 2 version or am I just doing something wrong. Any help appreciated.
Brad Jennings
|
|
|
|
|
Change the MFC linking mode to "Use MFC in a static library" (or something like that, can't recall the exact wording).
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Do you happen to know where to change the linking mode? I'm new to Visual Studio.NET and cannot find it.
|
|
|
|
|
Nevermind I found it. Thanks.
Brad Jennings
|
|
|
|
|
Sorry, never used VS.NET. If it's similar to VS6.0, look around Project->Settings.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
I send a two file. i must open a directory a send the files. Can i use CreateFile?
|
|
|
|
|
What do you mean by send file?
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
Send file with socket. The problem is send two file. Send a single file is not problem but two?
|
|
|
|
|
Send the length of the files prior to the files themselves.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
My MDI application has a view and when that comes up i dont get the print File Menu item disabled. I want to print the contents of the view . I am specifically using a CTreeView Ctrl as the view . Please help
|
|
|
|
|
Well there is some unexpected thing i have encountered while programming in Visual C++ 6.0 under Windows XP. For example, windows standart looklike Button, is light oval shaped and it really differs from buttons in resource editor in visualc++. Even after compilation, the buttons (generally the controls) look like they are from win9x series of windows. Why? Can somebody help me to solve this as i think stupid problem? Example: Miranda compiled on VisualC++6.0 (XP os) has XP style Controls. Is there some definition or declaration that has to be done?
|
|
|
|
|
You need to create a ".manifest" file.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/xptheming.asp
here's a tutorial how to do it, it's very easy
modified 12-Sep-18 21:01pm.
|
|
|
|
|
If you don't like this style in XP, stop the Themes service and then everything will look like 9x.
Dave.
|
|
|
|
|
I use the CMultiDocTemplate to add two different views for my document .
I want to open two views whenever the user clicks on File--> New
Currently I can only choose between the two . Please Help
|
|
|
|
|
When i try to send a DWORD value with the send function it returns SOCKET_ERROR
i = send(sckClient, (char *)dwFileSize, sizeof(dwFileSize), 0);
How do i send a DWORD?
thanks
|
|
|
|
|
i = send(sckClient, (const char*)&dwValue, sizeof(dwValue), 0);
Don't talk too fast, don't talk too much and don't talk to soon! - The wise man says...
|
|
|
|
|
i need to get a value of some environment variable. what API can be used to get the value of environment variable
|
|
|
|
|
getenv , but I don't think you can get the processor ID with this method.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
|
Didn't know that env variable existed! I've just tried it and it actually returns some info on the processor.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Do you have sample code to get the processor id (assuming it's enabled)? Code to enable it would also come in handy! Thanks,
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
const char * processor_identifier=getenv("PROCESSOR_IDENTIFIER"); This variable is not available on every Windows OS (it is on my Windows 2000, and it is not on the Win98 system I've got home).
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Hi Joaquin, actually I was looking for a wrapper for the ASM code that enables/disables advertising the processor id and also a way to read it from the chip (i.e. what Intel's utility does).
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
I've just run into voodoopriestess' (sic) CAMEL - CPU Identifier Class[^], which seems a far more powerful way to obtain info about current processor.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|