I will explain my problem sir, I have three buttons in the toolbar with associated bitmapgreen, Red, Blue. Now When I clicked the Red button, that button color has to changed to Yellow color. Give me example
error C2664: 'CDialog::CDialog(LPCTSTR,CWnd *)' : cannot convert parameter 1 from 'int' to 'LPCTSTR'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
But I cannot for the life of me figure out why it is not using the UINT version of the constructor.
even changing the code to be...
... gives the same error. Any ideas or suggestions?
Had a look couldn't find anything else with same name, but just to test, I changed it from pageIdto foo. newarly the same result, just now says it cannot convert from UINT to LPCTSTR (which is essentially the same problem)
I am looking for some help from a programmer to improve this software. This was developed around 1999. There were some older versions as well but this was the last version available as free ware.
I have a lot of interest in programming and many other technical things but how much you can do without learning any thing. So most of I know is self taught with litle help. I think its an open source as when I used PE Explorer. I was able to see about 12 different folders including MENU DIALOG STRING ACCELERATORS TOOLBAR and few other.
I want to make changes like:
1. To add colour pallet to software as it only has 4 basic colours to give to text or background and you have to generate other colours manually.
2. The spell check does not work and I get a message Unable to initialise dictionary file.
3. Change of skin.
4. It does show how many words are in a document but you have to check manually and a new box comes on screen. I want this to work as you are typing at the status bar.
There will few more things depends how much you can help.
SOME CODES I WAS ABLE TO SEE WITH PE Explorer to give you idea which language is this.
I dont understand what you're looking for - someone to do your code for you ? well, there's RentAcoder for that, else if you're offering a job/contract, there's a forum here for that - this isnt it....
Else if you have questions about sections of the code, you could post them in the appropriate forum (depending on how much you know it could be a long tedious route to get your software fixed) - it sounds like you really should consider a professional for a short engagement !
Thanks for your time and reply. Sound really hard to do it as from your reply. I have creadted an assembly file from this software by using PE Explorer. Will that be any helpful to make any change to this software even to change its skin are anything. Also its a text editor used for URDU Language similar to arabic and some word does not come in when you type while the other do. Althouh I have seen those words availbe in font glyph. Just to mention each glyph is a complete word. And there are about 80+ font files to cover all possible word in URDU. If you can guide how can those words will be availbe who are in the glyphs but does not show when type.
Once again thanks for your time and even a little help will be relly appriciated. I do value your time.
I have a quick question. (well, hopefully the answer is as quick as my question as I'm sure I'm doing something dumb.)
I have a direct sound application that runs just fine as a windows console app which makes sense because there is nothing else going on.
I'm working on a software synth and have gotten to the point where I grow weary of punching in values to a text file. It's a subtractor synth built from scratch. I now need to support knobs, sliders, etc.. to modify my sounds.
This is where things go downhill.
Waiting on notifications in my console app works just fine, but in the threaded app it waits forever. I know about MsgWaitForMultipleObjects but it just falls through and I dont' update my streaming buffers correctly.
I'm a complete noob at dialog based windows programming so if someone has some example code of waiting for directsound buffer notifications with dialog based apps I'll be very thankful.
If you want source code I don't mind providing it, I just figured if someone had a main loop that they could share with me it would trigger a spark in my mind.
I know about MsgWaitForMultipleObjects but it just falls through
But with what return code? That's what tells you if you a) have a message to process, or b) one of your handles has been signalled!
For something like audio, I'd have thought you'd want a dedicated thread handling the audio, communicating with the UI thread using PostMessage (audio thread -> UI thread) and events? (UI thread -> audio thread). But I could be completely wrong - I've never really looked at DirectSound
BTW - does this CP article help[^] any? It's got a dialog with sliders and it talks about DirectSound
I've been struggling with this for a week and a half. Time to ask for help. I have a VC++6.0 / MFC application which "hung-up" when the laptop it was running on suspended operation because of power management. The thing is, I really don't want to loose the data that was entered into the program but not saved. So, I have duplicated the problem on another laptop - all I get is a blank window frame where my program should be. I'm trying to use the Visual Studio debugger to "attach to process" and stop it (break). The call stack shows it's in NTDLL, but I can see my program's code space. How can I find out where my document's data is in memory? Ideally, I'd like to be able to dump it to disk, or even better serialize it. At the very least I'd like to inspect it as a class and manually view member data. Any ideas? Thanks!
With a running process, using Mdump from codeproject in the link above, I could use the "find" feature to locate user inputted ascii text in a running process. I've yet to try it in a hung-up process. There's no native dump to file in Mdump, but on its own is useful for locating where in memory text is.
As you know, within a pe file, there may be a few icons; but the Windows Explorer shows just one of them in order to show the file to the user. Can you tell me please which ICON within a pe file is shown by the Windows Explorer?
I'm using Visual Studio 2008 and seem to have a problem with the form designer. I'm new to MFC and want to create a project that allows me to use the form designer. I create a new MFC application form and all the code is created. When I build and run this project, there is a basic window with a few components. However, I can only seem to see the code for this application. Is it possible for my to open this in the form designer and manually edit the form in the editor rather than through code?
In VC2005 (and I guess it is similar with VC2008), you have to open the resource editor. On the left side, you have your solution explorer (which is listing all the files from your project). If you look carefully, you should see tabs at the bottom, click on the one called "Ressource View" (or Ctrl + shift + e). There you should be able to browse and edit your resources.