|
|
thanks 4 ur rply,
bt i want to change the forecolor of one or two items(detail view) not the entire items.
item priority
-------------------
item1 low
item2 high
item3 normal
item4 high
item5 low
i want to set forecolor of item2 nd item4 to red which has high priority.
-- modified at 5:12 Saturday 21st July, 2007
|
|
|
|
|
|
If you derived CListView and use of cusom message you can do it.
|
|
|
|
|
Hi peeps, i'm hoping i'm in the right place to find the help i need.
In a nutshell, i'm trying to find & fix a bug in the PS2 game "Madden NFL 07". The problem has to do with merging the results of spawned games played online back to a franchise file. I'm always receiving a "merge error" message somewhere between weeks 2 and 4. When I contactd EA's Tech Support, they told me the following:
"Thanks for writing us at EA Technical Support. I understand that you are currently having issues with merging spawned game results in Madden NFL 2007. I apologize for your situation, and the inconvenience that this causes you. Unfortunately, there is a maximum amount of minutes that you can spawn in a season. If you play more than 720 minutes worth of spawn games in a single season you will get an error when you attempt to import the game. The only thing to do would be to set the quarter length of the franchise games shorter so that you can play more spawn games."
what i want to do is change that value to 7,200 minutes but i'm not a programmer or anything like that. I am able to get the file from my PlayStation to my PC with a flash drive so i have the file. I donwloaded a Hex Editor but it looks all greek to me. Any ideas what I can do/use to accomplish this?
|
|
|
|
|
I'm sorry, you're living in a dream world. You don't have the source code, which means you're looking at code that the majority of people who ARE programmers could not make sense of. The odds of you achieving this are zero.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Well, 720 is 2D0 hex, or in code the byte order will probably be reversed: 00 2D. If you have a dissassembler then you could just search for a JE 2D0, ( or whatever the instruction for 'jump if equal' or 'jump if greater' is - just look for 2D0 as an operand somewhere) and change 720 to whatever you want and try it and see what happens. You might get lucky.
Presumably someone could do better than this, but no one bothered.
Don't know what Christian Graus, the "Microsoft MVP" was talking about. A microsoft binary will be loaded with tons of symbolic info, basically all the SDK calls the program is making, which you can redirect wherever you want.
----------------
Basically, its a matter of downloading a dissasembler for the processor. Then, understanding the assembly instructions. It may be that a buffer has to be reallocated to a larger size as well. I'm sure you couldn't just change a value from 720 to 7200000 and expect memory to be there for it to write to. But 720 to 1000, maybe. This is all off the top of my head.
-- modified at 8:23 Saturday 21st July, 2007
|
|
|
|
|
Ah ok... i think i understand what you're saying. Yea no idea what Chris meant cuz there is a group that will do a "reset to zero" (as they call it) at simsportsnet.com but they charge like $20 a pop and the reset they do needs to be done 4 or 5 times throughout a season in the game.
Very cool though, I'll follow up on what you recommended and keep you up to date on how i do.
Thank you very much!
|
|
|
|
|
Hi,
I am wondering how one can combine two source codes together to make them work togehter.
Here is my scenario, I have written a program that takes in data from Serial port and stores it into a variable, a second program that compares the data with MySQL database and outputs matching fields.
Right now they run separately, how do I make them work together?
Thanks in Advance
|
|
|
|
|
Copy the code from the smaller project into the larger one, and work out how to get your entry point to execute both.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hire a programmer to do it for you.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
hi,
i have a MFC Explorer style application with doc/view architecture....
is it possible to delete (free or release) current left and right views
and recreate them at a particular instant (e.g. when a button is clicked.)?
|
|
|
|
|
Lets imagine that you can.... why would you want to?
|
|
|
|
|
To increase usability. I once had an MFC app that ran on an 80 MHz CE 2.11 device. It had about 30 CView -based classes and would take an unreasonable number of seconds to launch. So instead of creating all of the views at initialization, I created and destroyed views as the user navigated through the program.
|
|
|
|
|
Great answer but from the wrong person. I guess you didn't think I knew the answer to the question, but I did as I have done the same thing some years ago. I wanted to be sure he needed it before I went to the trouble of digging up any help for the issue. Also I try not to help people produce the wrong solution for the problem they are solving.
|
|
|
|
|
So the OP needs to pass your test before you'll offer any help? That's the spirit.
|
|
|
|
|
Michael Chapman wrote: So the OP needs to pass your test before you'll offer any help? That's the spirit.
Many of them don't pass the test.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Michael Chapman wrote: needs to pass your test
led mike wrote: Also I try not to help people produce the wrong solution for the problem they are solving.
Thanks for ignoring that part
Michael Chapman wrote: That's the spirit.
I guess you are after a flame war eh?
|
|
|
|
|
You, sir, are a beautiful person and your holistic approach to righting the world's ills should be celebrated. All apologies.
|
|
|
|
|
Michael Chapman wrote: You, sir, are a beautiful person
You're not bad yourself
Michael Chapman wrote: your holistic approach
Sorry, I can't take any credit for my technical views, they are all from others that have come before me.
|
|
|
|
|
ok,
i'm actually i'm working on a Windows Explorer like application.
The web browser control is used in right pane. Which emulates the list view
exactly similar to that in Windows Explorer. But, when some drive/folder selected
in it, that folder is actually marked as 'in use' by Windows (i.e. some file handles
must be kept open by Windows). Even SetCurrentDirectory() doesn't works. Now, I think
that whenever a new drive is to be shown, i can destroy the old view and recreate new
one...
|
|
|
|
|
That doesn't sound like a good situation for programmatically destroying and recreating views. I've used the technique to improve application responsiveness and decrease the memory footprint.
|
|
|
|
|
I guess I don't understand what you're asking for. When the user selects a folder in the left pane, files (and sub-folders) show up in the right pane. Simply doing a FileFind on *.* to populate the right pane should be sufficient, and whether those files/folders are "in use by windows" is irrelevant.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
No, actually, instead of FindFile(), i let WebBrowser navigate to the desired location (e.g. C:\). This shows the exact ListView similar to what we see in Windows Explorer. I even get bonus items like Task Lists, Contextual Menus etc.
But it can be using notification functions to know about changes in that folder and also displays 'Details', such as preview of images etc., and for that opening files in necessary... i think.
|
|
|
|
|
It's definitely possible. If you provide your email address, I'll send you some VC6 code I have.
|
|
|
|