|
|
Hi All,
I was looking to update from VS6 to VS2003 but I was told at one point that my code would then require XP ( latest MFC , etc ) to run. Is it possible to use VS 2003 but still compile a project so that it still runs on windows 95/2k, etc? without having to package a pile of new libs with it.
Is it just a matter of linking in the project settings?
Could anyone point me in the right direction as to how to set this up. Thanks for the help.
-Rick
|
|
|
|
|
RickGavin wrote:
but I was told at one point that my code would then require XP ( latest MFC , etc ) to run
That is wrong, you can target any OS with VC 7 just like with VC 6. However, if your VC 6 code uses the DLL version of MFC, be aware that the MFC 7 DLLs aren't as commonplace yet like mfc42.dll is, so more people will have to get those DLLs, either from your installer or MS.
--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ
----
|
|
|
|
|
Well I'll give it a go and see if i can make it work. Thanks for the info.
-Rick
|
|
|
|
|
Hello,
I'm using some of the stl template classes and std::string. When I compile, I get all sort of warnings from the stl libray.
Does aybody know a nice way to get rid of all these warnings instead of #pragma them all away?
Thanks in advance.
Multiply it by infinity and take it beyond eternity and you'll still have no idea about what I'm talking about.
|
|
|
|
|
If you refer to warnings 4503 and 4786, these are completely harmless and #pragma ing them away is just fine. I don't think there's another way to get rid of them.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
|
Does anyone know of a utility that would scan my resource files, pick up the resource id's (like IDS_SOME_STRING) and then scan the .cpp files to see whether these ID's were actually used anywhere?
Ron Sanderson
Computer Associates
Senior Software Engineer
tel: +1 908 874-9772
fax: +1 908 874-9176
ron.sanderson@ca.com
|
|
|
|
|
|
I think in the VC++ Editor itself, you have this functionality in View->Resource Symbols, where u can find all the IDS which are not used by ur application and remove them.
Regards,
Mahadevan.
|
|
|
|
|
When can I set the SO_LINGER option on a socket? I’m using Windows XP Pro and Winsock.
Thanks in advance.
Ken
|
|
|
|
|
How can I efficiently display "Hello World" in a Windows App with each letter having it's own color, either random or in sequence.... thanks for your advice
SkunkedWorks
|
|
|
|
|
Windows App. You want to display text on DC.
look out Device Contexts Overview.
4apai
There're no impossible tasks. There're tasks that required infinite period of execution time.
|
|
|
|
|
I am looking to "clear" the transparent background rendering of my ActiveX control when the OnDraw(...) function is called.
Here is my OnDraw(...) function:
pdc->SetBkMode(TRANSPARENT);
pdc->FillRect(rcBounds, CBrush::FromHandle((HBRUSH)GetStockObject(HOLLOW_BRUSH)));
with the HOLLOW_BRUSH i get the transparent background. If i use Animations in the ActiveX Control
the background don't clear (redrawn).
Has anyone ideas?
thanks
bancavo
|
|
|
|
|
bancavo wrote:
pdc->FillRect(rcBounds, CBrush::FromHandle((HBRUSH)GetStockObject(HOLLOW_BRUSH)));
This call does nothing at all. You're filling a rectangle with a brush that has no colour. So no, the background won't get cleared or redrawn. You'll have to draw it some other way.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
thanks for your answer.
oh yes thats correct, sorry
I have an ActiveX with animated ellipses and rects etc.
I would like to merge my ActiveX in MS Powerpoint on a whole foil. Afterwards I would like to draw MS Powerpoint Items on it. Without a transparent background I cannot see the objects, because if the ActiveX get focus the the Items slips into the background.
It brings also nothing to change the order of the Items and the ActiveX in MS Powerpoint.
I need a transparent ActiveX Background, and that should be cleared if i call for example OnDraw()
I don't know how can i do this.
I would be very grateful for suggestions!
|
|
|
|
|
yaseeen wrote:
I need a transparent ActiveX Background, and that should be cleared if i call for example OnDraw()
I'm not sure if you can do this. By definition, a transparent background is not drawn.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
I would like to know if the first sign in a CString is a char or a number (e.g. ‘c’ or ‘3’)
Any tip how to find it easy…
_____________________________
...and justice for all
APe
|
|
|
|
|
try IsDigit() and IsAlpha()
[insert witty comment here]
bdiamond
|
|
|
|
|
where do you find that IsDigit?
Is it a member of CString? Can't find it...
_____________________________
...and justice for all
APe
|
|
|
|
|
|
While bdiamond most likely provided you with the answer, you might also want to know that the first character in a CString object is accessed via the [] operator, like:
CString str;
if ('c' == str[0])
...
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Hi, how can I use ACTIVEX control in a MFC dll if the main application is not MFC based ?
|
|
|
|
|
I want to registerenvironment vaiable for my project
|
|
|
|
|
<font style="color:blue;">int</font> main (<font style="color:blue;">int</font> argc, <font style="color:blue;">char</font>* argv[], <font style="color:blue;">char</font>* envp[]) {
<font style="color:green;">
}
where envp is a table with the names of the environment variables...
TOXCCT >>> GEII power
|
|
|
|