|
|
amitmistry_petlad wrote: i am talking about step - 7 in the following link.
Right. The problem is you haven't done step 3.
You did step 3 on a different writer object in a different function. In your create key
function you create a nee writer but you never set its profile before trying to create a key.
Won't work
|
|
|
|
|
i had change it on my machine according your guidline but wont work.
thats why i asked you about the key generation source.
ok thanks
|
|
|
|
|
Hello there
Until today, I have been using VS 2003 / VC ++ without any problems for several years
Installed VS 2005 on my WinXP-SP2 machine (left all the default folders as suggested), then applied SP1 of VS 2005 without any problems… Then, converted my project to the new IDE using the wizard – no errors or any messages, seemed all OK:
BUT
1) Decided first to build an ANSI RELEASE version, all seemed OK except the application looks wrong, the tree control fails to create, the dialog background colouring is NOT there, all the buttons on my dialog do NOT process any messages, so to quit the screen I had to use ALT + F4, nothing else would work.
2) Attempting to build and debug an ANSI DEBUG version of my program, it seems the IDE can’t locate the VC DEBUG DLL’s and I had to copy those into my application folder… Strange – I thought the IDE should “Know” where these are located…
mfc80d.dll
mfcm80d.dll
msvcm80d.dll
msvcp80d.dll
msvcr80d.dll
3) Attempting to build a UNICODE DEBUG of my program, I get this error
LINK : fatal error LNK1181: cannot open input file 'lsvc8u.lib'
Searching for the file on my PC returns ZERO results, there is no such file on my machine, I did performed a complete install of VS 2005, and am not expecting anything to be missing…
4) On exiting my application, I get a crash with the message f:\sp\vctools...", I have no idea where is the “f:” drive designation coming from since I don’t have such a drive mapping on my PC
Looking at the Call stack, I get a “Strange” list – which I am sure my Application DOES NOT execute, so I figure somwhere there must be a corruption of sorts for this to come up. Looking at the bottom of the list, Ther is a call to a function MKGetFaxDateandTime() which I am sure it is NOT called anywhere.
Anyone has such experince???
Cheers
Alex
|
|
|
|
|
Hi there,
I have a dialog application. i want to display some text in a box(maybe an edit box but with multiple lines).It is sumthing like the diagram below except replace the dash line with continues one(i looks like a normal rectangle. The background will be in black n the text is green. And this is just for displaying(no editing is required) But how can i do this?
_______
|input1|
| |
|input2|
| |
|input3|
|______ |
|
|
|
|
|
cyn8 wrote: And this is just for displaying(no editing is required) But how can i do this?
If no editing is required, then simply use static text and color them as you like. Search CP. There are heaps of articles on this. AFAIK you cannot change the white color of an edit control to any other color!
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
brahmma wrote: AFAIK you cannot change the white color of an edit control to any other color!
Sure you can... http://www.codeproject.com/editctrl/enhfocusedit.asp[^] .
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
You have subclassed the edit control, handled your message of interest, created a solid brush and painted your color there! Can you do it without subclassing an edit control? With a plain CEdit control?
PS: The requirement of the person who started this thread was to simply display colored text. I would not even think of subclassing an edit control for this purpose.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
You do not have to subclass the CEdit control, but you do have to handle its messages in order to paint the colors yourself. You can do that by handling the messages in the parent window.
The control I wrote uses its own class so that users do not have to keep writing the same handling code over and over.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
I think you can change color
|
|
|
|
|
Please see this[^]
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
I know with subclassed but you said
"you cannot change the white color of an edit control"
|
|
|
|
|
It was completely in context with the question that was asked. It is silly to subclass an edit control and handle events and paint, just to display some colored text with background. And of course you will need to subclass to do such stuff. As you subclass it, it is no more the normal edit control. In that article I could see that certain events are not handled properly. For an instance, you cannot paste in the second edit control of that dialogbox. These are all the pitfalls of subclassing, about which we need to be extra careful.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
hey everyone,
Thanks far all the reply. I've manage to do it by using the static text and from reading the articles from this website for examples.
Thanks
|
|
|
|
|
i think this site will help you alot www.flounder.com, download option will be there and click the option there win32progming will be appeared, download the al;l the code to your pc.
Chinna
|
|
|
|
|
this site will help you alot in win32 programing
http://www.flounder.com/download.htm#Complete%20Win32%20CD%20Contents
click Complete Win32 CD Contents
Chinna
|
|
|
|
|
launcher.obj : error LNK2001: unresolved external symbol "public: __thiscall tLgInteger<class std::vector<unsigned long,class std::allocator<unsigned long> >,unsigned __int64>::tLgInteger<class std::vector<unsigned long,class std::allocator<unsigned long> >,unsigned __int64>(unsigned long)" (??0?$tLgInteger@V?$vector@KV?$allocator@K@std@@@std@@_K@@QAE@K@Z)
hint_54
|
|
|
|
|
hint_54 wrote: launcher.obj : error LNK2001: unresolved external symbol "public: __thiscall tLgInteger<class std::vector<unsigned="" long,class="" std::allocator<unsigned="" long=""> >,unsigned __int64>::tLgInteger<class std::vector<unsigned="" long,class="" std::allocator<unsigned="" long=""> >,unsigned __int64>(unsigned long)" (??0?$tLgInteger@V?$vector@KV?$allocator@K@std@@@std@@_K@@QAE@K@Z)
huuuu
where is the question ?
|
|
|
|
|
No question just found that funny
hint_54
|
|
|
|
|
i may be missing something there, but, what's funny in this ?
|
|
|
|
|
This was the line that produced that error
tLgInteger<tVector, tOC>::tLgInteger( tElement nValue )
So it's just like CPallini said: "No more alcohol to the linker!"
hint_54
|
|
|
|
|
Yes, but tLgInteger is a template as is tVector . All these template parameters have to be encoded into the typename. Ignoring the long typename (it is of no consequence anyway) the error is simple: the constructor is declared but not defined.
Steve
|
|
|
|
|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Interesting
Btw.. My 1 too.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|