Re: win32lib dependancy
- Posted by Wolf <wolfritz at KING.IGS.NET> Nov 28, 2002
- 415 views
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