Loading DLLs

B

Blaine Fields

I've incorporated some code from OpenNetCF.Org relating
to determining what version of PPC is running prior to
installation. The code calls for "[DLLImport
("coredll.dll")]." The code compiles just fine but when
I run it, an error occurs with the advice: "Unable to
load DLL [coredll.dll]." Why would the program not be
able to load the DLL?

Blaine Fields
 
G

Guest

Hi Maarten.

No, this import is made right after the PPC program
material has been installed on the desktop. The install
program then invokes CeAppMgr to install the proper CAB
file to the device. Just prior to the initiation of
CeAppMgr, the program checks to determine . . . er, I
think I see the point of the question.

Well, back to the drawing board. What I really want to
do is to query the device to determine its OS. Let me
think about how to do that for a while.

Thanks for your reply.

Blaine Fields
-----Original Message-----
You are running that code on the PPC itself, right?

--
Regards,

Maarten Struys, eMVP
PTS Software bv

I've incorporated some code from OpenNetCF.Org relating
to determining what version of PPC is running prior to
installation. The code calls for "[DLLImport
("coredll.dll")]." The code compiles just fine but when
I run it, an error occurs with the advice: "Unable to
load DLL [coredll.dll]." Why would the program not be
able to load the DLL?

Blaine Fields


.
 
A

Alex Feinman [MVP]

I think you want to use OpenNETCF.Serial and call such functions as
CeGetSystemInfo and CeGetVersionEx

Hi Maarten.

No, this import is made right after the PPC program
material has been installed on the desktop. The install
program then invokes CeAppMgr to install the proper CAB
file to the device. Just prior to the initiation of
CeAppMgr, the program checks to determine . . . er, I
think I see the point of the question.

Well, back to the drawing board. What I really want to
do is to query the device to determine its OS. Let me
think about how to do that for a while.

Thanks for your reply.

Blaine Fields
-----Original Message-----
You are running that code on the PPC itself, right?

--
Regards,

Maarten Struys, eMVP
PTS Software bv

I've incorporated some code from OpenNetCF.Org relating
to determining what version of PPC is running prior to
installation. The code calls for "[DLLImport
("coredll.dll")]." The code compiles just fine but when
I run it, an error occurs with the advice: "Unable to
load DLL [coredll.dll]." Why would the program not be
able to load the DLL?

Blaine Fields


.
 
C

Chris Tacke, eMVP

Actually that's OpenNETCF.Desktop.Communication

-Chris


Alex Feinman said:
I think you want to use OpenNETCF.Serial and call such functions as
CeGetSystemInfo and CeGetVersionEx

Hi Maarten.

No, this import is made right after the PPC program
material has been installed on the desktop. The install
program then invokes CeAppMgr to install the proper CAB
file to the device. Just prior to the initiation of
CeAppMgr, the program checks to determine . . . er, I
think I see the point of the question.

Well, back to the drawing board. What I really want to
do is to query the device to determine its OS. Let me
think about how to do that for a while.

Thanks for your reply.

Blaine Fields
-----Original Message-----
You are running that code on the PPC itself, right?

--
Regards,

Maarten Struys, eMVP
PTS Software bv

I've incorporated some code from OpenNetCF.Org relating
to determining what version of PPC is running prior to
installation. The code calls for "[DLLImport
("coredll.dll")]." The code compiles just fine but when
I run it, an error occurs with the advice: "Unable to
load DLL [coredll.dll]." Why would the program not be
able to load the DLL?

Blaine Fields


.
 
A

Alex Feinman [MVP]

Yes. Thank you, Chris.

Chris Tacke said:
Actually that's OpenNETCF.Desktop.Communication

-Chris


Alex Feinman said:
I think you want to use OpenNETCF.Serial and call such functions as
CeGetSystemInfo and CeGetVersionEx

Hi Maarten.

No, this import is made right after the PPC program
material has been installed on the desktop. The install
program then invokes CeAppMgr to install the proper CAB
file to the device. Just prior to the initiation of
CeAppMgr, the program checks to determine . . . er, I
think I see the point of the question.

Well, back to the drawing board. What I really want to
do is to query the device to determine its OS. Let me
think about how to do that for a while.

Thanks for your reply.

Blaine Fields
-----Original Message-----
You are running that code on the PPC itself, right?

--
Regards,

Maarten Struys, eMVP
PTS Software bv

message
I've incorporated some code from OpenNetCF.Org relating
to determining what version of PPC is running prior to
installation. The code calls for "[DLLImport
("coredll.dll")]." The code compiles just fine but
when
I run it, an error occurs with the advice: "Unable to
load DLL [coredll.dll]." Why would the program not be
able to load the DLL?

Blaine Fields


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top