Click here to Skip to main content
15,892,298 members
Home / Discussions / Mobile
   

Mobile

 
Questiondisplaying image from sql ce to Picture box in dot net compact framework Pin
ayrookuzhy22-Dec-05 0:40
ayrookuzhy22-Dec-05 0:40 
Questionmemory layouts on mobile phones Pin
popeyesfx21-Dec-05 0:57
popeyesfx21-Dec-05 0:57 
QuestionProblem with Windows Mobile 5.0 Pocket PC & CloseHandle Pin
cbusgut19-Dec-05 4:16
cbusgut19-Dec-05 4:16 
QuestionDataAdapter.Update Mehtod Pin
slirek17-Dec-05 21:54
slirek17-Dec-05 21:54 
QuestionHide/Disable Start Menu - Pocket PC Pin
Abraham Kurian9-Dec-05 20:47
Abraham Kurian9-Dec-05 20:47 
Question.net CF/PocketPC problem with PictureBox controls Pin
garbeechio9-Dec-05 7:05
garbeechio9-Dec-05 7:05 
QuestionPocket PC + Interbase Pin
bbbilen9-Dec-05 2:17
bbbilen9-Dec-05 2:17 
QuestionCan't find an Entry Point 'MyFunction' in a PInvoke DLL 'MyDLL.dll' Pin
vic120007-Dec-05 14:17
vic120007-Dec-05 14:17 
Hi Experts,

I have a DLL built in C++ and am trying to make it work on PocketPC.
I created a project and build the DLL for PocketPC: in VS2005
New Project--->VC++-->Smart Device --> Win32 Smart Device Project (Platforms
choose "Pocket PC 2003" and Application Settings choose "DLL")
and the DLL was successfully built.

Then i created another project, to built a application in C#:
New Project--->C#-->Smart Device (Pocket PC 2003) --> Device Application

in the application, i used
[DllImport("MyDLL.dll", EntryPoint = "MyFunction")]
private static extern bool MyFunction(......)

The 2 projects were built in one Solution.
When i tried to "Deploy Solution" under Build, i can find that only the DLL
was deployed into the device. I need to "Deploy DeviceApplication" to deploy
the application.

After i deployed the DLL and the application,
i debug the application, at the place when i call MyFunction, there is error:
Can't find an Entry Point 'MyFunction' in a PInvoke DLL 'MyDLL.dll'

I also tried to use:
[DllImport(strDllPath)]
in my application, but i have the same error.

On Desktop, the DLL and the were called in the same way and worked well
before.

The function in the DLL was implemented as:
extern "C" bool MyFunction(......)
{
}
and it was exported in DeviceApplication.def

Does any one has any idea why i have this problem and how can i solve the
problem?

Thank you very much!

Vic


Thanks!

vic
QuestionADOCE31.TLB Pin
gerhard456-Dec-05 10:12
gerhard456-Dec-05 10:12 
AnswerRe: ADOCE31.TLB Pin
SpeBeeTo7-Dec-05 3:33
SpeBeeTo7-Dec-05 3:33 
GeneralRe: ADOCE31.TLB Pin
gerhard457-Dec-05 8:51
gerhard457-Dec-05 8:51 
QuestionCombobox Pin
SpeBeeTo5-Dec-05 10:23
SpeBeeTo5-Dec-05 10:23 
QuestionInstalling a web app on PDA Pin
pk123us4-Dec-05 19:22
pk123us4-Dec-05 19:22 
AnswerRe: Installing a web app on PDA Pin
SpeBeeTo7-Dec-05 3:18
SpeBeeTo7-Dec-05 3:18 
QuestionDisplaying an Image in an SQL CE Server application Pin
SpeBeeTo4-Dec-05 13:00
SpeBeeTo4-Dec-05 13:00 
QuestionNo user control in .NET compact framework? Pin
beeyung2-Dec-05 22:53
beeyung2-Dec-05 22:53 
Questionquick newby .NET compact framework question Pin
garbeechio1-Dec-05 8:06
garbeechio1-Dec-05 8:06 
QuestionStrongARM/xScale processor support Pin
Bartosz Bien30-Nov-05 0:47
Bartosz Bien30-Nov-05 0:47 
QuestionAutoRun feature on Windows CE Pin
Bartosz Bien30-Nov-05 0:27
Bartosz Bien30-Nov-05 0:27 
QuestionDifference between software timer and Hardware timer Pin
badal_akr29-Nov-05 23:45
badal_akr29-Nov-05 23:45 
QuestionPlatform Builder & VS2005 Pin
lowiq29-Nov-05 17:12
lowiq29-Nov-05 17:12 
Questionmobile to PC and vice versa Pin
vivek7728-Nov-05 20:26
vivek7728-Nov-05 20:26 
AnswerRe: mobile to PC and vice versa Pin
badal_akr29-Nov-05 23:47
badal_akr29-Nov-05 23:47 
QuestionHow to derive from CCeSocket Pin
hardworkboy27-Nov-05 15:21
hardworkboy27-Nov-05 15:21 
QuestionI need help in mobile phone interface programming Pin
NastradamuS26-Nov-05 10:16
NastradamuS26-Nov-05 10:16 

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.