Click here to Skip to main content
15,898,036 members
Home / Discussions / Mobile
   

Mobile

 
Questionin EmbC++ Pin
Greg Barnes28-Apr-06 6:05
Greg Barnes28-Apr-06 6:05 
QuestionRead the audio stream in wince Pin
Rohini Gosh28-Apr-06 2:30
Rohini Gosh28-Apr-06 2:30 
QuestionOpen Source Helpdesk System Pin
mickycarty27-Apr-06 3:52
mickycarty27-Apr-06 3:52 
AnswerRe: Open Source Helpdesk System Pin
JimRoss2-May-06 11:59
JimRoss2-May-06 11:59 
QuestionSmart device UUID Pin
mtzlplyk26-Apr-06 23:01
mtzlplyk26-Apr-06 23:01 
QuestionHow to update smartphone title bar? Pin
PREMGADAVI26-Apr-06 20:50
PREMGADAVI26-Apr-06 20:50 
QuestionDisplay WinMobile device screen Pin
rnvrnv26-Apr-06 3:16
rnvrnv26-Apr-06 3:16 
QuestionHow can i import Smart Device dll to pocket pc 2003 project? Pin
arden82824-Apr-06 21:42
arden82824-Apr-06 21:42 
Hi all,
I just want to import a native C++ dll to my .net compact framework based project.

I created a MFC statically linked project.
The following code was put in the
"testDLL.h" file.

extern "C"
{
__declspec(dllexport) bool TestFromDLL(int x)
{
if(x ==1)
return true;
}

and i imported the built .dll to my C#->Smart Device -> Device Application 1.0 like:
[DllImport("testDLL.dll",EntryPoint = "TestFromDLL")]
private static extern void TestFromDLL();

however, the MissMethodException also pop up
Anyway I already added the reference path.
Is there any problem with the decorated name, or what type of MFC dll should I chose? Shared MFC dll? Extension dll?Or there are other problems?

Thanks a bunch for your help.

Using VS2005

Arden
QuestionTypeLoad Exception Pin
someone_blank24-Apr-06 15:49
someone_blank24-Apr-06 15:49 
Questionneed help - certificates Pin
Machma24-Apr-06 5:06
Machma24-Apr-06 5:06 
Question.net app for communication between handhelds Pin
Alfie S21-Apr-06 2:44
Alfie S21-Apr-06 2:44 
QuestionPDA Diagramming Pin
compiler19-Apr-06 10:17
compiler19-Apr-06 10:17 
QuestionRTF files Pin
_tasleem19-Apr-06 10:07
_tasleem19-Apr-06 10:07 
AnswerRe: RTF files Pin
likefood26-Apr-06 12:16
likefood26-Apr-06 12:16 
GeneralRe: RTF files Pin
_tasleem26-Apr-06 15:40
_tasleem26-Apr-06 15:40 
GeneralRe: RTF files Pin
likefood26-Apr-06 15:47
likefood26-Apr-06 15:47 
GeneralRe: RTF files Pin
jw_barber3-May-06 16:42
jw_barber3-May-06 16:42 
Questiondatagrid, C# & xml? Pin
trideau119-Apr-06 5:32
trideau119-Apr-06 5:32 
QuestionOpenFileDialog Pin
sebapi18-Apr-06 7:07
sebapi18-Apr-06 7:07 
Questionpicture box dispose problem Pin
Peksi16-Apr-06 19:36
Peksi16-Apr-06 19:36 
AnswerRe: picture box dispose problem Pin
UOM1-May-06 18:59
UOM1-May-06 18:59 
QuestionPocket PC Using Win CE...IR Printing Pin
Polymorpher15-Apr-06 20:29
Polymorpher15-Apr-06 20:29 
Questionpocket pc programming in mfc/ visual studio Pin
stacy115-Apr-06 5:49
stacy115-Apr-06 5:49 
QuestionChanging color for all label controls in a form Pin
hugo.green13-Apr-06 8:18
hugo.green13-Apr-06 8:18 
QuestionInteract my mobile throu coding (Java) Pin
Sakthivel P12-Apr-06 8:31
Sakthivel P12-Apr-06 8:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.