Jump to content
Tuts 4 You

[asm] problem with opening a file


Yoshi

Recommended Posts

After these 2 small fixes, it seems to work for me:



xor eax, eax ; provide null ptr, not dospath here!
mov oa.RootDirectory,eax  
mov oa.ObjectName,offset dospath  ; already mentioned in my post #2

Edited by kao
  • Like 1
Link to comment

You are da hero kao!  :thanks:


 


So the file can be openend without any problem. However, this was just an demo project. Now i should open the file itself, thus base.exe. but a acces_denied error pops up


Edited by Yoshi
Link to comment

huntingspace, you are incredible! it seems to work, so     :worthy:   thank you, i knew you could fix it :)


 


also kao very greatfull for your help :thumbs:


 


you guys are amazing


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...