Can I use windows-native DLLs from drivers under Symbian's WINSCW target?
I need to map some physical memory area (to use a physical device), and I have a DLL that maps that area to user-space, but I don't know how to use it under WINSCW.
I have used the Windows API in WINSCW without much problems (didn't work well though together with symbians stdlib though.)
I have not used any DLLs though, but I assume you can manage them through the Windows API, loading it, etc.
To use the windows api i simply include the <window.h> header in the file needing it (I keep all windows specific functions in the same file, and only windows specific functions here), And in mmp-file, you can specify wich windows specific libs to use like this:
START WINS WIN32_LIBRARY GDI32.LIB USER32.LIB KERNEL32.LIB END
Forum posts: 1233
I have used the Windows API in WINSCW without much problems (didn't work well though together with symbians stdlib though.)
I have not used any DLLs though, but I assume you can manage them through the Windows API, loading it, etc.
To use the windows api i simply include the <window.h> header in the file needing it (I keep all windows specific functions in the same file, and only windows specific functions here),
And in mmp-file, you can specify wich windows specific libs to use like this:
START WINS
WIN32_LIBRARY GDI32.LIB USER32.LIB KERNEL32.LIB
END
Forum posts: 6
I had to add win32_headers in the MMP file, and used #pragma comment(lib, <mylib>) - and it was fine.
A did came across another problem (mounting the media), but that's going in another post...
Nir