|
not a problem; thanks for your never-ending help anyway!
[A brave person isn't always necessarily a smart person]
bdiamond
|
|
|
|
|
I always like the real world tests. Head over to sourceforge.net (there are plenty of other places too, this one just happens to be popular), find a C project with some bugs, fix one, and see if your patch is accepted. Some projects will accept anything, but others are very picky, if you can find a picky one and get complex patches accepted then you know you are a good programer.
Tests generally are too short to see how programers will do in the real world.
If you really think you are good openbsd is about the hardest project to get things accepted to. www.openbsd.org. Beware, the people there are hard to work with on a personal level, in addition to being picky about the code they accept.
|
|
|
|
|
No, I'm probably not that good (for www.openbsd.org), but thanks! I will look into the SourceForge.Net thing, though. I've been there before, but I didn't know there were opportunities to make modifications to code like that and see if they would be accepted. Thanks again.
A brave person isn't always necessarily a smart person
bdiamond
|
|
|
|
|
i need to know how run my program in system boot
without using divices driver?
faroq from yemen thammar
working in thammar universty and my intersted about network and security
im programmer from 6 years ago and ihave my B.C from this universty
|
|
|
|
|
Add it to the Startup folder, or the Run key in the registry.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
My VC++ 6.0 SP 5 started misbehaving so I deleted it and reloaded the entire Visual Studio plus SP 6.
I am getting assertion (olelink) with what appears a goofy file path.
I have never debugged this part of MFC and have no clue what path should be there. However, I have installed Visual Studio many times before and never had this problem of missing OLE stuff.
I noticed that some DCOM stuff does not get installed due to different security requirements in WIN2000 SP4.
I am contemplating reistalling Win2000 back to SP 1 and than installing Visual studio again. ( Because MS fix for this security problem did not work for me few months before)
It worked before but would prefer less painfull and time consuming way to resolve this OLE problem if possible.
Any help is greatly appreciated.
Vaclav
|
|
|
|
|
Is there a way to authorize with WinInet in the same way as using the CredentialCache.DefaultCredentials in .Net?
Using WebClient and the DefaultCredentials is very nice in .Net, but I'd like to do the same thing in plain old C++ and Win32/WinInet.
Cheers
|
|
|
|
|
In my current undertaking project, i am developing a window dialog based application as player console to control a piece of hardware for tv reception. can anyone suggest me in VC++, how can i control volumn and make the player screen to full screen?
thx in advance
|
|
|
|
|
There are some good articles on this website about DirectX programming.
|
|
|
|
|
May anyone suggest me how to use Progress Bar Control to show
1) the pecentage, say, how 80 is weighted in the range from 60-100?
2) the completion of a function execution?
thx in advance...
|
|
|
|
|
jooo wrote:
1) the pecentage, say, how 80 is weighted in the range from 60-100?
Use:
m_ctrl.SetRange(60, 100);
m_ctrl.SetPos(80); Now the progress control will show 50%.
jooo wrote:
2) the completion of a function execution?
If you are executing just one function, the progress control will show either 0 or 100%. Not real useful in that situation. It would be useful if you had something to the effect of:
m_ctrl.SetRange(0, 100);
Foo1();
m_ctrl.SetPos(33);
Foo2();
m_ctrl.SetPos(66);
Foo3();
m_ctrl.SetPos(100);
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
yup, i got it, thx very much...
btw, i noticed that SetPos(int nPos), is there any alternative to accept double as parameter like SetPos(double nPos)?
|
|
|
|
|
jooo wrote:
...is there any alternative to accept double as parameter like SetPos(double nPos)?
No such method exists. What are you doing that requires one?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Hi All,
What are the routeable members of a class?
With Regards,
A.Ilamparithi.
|
|
|
|
|
Define "routable" in terms of C++.
Are you referring to the accessibility of the member from derived classes?
Kuphryn
|
|
|
|
|
Do you mean the TEXT name of the ID or the NUMERIC value?
Your project can automatically generate an HM file, and the help author can include that, but if you change the TEXTUAL value of the ID, then there is no autmatic checking, excpet to perhaps DIFF the two HM files and then the help author can know that the ID has changed.
Now, if the NUMERIC value of ID changes, that should not matter provided you generate the HM file and the help author uses it in the help instead of hard coding numeric values.
If this does not help, can you please be more specific about your exact problem?
|
|
|
|
|
I mean when the programmer makes a modification that changes an existing ID for a view or dialog box. For a very large project with so many elements, is there a way to track this?
Thanks for your comments.
|
|
|
|
|
Not that I am aware of.
Assuming that the 'standard' way of handling an MFC project is being followed:
I think the best you can do is to keep a Resource.H from the PREVIOUS build of project.
Then each time the project is edited, take the NEW Resource.H file and WinDiff it against the PREVIOUS Resource.H file.
If they are the same, then no changes have been made to the resources (which directly correlate with the help ID) - meaning the dialog and control ID have not changed.
|
|
|
|
|
OK - that's a good suggestion.
Thanks!
|
|
|
|
|
Is there any sample code somewhere showing how to make two listboxes (or ctrls) with two buttons in between --- one to transfer items from left box to right, and one to transfer from right box to left (we see it in windows all the time). I didnt see any thing in the articles. I didnt quite know what I would google on to find a class that does this that someone might have created.
Thanks,
sb
|
|
|
|
|
There is an example on this site
Include/Exclude List Boxes[^]
Enjoy!
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)
|
|
|
|
|
|
Hello,
Is there any way MFC programmers can automatically track when they make a change in a program that effects the ID used to call Windows Help so they can let the technical writer know when they need to change mapping in the Help project?
There's got to be an easy way to do this...
Thanks,
Ellen-
|
|
|
|
|
Hi all,
I'm trying a little bit with the malloc() and free() functions. Unfourtunatly, if alloc 256MB the malloc-function needs 10 Seconds to get the memory. That's not nice but what I'm really suprised at is that free-function needs 278 Seconds to drop the memory.
----------------------------------------------------
bufferSize = 256*1024*1024;
if((buffer = (char *) malloc(bufferSize)) == NULL)
{
cout << "Could not allocate enough memory." << endl;
exit -1;
}
p_BufferRoot = buffer;
// ... put stuff in memory ...
free(buffer);
----------------------------------------------------
Can anyone explain what happens to me free-function?!
THX
triathlet394
|
|
|
|
|
Allocating memory can be an expensive operation, especially if memory is fragmented. On low-memory machines, asking for 256MB of contigious RAM might involve a lot of paging. Freeing memory instructs the memory manager to access pages previously put on disk. That might be where the latency comes from.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|