|
David Wulff wrote:
How would I go about achieving this? Is it possible to do while it is executing
I asked this question some days before,and I found out it is not possible.
I would be appreciate if you find the answer tell it to mee.
http://www.codeproject.com/script/comments/forums.asp?forumid=1647&select=151289&tid=151289#xx151289xx
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|
|
Well I had guessed as much, in which case I am going to have to stick with the second approach; just how to do it? I can think of two different approaches, but I don't think either is the correct way to do it.
I'll let you know if I find a solution.
____________________
David Wulff
Beyond the Staples Center you can see America,
With its tired, poor, avenging disgrace,
Peaceful, loving youth against the brutality,
Of plastic existence.
Pushing little children,
With their fully automatics,
They like to push the weak around.
- Deer Dance, S.O.A.D.
|
|
|
|
|
It seems that you have better chance than me,some guys tell you the answer
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|
|
I think it must be relative to the time of day.
____________________
David Wulff
Beyond the Staples Center you can see America,
With its tired, poor, avenging disgrace,
Peaceful, loving youth against the brutality,
Of plastic existence.
Pushing little children,
With their fully automatics,
They like to push the weak around.
- Deer Dance, S.O.A.D.
|
|
|
|
|
David Wulff wrote:
I think it must be relative to the time of day.
But I don't think so,If I don't make mistake I THINK one of person that answer me that time was Ravi,but not the same answer. He learn something during these days that he didn't know that day.
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|
|
David Wulff wrote:
Does any one know wha tthis is,
See the help on MoveFileEx() . The flag you want to use is MOVEFILE_DELAY_UNTIL_REBOOT .
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Thanks Ravi, that does the job perfectly.
____________________
David Wulff
Beyond the Staples Center you can see America,
With its tired, poor, avenging disgrace,
Peaceful, loving youth against the brutality,
Of plastic existence.
Pushing little children,
With their fully automatics,
They like to push the weak around.
- Deer Dance, S.O.A.D.
|
|
|
|
|
Check out the article at http://www.microsoft.com/msj/defaulttop.asp?page=/msj/archive/sf9c.htm for a good solution to this problem.
Dave Goodman
dgoodman@infoway.com
www.dkgoodman.com
"Actio sequitur esse."
|
|
|
|
|
Thanks Dave! That's a great link!
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
I can only repeat Ravi's words: thanks, that is a great link!
____________________
David Wulff
Beyond the Staples Center you can see America,
With its tired, poor, avenging disgrace,
Peaceful, loving youth against the brutality,
Of plastic existence.
Pushing little children,
With their fully automatics,
They like to push the weak around.
- Deer Dance, S.O.A.D.
|
|
|
|
|
Depends on the platform. Windows prevents you from deleting files that are running, in DOS though you could have made an application that deleted itself since it goes into RAM on runtime.
Anyway, you could probably edit Autoexec.bat, Win.ini or the registry to make sure it is deleted on the next reboot.
Isaac Sasson,
Lean, mean posting machine!
Sonork ID 100.13704
|
|
|
|
|
I've just started using CreateDIBSection with 8bit bitmaps. I have filled the BITMAPINFO.bmiColors member with my 256 colours, and I select the palette into the DC with SelectPalette, and it all works perfectly. But how do I change the colours in BITMAPINFO.bmiColors after I've called CreateDIBSection, because it seems to be these that the colour of my bitmap relies on - like repaletization - how is it possible?
Thanks for the advice...
With time we live, with money we spend!
Joel Holdsworth
|
|
|
|
|
Hello!
Here's another dumb newbie question for you:
Let's say I have class A that has class B as one of it's members. Is there a function so I can reach class A from class B? You know, as an object.parent or something like that.
thank you all!
marcela bovio
|
|
|
|
|
Nothing built into the language. You can store a pointer to the outer class as a member of the inner class when it is created however, and just use that.
--------
Sip my mind.
|
|
|
|
|
As far as I know you can't do it directly.
But instead of putting one class inside the other you could derive one from the other (inheritence, so it gets the same functions and vars as the first one and you can add more).
Then you set the as "friends" so you can approach one from the other.
Try it, or something like that. I don't remeber how it goes exactly.
Isaac Sasson,
Lean, mean posting machine!
Sonork ID 100.13704
|
|
|
|
|
I made my control using VC++ 6.0.
I want to make another to inherit this control.
what shall i do?
I know that my control is inherited from COleControl. And then It can works that I can make inherited ActiveX control from my custom control.
Isn't it right?
How can i do that?
Thank you!
please contact me via jav@korea.com
|
|
|
|
|
When you create your ActiveX it has a class that name YourActivexCtrl ,I TKINK you can inherit from that class.
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|
|
I thought you couldn't inherit from ActiveX controls like you do a C++ class?
AFAIK you only have 2 options:
1) Containment
2) Aggregation
Or something like that...i'm too lazy to look up ATL books and I rarely program ActiveX controls.
These options fall short of inheriting like MFC classes do.
Cheers!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Hockey wrote:
1) Containment
2) Aggregation
I don't think that guy uses ATL,He said his contol inherit from COleControl,I think he use MFC.
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|
|
Thank you for your kind adresses.
I have already done that... but that had many errors...
for example,
I made a MyControl.ocx using MFC(app wizard) which class is CMyControlCtrl.
And then I tried to make MyControl2.ocx inherited from CMycontrolCtrl.
But They had a lots of Errors.
Could you show me a sample.....?
Bye....
|
|
|
|
|
Deawoong Chun wrote:
Could you show me a sample.....?
Sorry,I never test it,and I don't have sample.
Deawoong Chun wrote:
But They had a lots of Errors.
What are those errors,maybe I could help you.
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|
|
I don't know right now but i will check that in detail.
Here My Method is followed.....
1. Create the MyControl.ocx using App Wizzard(not ATL)
2. I wanted to make another control inherited from MyControl.ocx. And I got base codes from App wizzard(Active X control).
3. I added the wrapper class(CMyControl.c, XXXX.h)from the registered MyControl to my project(MyControl2).
4. I changed the control class definition in MyControl2Ctrl.h like that....
class MyControl2Ctrl: COleControl....
-> class MyControl2Ctrl: CMyControl
and i compiled my code ...... but :< I had lots of errors.....
I don't think that Inheriting the control is simple as above....
I don't know how I can approach that....
Could you show me the instruction... please...?
bye
|
|
|
|
|
Hi,
I use a CListCtrl for displaying a list of sequences to do.
For example 10 Events.
If my ListCtrl is little I can't show the all events.
So, When I execute each Event, I want to show the Event played and the Next.
Best Regards
youssef
|
|
|
|
|
CListCtrl::EnsureVisible() should work for you.
--------
Sip my mind.
|
|
|
|
|
1. From what I have seen, decompiling .NET applications is possible, correct?
2. Has anyone tried to decompile 3rd party applications or controls?
3. Has MS specifically addressed the concern about reverse engineering .NET apps?
4. Is there a way to write .NET apps where they cannot be reverse engineered?
5. How effective are code obfuscators, really? Do they work as advertised?
I ask this as an ISV with a Win32-based software package we want to rewrite using .NET.
TIA
|
|
|
|