|
I know I've references to articles on how to go about blocking popup ads in WebBrowsers in the past. Today I've been searching and can't find them. Anyone know where I might look?
|
|
|
|
|
|
Man, I guess my searching skills are poor this morning. Or maybe the searching technology on CodeProject is a bit lean? Not quite up to google standards.
Anyway, thanks a bunch. Just what I remember seeing in the past.
-Brett-
|
|
|
|
|
Use http://www.google.com/advanced_search?hl=en and set the domain to codeproject.com.
I love CP but the search engine is severly lacking.
Todd Smith
|
|
|
|
|
I have a DLL file with some function in it and want to use one of the functions but I havent any details about it parameters.
I like to know if is any way or any program to solve my problem
|
|
|
|
|
If you have Dependency Walker installed (comes with VC, or go to www.dependencywalker.com[^] to download it), you can open the DLL in there to get a list of contained exported functions and their parameter types - but not the meaning of those param's.
Dylan Boycott Bush Punch GWB
|
|
|
|
|
oh its a user define dll and havent any reference so I fetch its assembly code to . How many in input and have it and what is it return format
10001F56 90909090909090909090 Align 16
10001F60 _CPDecrypt@24:
10001F60 8B442410 mov eax,[esp+10h]
10001F64 83EC44 sub esp,00000044h
10001F67 83F840 cmp eax,00000040h
10001F6A 7E77 jle L10001FE3
10001F6C 8B4C244C mov ecx,[esp+4Ch]
10001F70 83F918 cmp ecx,00000018h
10001F73 7E6E jle L10001FE3
10001F75 55 push ebp
10001F76 8B6C244C mov ebp,[esp+4Ch]
10001F7A 56 push esi
10001F7B 8BD1 mov edx,ecx
10001F7D 57 push edi
10001F7E 33C0 xor eax,eax
10001F80 8BFD mov edi,ebp
10001F82 8B74245C mov esi,[esp+5Ch]
10001F86 C1E902 shr ecx,02h
10001F89 F3AB rep stosd
10001F8B 8BCA mov ecx,edx
10001F8D 83E103 and ecx,00000003h
10001F90 F3AA rep stosb
10001F92 8D4C240C lea ecx,[esp+0Ch]
10001F96 33C0 xor eax,eax
10001F98 2BF1 sub esi,ecx
10001F9A L10001F9A:
10001F9A 8D4C040C lea ecx,[esp+eax+0Ch]
10001F9E 8A140E mov dl,[esi+ecx]
10001FA1 80F242 xor dl,42h
10001FA4 40 inc eax
10001FA5 83F840 cmp eax,00000040h
10001FA8 8811 mov [ecx],dl
10001FAA 7CEE jl L10001F9A
10001FAC 68200B0110 push L10010B20
10001FB1 FF1508900010 call [KERNEL32.dll!EnterCriticalSection]
10001FB7 8D44240C lea eax,[esp+0Ch]
10001FBB 8B4C2464 mov ecx,[esp+64h]
10001FBF 50 push eax
10001FC0 51 push ecx
10001FC1 55 push ebp
10001FC2 E809F1FFFF call SUB_L100010D0
10001FC7 83C40C add esp,0000000Ch
10001FCA 68200B0110 push L10010B20
10001FCF FF1504900010 call [KERNEL32.dll!LeaveCriticalSection]
10001FD5 5F pop edi
10001FD6 5E pop esi
10001FD7 B801000000 mov eax,00000001h
10001FDC 5D pop ebp
10001FDD 83C444 add esp,00000044h
10001FE0 C21800 retn 0018h
|
|
|
|
|
i think its a good idea cause not everybody understand that real hardcore books and if beside a tutorial is the code c++ and c# everybody can understand watching the code and read the manual.
I think design patterns are the best solution to solve problems with your software architecture and make it easier to update & debug.
First there should be a introduction to patterns and then some general patterns like "acceptor-connector" and their design steps.
so i will help if you want to create a section like this...
Martin Lierschof
Junior Programming Assistant
World-Direct.at eBussines Solutions GmbH
mail²: martin.lierschof@world-direct.at
|
|
|
|
|
|
Hi,
as a consequence to what I wrote yesterday, I checked the other articles of hackBOY. At least his article "http://www.codeproject.com/useritems/Mail_Report_Program.asp",
"Mail Report Program in Visual C++", also installs a backdoor on your pc. The file is called WINDLL.EXE, located in %WINDIR%\SYSTEM32, and started through registry entry.
If there is any possibility, the article should also be removed from codeproject.
Greetings from germany,
Patrick
|
|
|
|
|
I downloaded the tapped webbrowser app.
but I need to download it again after my computer error.
this application feature is below.
if navigate to some site, it navigate in tab view
and if the site popup a page,it show the popup page in tab view.
so all navigated page is in tab view.
please. where is it in codeproject.
I can't find it again.
please help me.
|
|
|
|
|
Hi,
as I mentioned in my comment on the above named article "http://www.codeproject.com/useritems/Client-Server_App.asp", "This is simple client-server application in Visual C++ with using WinSock" by hackBOY, the delivered code there is dangerous, because it installs two backdoors on your pc.
If there is any possibility, the article (and its author) should be removed from codeproject.
Greetings from germany,
Patrick
|
|
|
|
|
Would anyone be interested in my writing a tutorial on how to start creating custom Win32 controls by inheriting from existing ones?
I'd cover the following:
- inheriting from label control
- overriding paint event to create custom UI
- adding a panel control
- combining controls together with animation to create a (simplified) XP expand/collapse control.
Thoughts?
Cheers,
Simon
"The day I swan around in expensive suits is the day I hope someone puts a bullet in my head.", Chris Carter.
animation mechanics in SVG (latest pic 1) (latest pic 2)
|
|
|
|
|
Could be useful given certain oddities I'm coming across with refreshing, etc.
Did you already write this?
|
|
|
|
|
Resource OrganizerCan't find this free tool. Can any1 help me. Some1 told me I shall find it6 on Codeproject, but no success. I used Google no success & I', not a compete idiot on Google I even tried Yahoo (after a year i belive) without any success again.
Please help.
Love is the law, love under will.
|
|
|
|
|
|
Tnx a lot
Love is the law, love under will.
|
|
|
|
|
Hello,
I work in a company developing a massive multiplayer game. The game is a server-client app. Yesterday my boss came up to me and assigned me to the security issue in the game. saying - "think about ways hackers can break in the server trying to play, or just crash it, after u think about these issues find some solutions and come back to me".
"sweet jumpin Jesus", i was thinking to miself, "what does the dude want from me? If hackers were able to break the pentagon, how should i deel with'em"?
anyway here are some more details about the subject and some thoughts i had:
basic assumtions and facts-
1. any hacker can have the client app (executional).
2. any hacker knows the IP & port of the server.
3. the protocol is UDP based - so it is possible to send data to the server just by knowing IP+port (without listen-accept-bind process)
basic questions to be asked-
1. to which extend it is possible to re-construct the code (pseudo-code, or assembly) from the executional (the code is written in C++)?
2. what kind of malicious data is likely a hacker will try to send in order to bring down the server
3. spoofing- imposters trying to disguise as legal users- what do i have to expect
4. what other methods of crashing the server are available and how to prevent them?
As u can see there are many issues to think about...
I would like to hear more reader ideas about these problems, and where can i find articles (most important).
Thank u and may the force b with you.
|
|
|
|
|
2. Any that they think will do the job;
4. Obvious ones are buffer overruns. For example if you recv stuff from a socket, you MUST check that you won't overflow an input buffer. A common trick (and I'm not exactly giving away secrets) is to overrun a stack-frame based buffer and hence replace the return address on the stack. Won't happen if you check for overrun and stop writing to the buffer, for instance. For more examples, you might want to check out the security section on the MSDN web site.
Steve S
[This signature space available for rent]
|
|
|
|
|
You also might want to look at message authentication codes and serial numbers.
Davy
Blog for Software Testing, Bugs, Quality, Security and Stability - www.latedecember.com
News From Angus, Scotland - The Angus Blog My Personal Blog - Homepage.
|
|
|
|
|
Does anyone know how can write an RTL enabled program such as arabic edition of many profesional programs?
How can display menu in arabic in right to left format? How can change MFC resources to show strings in arabic (standard menus like File, Edit, View, ...) also how can show dialogs with arabic labels...
Is there any tutorial or document?
A. Riazi
|
|
|
|
|
Please don't shoot me if you think this is a horrible suggestion, something that should not be included here on CP, or something that has already been written on CP.
My suggestion for an article is one on suggestions on how to set up your PC to be an excellent DEVBOX. My main thoughts right now are on suggestions of ideas (with explanations hopefully) on things like partitioning your drives, where to put system files on those drives, where to place program files on those drives and possibly even suggestions on the hardware to use. Additional tweaks for performance and even user interface enhancements are more than welcome.
Take my home machine for example (I am thinking of making a clean start on it ...):
AMD Athlon 1.4 GHz
1 Gig RAM
40 GB HardDrive
GForceII 64 Meg RAM
Mainly I am looking for input on what people have found to work for them and what makes plain sense to do when setting up a computer. The reason that I am suggesting this for an article is that I think such a collaboration could definitely help out others here on the CP too.
Wally Atkins
|
|
|
|
|
That is a very good idea. I certainly have a system that's worked for me over the years, and I also have a preferred way of laying out the VC IDE - a way that I've tweaked over the years and I think it's perfect now
Maybe I'll write up some notes over the weekend...
--Mike--
Looks like I picked the wrong week to stop sniffing glue.
1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm
|
|
|
|
|
hi friends,
I have been given a project to be coded in C, which has to convert a normal text file into a microsoft Word file using the MS Word's binary file format. Do anyone of you guys have the coding for doing that!.I found a document having the details about the low level data structure of the MS Word file. but due to time constraint , i am not able to finish my project . so guys if you have the coding PLEASE HELP ME OUT. MY GRADUATION COMPLETION DEPENDS ON YOUR REPLY. Thankyou.
With luv,
Arvind
|
|
|
|
|
You can control Word as a COM object. Does your target machine have Word ? If so, passing it the text and letting IT save in Word format is probably the easiest option.
Christian
No offense, but I don't really want to encourage the creation of another VB developer.
- Larry Antram 22 Oct 2002
C# will attract all comers, where VB is for IT Journalists and managers - Michael
P Butler 05-12-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not
as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|