|
This is not really what I need. I know there are some programs wich can be evaluated lets say 30 days without buying a licence. I need to impelement something similar.
Any suggestions?
|
|
|
|
|
When your program is installed, write a value, with a very obscure name, to the registry that represents the date of installation or the date it will stop working, in a not-so-obvious format. Each time the program is started, check this value. Once the 30 days has elapsed, remove the value from the registry. Most folks don't try and figure out why/how the evaluation period has ended until after the fact. That's why, instead of keeping the value in the registry, it is removed altogther. This method works fairly well. Of course, a very determined person could thwart this. Good luck.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
I made push-like box like button, and wanna to set colour for both caption and background frame. as we know, for button, we can choose its owner draw property, and then make whatever change as long as we implement its corresponding functions.
but for push-like box, it dun have such owner draw property, and then how can i do?
thx
|
|
|
|
|
a checkbox is inherited from CButton... (MFC)
TOXCCT >>> GEII power
|
|
|
|
|
Just wanted to say hello to everyone. I am new to the boards and have learned a lot from just reading them.
Killer coding ninja monkeys do exsist !
There is no spoon? How the frell do I eat my frosted mini-wheats
|
|
|
|
|
Welcome here.
We always try to help each other. I hope you will benefited after joining codeproject. We wish you a happy welcome.
|
|
|
|
|
ola...
Is there any way to create a simple client/server program in a 16 bit (dos)
project?
I can only use this kind of mode (dos 16 bit) because the microchip i am trying to control remotely connected to the server only supports borland 5.02 DOS 16 BIT projects.
thank you for helping and any suggestions are heart-warmingly welcome!
porac69
|
|
|
|
|
The one way is to implement TCP/IP protocol (in kernel level)
|
|
|
|
|
Hi together,
i have got a SDI porject with some Dialogs inside. One main Dialog, should set some global Flags so that other Dialogs can read it.
I have tryed at first the way i would do it in a C++.
<br />
Class{ privat: <br />
static int m_Flag <br />
Plublic: get....<br />
set..
but this can not work inside the Cpp. ?? Ok so i tryed in a direction of extern int m_Flag; i found some examples in the net. But not woring with me.
So next try is usage of Messags. But i never usesd them before so most attractive for me seems to be the Extern definition??
But maybe i am too and this the reason why its not working.
Can somebody pleaseee give me tip or an example
|
|
|
|
|
you could pass a pointer to the main class to each dialog.
in the main class, either make the variable public ( bad idea ) or have Get/Set methods for each of the values ( better idea ).
and don't forget to #include the main class header in each dialog.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Hello Everybody
I Designed a Mp3 player Using MCI functions
I wanted to add a Peakmeter to it ,but I was not able to get a snapshot of the audio stream playing right now! (I thought to my self that I must do such a work-taking a snapshot).
If any one has any idea or knowledge, Please help me!
ps. excuse me if my english is not good.
Iman Ghasrfakhri
|
|
|
|
|
Hi dudes,
I would like to know what is function for checking the given input is Integer or float or char or keys like backspace, space enter.
Thanks in Advance.
If you have faith in the cause and
the means and in God, the hot
Sun will be cool for you.
|
|
|
|
|
DELIVER THE PROMISE wrote:
input is Integer or float or char or keys like backspace
And how do you want check float by one symbol ?
|
|
|
|
|
I'm not sure exactly what you are asking, so I'll hypothesize and suggest functions like isdigit() , isalpha() and iswhite() . If I'm way off the mark, please rephrase what it is you are trying to do.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
How would I go about retrieving the default dialog background color?
|
|
|
|
|
Use GetPixel(...) function to get RGB value of Dialog box
If you have faith in the cause and
the means and in God, the hot
Sun will be cool for you.
|
|
|
|
|
See GetSysColor() . On non-XP and non-themed XP systems I think you can use COLOR_3DFACE .
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Exactly what i needed. Thanks =]
|
|
|
|
|
Hi
Could anyone please point to me a good tutorial and source code for C++ implementation for adaptive arithmetic encoding.
I have gone through Nelsons tutorial and few others. The implementation is bit difficult for me to understand.
Thanks in advance
The Best Relligion is Science.
Once you understand it, you will know God.
|
|
|
|
|
what is arithmetic encoding...?
TOXCCT >>> GEII power
|
|
|
|
|
Hi
Thanks for your interest.
You could go through this link to get a good start.
http://dogma.net/markn/articles/arith/part1.htm
Regards
The Best Relligion is Science.
Once you understand it, you will know God.
|
|
|
|
|
Does anyone know where to find the solution to the exercise presented in the book, besides the companion book C++ Solutions.
Thanks
Coward
|
|
|
|
|
Hi,
here it is,
http://www.research.att.com/~bs/3rd.html[^]
you can always post your solutions here,
for comments.
// Lord Byte has started to code
void swap(char **p, char **q)
{
char *tmp;
tmp = *p;
*p = *q;
*q = tmp;
}
|
|
|
|
|
I'm trying to use CBitmap to manipulate a bitmap, but there's no easy way for me to extract a color from a bitmap (like GetPixel(x, y) in CWnd-derived classes). Is there something I'm missing? Suggestions are well appreciated. Alternatively, is there a way to fill a bitmap with one color like FillRect() does with DCs?
thanks,
augy
|
|
|
|
|
Hey,
Try this.
CDC *pDC = this->GetDC();
CDC mDC;
mDC.CreateCompatibleDC(pDC);
mDC.LoadBitmap(IDB_BITMAP1);
Now you can used GetPixel() to extract color of bitmap.
mDC.GetPixel(...);
this->ReleaseDC(pDC);
Hope this will work.
If you have faith in the cause and
the means and in God, the hot
Sun will be cool for you.
|
|
|
|