![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Nov 2006
Posts: 4
Rep Power: 0
![]() |
Embedding a DLL
Hi,
I'm wondering about how to embed a DLL into a C application. At the moment the program loads the DLL which is in the same directory like this: HINSTANCE hLib;
(...)
hLib = LoadLibrary("FILE.DLL");But I'd like to embed the DLL into the C application from the first place so I either extract and load it later OR even load it from inside of the application itself. Hopefully anyone will be able to help me out. Thank you zl0h |
|
|
|
|
|
#2 |
|
Programmer
|
please have a look on the following URL, might be it is useful for you http://blogs.msdn.com/oldnewthing/ar...21/673830.aspx
__________________
Iftikhar Ahmed Khan For doing an experiment on programmer's mood please visit http://uxisfyp1.brunel.ac.uk/cspgiak |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Nov 2006
Posts: 4
Rep Power: 0
![]() |
I embed the DLL via Byte Array Header now. Just got some trouble loading it from memory at the moment.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Errrrrm. Embedding sound files? | Sane | HTML / XHTML / CSS | 23 | Jan 28th, 2006 11:43 PM |
| Embedding a batch file into a C++ app | vynkz | C++ | 22 | May 18th, 2005 9:59 PM |
| Win32 Api help, embedding something? | brokenhope | C++ | 0 | May 13th, 2005 10:58 PM |
| Embedding Files | magic_e | Visual Basic | 3 | Jan 21st, 2005 12:32 PM |