Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Where to extract dlls from resource to load them in vb .net

Featured Replies

Posted

So I'm making a keygenme and I need to know how to load the dlls from a resource. do you extract them to c:\windows\system32? how do you call them from there? I'm using Fmod

As i known,in vc++,you can add your dlls in your project ,and..you know,let them ba a part of resource.I mean,these dlls are resource can be compile with c++ code. Then ,use LoadResource(3 apis) Load them ,next,Call CreateFile API to create file you want to!SO....it's the steps.Hope useful to you

http://board.b-at-s.info/index.php?showtopic=7176


/>http://board.b-at-s.info/index.php?showtopic=7112


/>http://board.b-at-s.info/index.php?showtopic=6961

  • Author

As i known,in vc++,you can add your dlls in your project ,and..you know,let them ba a part of resource.I mean,these dlls are resource can be compile with c++ code. Then ,use LoadResource(3 apis) Load them ,next,Call CreateFile API to create file you want to!SO....it's the steps.Hope useful to you

BUUUUUUUUUUUUUUUUUUUUUUUUUUTTT you didn't tell me anything I didn't know! where do I extract them!??! :confused:

anywhere you want

temp directory, next to your exe, doesnt matter

system32 is a bad idea for a few reasons...

  • Author

anywhere you want

temp directory, next to your exe, doesnt matter

system32 is a bad idea for a few reasons...

So then how will it load the dll? I don't want it next to the exe

If its in the resource you are either going to have to:

A. Extract it somewhere and load it.

B. Manually map it into memory from the resource.

BUUUUUUUUUUUUUUUUUUUUUUUUUUTTT you didn't tell me anything I didn't know! where do I extract them!??! :confused:

I'm not understand about VB!In vc++,the following steps can load your dll or other data to where you want to extract them

1.Add your dlls in your current project as resources.(I think,you DO KNOW how to handle this step)

2.Do something ,make sure that your program can auto load dlls while its running.for example:

void LoadMyDlls()

{

FindResource(...);

LockResource(...);

SizeofResource(...);

LoadResource(...);

return;

}

now,we had a bufffer to hold the data(of course,it's you dlls).

3.CALL CreateFile to create a file you wanna to

HANDLE hFile = CreateFileA(FilePath,...);

the FILE PATH is the place you want to extract dlls,MUST BE FULL PATH!!!!

end..

Edited by ErrorShow

what is it with everybody not doing any research by theirselves?

of all the questions people ask here:

20% are crack requests

20% are just waaaaaay too dumb to even consider answering

20% is crap the poster would have been faster off by just entering the exact same question into google

20% are people no matter how much info you give them on a silver platter, they keep asking for 'examples', 'source codes', 'demonstrations'

the rest is what keeps me sticking around

  • Author

If its in the resource you are either going to have to:

A. Extract it somewhere and load it.

B. Manually map it into memory from the resource.

Thank you. I just got an idea. add the dlls and the exe to a second project, then extract them all to temp at load, load exe, then close.

  • Author

what is it with everybody not doing any research by theirselves?

of all the questions people ask here:

20% are crack requests

20% are just waaaaaay too dumb to even consider answering

20% is crap the poster would have been faster off by just entering the exact same question into google

20% are people no matter how much info you give them on a silver platter, they keep asking for 'examples', 'source codes', 'demonstrations'

the rest is what keeps me sticking around

Ok. I tried looking on google, but NOTHING! I was just seeing if you guys have anything! All the other bs loads with 500 errors.

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.