Re: win32lib dependancy

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

include dll.e
include machine.e
atom kernel32, SetCurrentDirectory,result
kernel32 = open_dll("kernel32.dll")
SetCurrentDirectory =
define_c_func(kernel32,"SetCurrentDirectoryA",{C_POINTER},C_INT)
atom str str = allocate_string("\\\\fp-ho1-pr\\HO_share\\Tier 3 Database\\")
result=c_func( SetCurrentDirectory, {str} ) free( str ) -- returns 0 if failure
> Very confused.
> =======================
> Patrick Barnes

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

Search



Quick Links

User menu

Not signed in.

Misc Menu