create dll file

E

emmanuel

Hi,
I want to create a dll file for all the icons a will need in my
application. Something like the "SHELL32.dll" in windows. Anybody know
where I can find some sample code to create something like that ?
 
H

Herfried K. Wagner [MVP]

Hello,

emmanuel said:
I want to create a dll file for all the icons a will need in my
application. Something like the "SHELL32.dll" in
windows. Anybody know where I can find some sample
code to create something like that ?

Tyically those DLLs are not created using .NET (no class libararies). You
may want to write an "empty" C++ DLL that includes the icons as Win32
resources. You can create such a DLL using Microsoft Visual C++ .NET. VC++
..NET comes with a resource editor which will make creating the ressources
easier. Maybe you can embed the icons into a .NET Class Libarary DLL by
compiling it from the command line ("vbc") and specifying a Win32 resource
file after the "/win32resource" switch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top