win32lib dependancy

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

My .exw proggy only contains one part that uses win32lib:

----==========Set the working directory=========----
constant SetCurrentDirectory = registerw32Procedure( kernel32,
"SetCurrentDirectoryA", {C_POINTER} )
atom str str = allocate_string("\\\\fp-ho1-pr\\HO_share\\Tier 3 Database\\")
w32Proc( SetCurrentDirectory, {str} ) free( str )
----============================================----

Because of that one snippet, I have to have win32lib.ew, misc.e, machine.e, etc
etc etc... all these include files, in the folder too.
How can I redo the above without using win32lib?
I tried looking at the win32lib functions, but there's so many constants and
things I don't understand there, I wouldn't know where to begin.

David, Derek... can you write the above snippet without using win32lib calls?


Very confused.
=======================
Patrick Barnes
Information Systems Group
201 Elizabeth St, Sydney
Patrick.Barnes at tg.nsw.gov.au
Ext: 91-3583
Ph:(02) 9284-3583
Mob: 0410 751 044


***********************************************************************




***********************************************************************

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

Search



Quick Links

User menu

Not signed in.

Misc Menu