c - Can we invoke functions of a DLL compiled for 64 bit using an application compiled for 32 bit? -
can invoke functions of dll compiled 64 bit using application compiled 32 bit?
i using windows 2008 64 bit system. but, application still compiled using 32 bit.
the code involves mfc & windows sdk functions.
no. 32-bit application cannot load 64-bit module process space (nor vice versa).
remember 32-bit processes supported on 64-bit versions of windows in dedicated windows-on-windows (wow64) subsystem. makes interoperability tricky @ best. raymond chen's blog entry on subject quite instructive, if care technical details.
you either need recompile 1 or other, or load separate process , use interprocess communication coordinate between two.
Comments
Post a Comment