|
yuck ... point taken ...
but it's not a default MFC/Windows behaviour; and all the extra work will eventually be defeated; if the user really likes your bitmaps and icons ( for example ), he can do a screen grab and manually extract them.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Maximilien wrote: but it's not a default MFC/Windows behaviour; and all the extra work will eventually be defeated; if the user really likes your bitmaps and icons ( for example ), he can do a screen grab and manually extract them.
Now we have to Encrypt the desktop too!
"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
|
|
|
|
|
You might be able to take something like UPX, modify the code to do some encryption, and use it, or purchase an off-the-shelf solution.
However, remember that encryption, unlike hashing, is designed to be undone - it is usually a matter of resources if someone really wants what you are hiding.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
-- modified at 14:03 Monday 13th February, 2006
|
|
|
|
|
|
The application has to listen for a broadcast and then reply to the workstation which has sent the broadcast.
André
|
|
|
|
|
Hi André,
Thanks a lot for help, Can you give me some links where i can find some samples of Broadcasting and also i came to know that Broadcasting Requires Administrative Permissions on the machine and not every machine reponds to it, is it so ? or is there any other way out ?
Thanks again
kss
|
|
|
|
|
fearless stallion wrote: where i can find some samples of Broadcasting and also i came to know that Broadcasting Requires Administrative Permissions on the machine and not every machine reponds to it, is it so ? or is there any other way out ?
actually it is very typical task !
First you have to enumerate the machine present on your network.. Now AFAIK socket connection doesnot need any administrative permission... so you can send udep socket to all the machine present in the network enquirying about wheather you application is running or not and increment teh counter whenever you recv the reply!
"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
|
|
|
|
|
Thanks a lot for the help
kss
|
|
|
|
|
On my current project I'm trying to include some sound. Now I have worked out how to use some of the MCI functions and messages to play my wav files.
Currently I have a looping background wav, and sevral other 'sound' wavs which are played depending on the users actions. (clicking a button etc..) Problem is, it sounds awful. Everything plays without a hitch, but the volume levels are just plain wrong. Most of my code is based on this tutorial http://www.codeproject.com/audio/mididemocp.asp with a few additions of my own.
Now my question is, how do you manipulate the volume levels of the files? My background music plays at the correct volume, but the other sounds are too quiet. Using the waveOutSetVolume() does not do what I need, it simply adjusts the windows global wave volume level. Also I must point out that I do not want to use DirectX or the MFC classes in this project.
|
|
|
|
|
Am trying to access a C++ win32 DLL (32bit) from an .exe project by dynamically loading the DLL as under;
Handle THandle;
errval Integer;
Handle=LoadLibrary("C:\\my folder\\testdll.dll");
if( Handle == NULL )
cout<<GetLastError()<<endl;;
I found that Handle is always set to 0, even if I try putting in the full path.
GetLastError is returning 182 which I believe is an Invalid Ordinal.
Anyone got any idea why LoadLibrary might be returning this error? It looks to
me as if there's something wrong with the DLL.
Also when I tried to load the DLL manually in the registry by typing the following under Start Menu->Run
regsvr32 C:\my folder\testdll.dll
Nothing happens, the command just gets back to the last window open.
Any ideas?
|
|
|
|
|
Spykraft wrote: It looks to
me as if there's something wrong with the DLL.
Try with some other DLLs to be sure.
"The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli
|
|
|
|
|
Spykraft wrote: looks to me as if there's something wrong with the DLL.
I think you are correct! Try the obvious - right-click on the file and see if you can view its properties (version information from the resources), or try to open it up as resources using the debugger. Maybe try a tool like depends .
Trying to open the DLL proper in the debugger should help you determine if it is a valid Win32 executable.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
Hello,
I am using VC++ & my application shows some wave-forms like sine wave & square wave. Here I want to show VC++ waveforms on the browser.
So which tool I need to integrate with my application?
How can I show my waveforms on the Browser?
If I click on Browser UI buttons, according to that wave from should take from my VC++ application & show it on the browser.
Thankx in adavnce,
Awating experts reply,
- Ramesh.
|
|
|
|
|
It depends somewhat if you are using MFC or not.
I think you could make it an OCX .
Start with an ATL/Com project (if you need MFC, then check its checkbox), then insert a Full control into the project. It will give you a OnDraw() etc function in which you can draw the waveforms.
However this may not be the only way or the easiest.
this is this.
|
|
|
|
|
thanx,
I am using MFC , but how can I show same waveforms on the browser without ocx or ATL/COM?
is there HTML or Java applet supports? If supports then how to do it?
|
|
|
|
|
I am not so sure of other way(s).
About the html/applet support, I have never tried those. I hope someone else can help you with that.
this is this.
|
|
|
|
|
I have a statusbar that I have subclassed and it displays progress bars, icons etc.
Now I would like to display tooltips for each pane of the statusbar.
How to display tooltip for statusbar panes.
Owner drawn
Jesus Loves
|
|
|
|
|
|
Does it display a tooltip?
I was going through that. But don't think there is a tooltip.
Owner drawn
Jesus Loves
|
|
|
|
|
|
Nope. I am searching for one. Even the one you said hasn't got a tooltip.
Owner drawn
Jesus Loves
|
|
|
|
|
|
hi...all
I want handle the exception created due to CFile::write.Here i have used try and catch blocks..but not able catch the exception which has generated in try block.plz help me....
thanx in advance
birajendu
CyberG India
Delhi
India
|
|
|
|
|
How are you trying to catch the exception?
If you can catch the exception using a catch all (catch(...) ), then you are likely not catching the MFC exception correctly.
Remember that MFC exceptions are caught by pointer, not by reference or value. And you must call Delete() off of the caught exception pointer if you do not re-throw it.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
Hello,
I have a problem, I have lost my database (ODBC with Access database) connection in my MFC program. Using which option, I can regain it? My recordset pointer is showing 0, please help.
Software Developer
Sanjay Khapre
-- modified at 8:26 Monday 13th February, 2006
|
|
|
|