|
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++
|
|
|
|
|
As always, asking the question helps me find the answer. It's all working great now.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
OK, you piqued my interest. How did you get it to work? Inquiring minds want to know (well I want to know anyway).
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
G'day, PJ
OK, in the first instance, the samples I found just passed back a transparent brush and set transparent mode in WM_CTLCOLOR ( as you also suggested ), and then called an Invalidate on the area in the parent when the mouse was clicked, or text is updated ( EN_UPDATE, from memory ). This worked in the samples, but not for me. I initially draw my background in WM_PAINT, but moved it to WM_ERASEBKGND, and the overall effect was great, excepting that if I used the arrows, or tried to select, no text was ever erased, it just went over itself.
So, I changed the code to use WM_PAINT again ( I tried going back and it doesn't work ), and I basically just draw my background, then draw the text over the top. I also need to figure out the selected area, and redraw that with a solid background, and now it all looks great.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi,
I am doing a project in win32. When I start the app, I want to find out the details of all the monitors that are connected to the system. ie. the windows monitor number, if it a usb or serial monitor, etc...
I am doing the following...
<br />
hDevInfo = SetupDiGetClassDevs(NULL,<br />
REGSTR_VAL_DISPLAY,
0,<br />
DIGCF_PRESENT | DIGCF_ALLCLASSES );<br />
<br />
DeviceInfoData.cbSize = sizeof(SP_DEVINFO_DATA);<br />
for (i=0;SetupDiEnumDeviceInfo(hDevInfo,i,<br />
&DeviceInfoData);i++)<br />
{<br />
DWORD DataT = REG_SZ;<br />
LPTSTR buffer = NULL;<br />
DWORD buffersize = 0;<br />
while (!SetupDiGetDeviceRegistryProperty(<br />
hDevInfo,<br />
&DeviceInfoData,<br />
SPDRP_LOCATION_INFORMATION ,
&DataT,<br />
(PBYTE)buffer,<br />
buffersize,<br />
&buffersize))<br />
.........<br />
but how can I find out the windows monitor number, and some other details like serial/usb of model number etc...
|
|
|
|
|
Hallo
newbee confused
Ok i have a class car.h and a class carpark.h looking like this:
<br />
#include "car.h"
<br />
class carpark <br />
{<br />
public:<br />
carpark(int size);<br />
~carpark();<br />
<br />
void insert(car *p1);<br />
<br />
class Iterator;<br />
friend class Iterator;<br />
<br />
private:<br />
car** array;<br />
};<br />
<br />
class carpark::Iterator<br />
{<br />
public:<br />
Iterator(carpark &cp);<br />
~Iterator();<br />
<br />
void reset();<br />
void next();<br />
car* get();<br />
carpark &c;<br />
<br />
};<br />
Now how to implement Iterator ???
<br />
carpark::Iterator::Iterator(carpark &cp)<br />
{<br />
c = cp;<br />
}<br />
this throws some error i dont understand
"'c' : must be initialized in constructor base/member initializer list"
and while using the defaultconstructor
i can't access the functions from Iterator
<br />
int main()<br />
{<br />
...<br />
carpark::Iterator it();<br />
it.reset();
...<br />
}<br />
What to do - or where to read about something like this
Please Help
THX alot
|
|
|
|
|
Hello,
A constructor initializers list is a special place for initializing member variables of a class. The following example solves your problem:
class carpark::Iterator(carpark& cp)
: c(cp)
{
}
I assume that you know how to implement the iterator, but here's one little tip for the road: your next() function should return a bool . This makes it more easy to iterate through your carpark:
carpark cp;
carpark::Iterator iter(cp);
if( )
{
while( iter.next() )
{
}
}
Hope this helps
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
THX
Thats it...
Well knowing how to use the iterator ..
no ...
but i'll learn it now ..
Hope so
THX
|
|
|
|
|
tbrake wrote: THX
Thats it...
You're welcome!
tbrake wrote: Well knowing how to use the iterator ..
no ...
but i'll learn it now ..
Feel free to ask when you get stuck!
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Actually I hooked it with the purpose of hiding a file. But as far as I could see the explorer makes a lot of calls for FindNextFile and it eventually crashes.
How can I hide the file though or how can I fix this pb.
I get the same pb when I hook CreateFile the explorer craseh immediatelly.
gabby
|
|
|
|
|
|
Have you ever heard of privacy ?
what if I want a folder to be private?
and what is with the atitude dude ?
I posted a question .
If u know the answer and u are willing to help answer me otherwise I don't need your stupid replies
gabby
|
|
|
|
|
euacela wrote: what if I want a folder to be private?
Windows has user-level permissions built in.
euacela wrote: otherwise I don't need your stupid replies
on no
of course you don't have to tell us the name of your app. but i thought it might be nice if you could warn us so that we could know in advance which programs are out to subvert our filesystems.
Cleek | Image Toolkits | Thumbnail maker
|
|
|
|