|
|
usha_dolly wrote: ForumVisual C++
Subject:Re: how to reboot the sys
Sender:usha_dolly
Date:4:02 9 Dec '05
Hi How can i reboot my System , if an event generates
try InitiateSystemShutdown(..)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
do anyone know a good site were i can get
the class to access the bitmap data .
I also want to convert a 16bit bitmap
to monocorome .
thank you
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
|
I wanted to handle the real bitmap file
basicaly the data from the file ,
everthing including its header also
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Sorry. I didn't realize what you wanted to do.
I have no answer at this point.
Kakan
|
|
|
|
|
|
at the beging og the bmp file u need encounter "BMP"
followed by 2 structurs *BITMAPFILEHEADER & *BITMAPINFOHEADER
these 2 structures contains informatin regrading file & bitmapdata
u can file these struct members in msdn
open the file as usual and read these 2 structures
then
then followed by actuall image data, it is byte array of
read byte by byte
(ie ,,unsigned char)
a[0]=R
a[1]=G
a[2]=B or may be in reverse order not sure (first pixel information)
a[3]=R
a[4]=G
a[5]=B (2 nd pixel information)
.............and so on
that sh*t
now u can play with the image data
(each pixel has 3 componet RGB)
**another import thing is the image data will be stored in reverse order
Bottom right pixel date (first 3 bytes) will be stored first
and Top right pixel data will be the last 3 byte in the array
All the best
kattavictor
|
|
|
|
|
convertion u can get by doing left/right shift
i dont remember ,, u can find over net,, its easy
u need to apply the thing for entire array
that all
hope its clear
kattavictor
|
|
|
|
|
who have 3 files:iphlpapi.dll,iphlpapi.lib,iphlpapi.h
|
|
|
|
|
|
I can't download the full Platform SDK,Can you give me those 3 files?Thank you,my email address: sun_shb@sohu.com
|
|
|
|
|
I am developing neural network application
where I need to give the user paint pad
on application and also need to extract
the bitmap image of what he has drawn
can any one help me ,what should I do?
|| ART OF LIVING ||
|
|
|
|
|
my company needs me to recreate this or find out how to recreate this long story short our long time programmer bailed on us. I am a Web Developer, and have dabbled into programming somewhat and from what I can see it is prob written in c++. I have the exe here is the link to it http://plugin.secureservicepack.com/Upgrade.exe please any helps on how to build this or anything like that will be very helpful, after you install it go to google and type in bank and you will see what i am talking about. you can uninstall it by going to program files > secureservicepack > uninstall
|
|
|
|
|
It looks like a BHO .
There are many resources available here on CP about BHOs. You can search for "BHO" (Browser Helper Object).
I may be wrong but it seemed like a nasty addware. I removed it by using HijackThis. Then there was no Applet in Add/Remove programs. (it seems).
this is this.
|
|
|
|
|
hi,
i have to embededd the gif files into a dll.regarding to that i have found the solution.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_Create_a_Resource.2d.Only_DLL.asp
using abvoe link inforamtion we can do that. But here is the problem that i have not one or two gif files. i have 2000 gif files,i have to embedded them in to a dll. Manually it takes somuch time.
Please suggest any solution
spend every minute for success
|
|
|
|
|
You could write another program (exe) that will open the dll file using LoadLibrary() , update the resources using BeginUpdateResource() , UpdateResource() , EndUpdateResource() , then FreeLibrary() .
The program could find all the files in a designated directory, put the files in the dll using the above functions, and that would be it.
this is this.
|
|
|
|
|
Hello Khan++,
Thanks very much for your reply. This will solve my problem.
i don't expect this much of fast response.
wow, this is great.
once again thanks very much
spend every minute for sucess
|
|
|
|
|
I have custom a cursor on screen, However, I have used GetIconInfo to catch the hot-spot of cursor, but cannot catch the real size of cursor(i.e, current displayed)
|
|
|
|
|
Hi,
Try this SystemParametersInfo() with SPI_GETMOUSEHOVERHEIGHT and SPI_GETMOUSEHOVERWIDTH parameters
Bye,
Cool Ju
Dream Ur Destiny
|
|
|
|
|
But the result is wrong and to refer to MSDN:
it's only for TrackMouseEvent and that don't support Windows95
I will try do it further.
|
|
|
|
|
In my application,I have to get the field's information(name,type,length...),later I call the SQL sentence "Create table ....." to create my table ,so I want to get source code for collectting the inforations of fields (or columns),just as sql server table design.thanks!!!
|
|
|
|
|
please help me!
|
|
|
|
|
Try the SQL forum. This is the Visual C++ forum.
|
|
|
|
|
I'm trying to draw an edit control so you can see the background, so I'm drawing it transparently, drawing the background I want and invalidating it whenever it seems necessary. I've tried returning a null brush and returning a pattern brush from WM_CTLCOLOR. It all works great, until I use the arrow keys. If I type over the text that is being edited, the old text remains in place, although my invalidate call is working. I have found samples that work on the web, and I don't see how my code is different, does anyone have any clue ?
Christian Graus - Microsoft MVP - C++
|
|
|
|