News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

how can i use the def in codeblocks?

Started by shen_li_li, August 13, 2008, 11:02:20 AM

Previous topic - Next topic

shen_li_li


thomas

By ticking the checkbox in the project's "Properties" dialog, under "build targets". That will create a DEF in the same folder as the DLL, which the compiler will use.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

shen_li_li


shen_li_li

dll sample:

   i create a dll, will output the function "test"

   if i not use def,CodeBlocks output test@8,but i will output only test

i will use this def :
   //===================================
   LIBRARY "test"
   DESCRIPTION 'test Windows Dynamic Link Library'

   EXPORTS
   test       =   test@8       @1 
   //===================================

how can i do?

shen_li_li