Re: Dos-Like DLL

new topic     » goto parent     » topic index » view thread      » older message » newer message

After removing the or rather commenting out the dosmain functions, I was able to get it to build as a DLL, I checked and the functions were exported into a DLL.

gcc -c dos.c 
gcc -shared -o doslike.dll dos.o -lgdi32 -lwinmm 

This got it to build as a DLL

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu