It is currently Sat Oct 21, 2017 6:46 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Jan 17, 2017 10:16 am 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3064
Location: Brazil
When you think it's all right... no. :shock:
RockNES is compiled with gcc version 4.8.1.

I use Windows 10 (upgraded from 7).


Attachments:
walker.png
walker.png [ 72.61 KiB | Viewed 455 times ]
Top
 Profile  
 
PostPosted: Tue Jan 17, 2017 10:46 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3943
If RockNES isn't importing it, then it doesn't matter what Kernel32 itself shows. Kernel32 gets loaded by every single process, even those that don't import it, so obviously it is able to load fine.

edit:
Read the article:
http://arstechnica.com/information-tech ... lims-down/

The API-CORE-*.dll imports from Kernel32 aren't actually real.
The OS does come with false stub DLL files made to look like what would be in there, look in C:\windows\system32\downlevel or C:\windows\syswow64\downlevel, and notice that they are all under 16k in size.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
PostPosted: Tue Jan 17, 2017 4:01 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3064
Location: Brazil
I'm asking because of random freezes. Usually, it's on NTDLL.dll.

At anyway, it's full of errors. I'd like someone download depends v2.2 (attached) and let me know what's up.


Attachments:
depends22_x86.zip [596.45 KiB]
Downloaded 19 times
Top
 Profile  
 
PostPosted: Tue Jan 17, 2017 6:33 pm 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3943
Bad pointers in the code end up as bad pointers in Windows API functions. Access violations and things like that. So you need to trap the bug and see the call stack down to the user code that triggered it.
Ollydbg can be used for this whether you have source code or not, but you can also just use your usual debugger.


As for errors you get in Dependency Walker, those are all phony and have to do with Minwin. The actual DLL loader ignores the phony DLL references, so it's not affected, just tools like Dependency Walker are affected.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: lazerbeat, Pokun and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group