x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

DLL export function problem from one dll to other dll - Wince 6.0

vikram998861 Page Icon Posted 2008-11-30 11:35 PM
#
Avatar image of vikram998861
H/PC Newbie

Posts:
2
Status:
Hi all,

We are working on WinCE 6.0. In one of our application I have created test.dll to export function to other application/dll.
Function

//Return type event handle HANDLE
__declspec (dllexport) HANDLE GetHandle();

I have configured .def file as per requirement of exported functions.
In Application (.Exe) properties, I have configured the Link as a LIB file of test.dll and path of Header file in Include Directories of C\C++.

I could able to get handle in application (.EXE). and SetEvent for the same handle is working fine.
But our requirement is to call the GetHandle from another xyz.dll.
I have configured the xyz.dll project properties how I have configured for Application.
But whenever I called the GetHandle from the xyz.dll, xyz.dll is not working

Observation : xyz.dll is loaded and unloading immediately.
But when I removed the GetHandle function from xyz.dll, xyz dll is loading properly.

Please let me know what could be the problem

Thanks in advance
VikramG
 Top of the page
Jump to forum:
Seconds to generate: 0.144 - Cached queries : 41 - Executed queries : 26