|
hi,
i need to convert a gray scale bitmap to raw image. i can read the bitmap file and can access its image data. now i need help how to write a raw image file thats of extension ".raw". Does any one have a code for this conversion.
Regards
Alexen
|
|
|
|
|
Maybe this[^] might solve your problem.
<bold>- Nilesh
<italics>"Reading made Don Quixote a gentleman. Believing what he read made him mad" -George Bernard Shaw
|
|
|
|
|
Can i create my own class objects to provide the scipting facility
using the vbscript parsing engine procided with microsoft...please
mention some web sites for me to start from scratch..
DG
|
|
|
|
|
i have uploaled my exe on the web server of our private net. now i want that whenever someone tries to download my exe, a pop-up box should come up which will ask for the license key. once the licence key is validated, only then the download should start. how do i implement it?
Secondly since the exe will be hosted on intranet, so whenever someone tries to download my exe, i need to know the IP address of the system which is trying to download it, check whether its a valid internal address and only then ask for licence input. how do i implement it?
|
|
|
|
|
Probably not the most helpful answer, but you'll have better luck asking on the Web Development forum,
is this much more their forte.
Iain.
|
|
|
|
|
Is there any easy way to get the total number of days in a month?
My method, which seems really primitive, is to increment from 26
to 33 until
if (date.GetMonth() == -1)
break;
at which time, I know I went too far by one. TotalDays is i - 1.
Is there any other way to do this?
Please, any response any one can give me will be greatly appreciated.
Sincerely,
Danielle Brina (an overworked graduate student)
|
|
|
|
|
You can also set your COleDateTime object to the first day of the next month, substract one day, then get the current date. It's perhaps not a less primitive way, but at least you avoid the loop.
Btw, what kind of alien calendar are you using? Do you really expect to find some month with 32 or 27 days?
|
|
|
|
|
A simple switch/if else statement can be used for 11 of the months.
For Feb, check for a leap year...
bool bIsLeapYear = ((((nYear % 4) == 0) && ((nYear % 100) != 0)) ||
((nYear % 400) == 0));
and if true, add 1.
Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
|
|
|
|
|
does any one have implementation of gabor filters for fingerprint image enhancement in c++
gobar
|
|
|
|
|
They don't look that hard, but I found some code in seconds, [^] by using google.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Or maybe you can try here[^] as well
<bold>- Nilesh
<italics>"Reading made Don Quixote a gentleman. Believing what he read made him mad" -George Bernard Shaw
|
|
|
|
|
ok can you please give me te link of the code coc i searched a lot and all what i found is a matlab code
gobar
|
|
|
|
|
i have two questions infact.
basically i am calling from C# to c++. i am passing the window handle as int32 to c++ code. But GetWindowDC() requires window handle. how do i convert the int32 to window handle??
Second one is how can i get the window size in c++ given an handle?
|
|
|
|
|
veligeti wrote:
GetWindowDC() requires window handle. how do i convert the int32 to window handle??
It is the handle, just cast it to HWND.
veligeti wrote:
Second one is how can i get the window size in c++ given an handle?
GetWindowRect
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi everybody.
When i get the list of processes ids, with the EnumProcess function, how i can get the window asociated with a process? For example, if i have the process id 08937 i want to call a function GetWindow(08937) and it gives me a handle to the asociated window (HWND)
|
|
|
|
|
Processes may not have created windows, and processes may create many windows.
You can loop through all the top level windows using EnumChildWindows() with the desktop window as the parent: GetDesktopWindow().
And use this function:
DWORD GetWindowThreadProcessId(HWND hWnd,LPDWORD lpdwProcessId);
Then compare lpdwProcessId with the list of ProcessIds from EnumProcesses.
If it is in the list, then the HWND from the EnumChildWindows proc is what you need.
Maybe someone else knows of a better approach, maybe one simple api function
to do all this!
this is this.
|
|
|
|
|
Hi ,
I want to compare the text of two html pages and then highlight the changed text.Do you have any idea on how to do this
|
|
|
|
|
Please don't post in multiple forums. If you wanted to choose one, the web development one would have been the logical choice ( I don't think you even hit that one, did you ? )
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
My_Fun()
{
...
pFtpConn = mysession.GetFtpConnection( my_ftpserver, my_user, my_pass );
CFtpFileFind finder(pFtpConn);
BOOL bWorking = finder.FindFile("/My Projectinfo.inf" );
...
}
The Codes can not found file "My Projectinfo.inf", Why?
Are there some way to acces file has filname have space?
Thank!!!
|
|
|
|
|
Try removing space in the filename
[edit] Sorry, I didnt read your question in full the first time. I could not find a way to do it with a space and IMO, a filename with a space is not allowed on FTP Servers (not sure though) [/edit]
Einstein: "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."
My Articles
|
|
|
|
|
I am using VC++ version 6.0 Although I can ADD files to a project build database using the menu item "Project\Add to project\Files", I'm darned if I can see how to REMOVE files (from the build database) that I have inadvertantly added (or superceeded, etc). I can obviously remove the files from the project directory easily enough, but I will then get build errors. What am I missing here ?
Doug
|
|
|
|
|
You can remove the file from the project pressing the delete key when you select the item. The other thing that you can do is press the right mouse button one the file you want to exclude and select the settings menu. In the tab general, you see the option 'Exclude file from build.' Select that and...
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Hi Bob, Many thanks for your prompt response !! Magic ! (Another mystery solved !)
Doug
|
|
|
|
|
Glad that I could help you!
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Hi,
today i saw a really nice feature. When Install Anywhere crashes (which it does really often; i think it can't handle the 64-Bit) it shows it own error report dialog. Not that stupid common Microsoft Dialog. Know i asked myself how they did it . Any one knows this ?
MFG
RedDragon2kx
|
|
|
|