You can't. The operating system DLL loader ignores the base address you specify in your DLL, and instead loads it at the next free address for DLLs.
DLLs have to appear at the same (relative) address in all process slots for the interprocess call mechanism to work. See Windows CE .NET Advanced Memory Management[^] for information on how the memory model works and how the OS loads DLLs.
Windows CE 6.0, which has just been released, completely changes this memory model, but I was told at last year's MEDC conference that it will still not honour the DLL's specified base address. If I recall correctly, the next version of Windows Mobile will still be based on Windows CE 5.0, with the first Windows Mobile version based on CE 6.0 to be released in the first quarter of 2008.
Ensuring non-conflicting base addresses for Windows CE DLLs is less of an issue than for the desktop, as the processor architectures typically used for CE have many more PC-relative instructions compared to x86. This reduces the number of explicit addresses in the code and hence the number of relocations that need to be performed when the DLL is loaded at a different address from its base address.
Is there any way that I prevent the users of the mobile device to move and/or drag the forms of the application? Actually, I am using a windows mobile ce5.0 device, with visual studio 2005 and programming language is c#.
Also, there is no such Movable property as it used to be in previous studio versions..
Help me! Anybody know the way to read ram or pin information of smartphone or PDA in C# please show me. I found in MSDN the way to read these information but in VC++. I tried to find it in C# but i can see. Have anybody know please show me.
I know I am missing a simple setting somewhere but I can't find it. Google was unfortunately no help either.
I am developing an MFC app (for now) and it has a menu resource. The menu appears how I want it but when deployed on the PocketPC 2003 (emulator or actual device), the 'New' menu option appears but it is disabled. How do 1) I remove it altogether or 2) take advantage of it?
So what I did was remove all instances of the CCommandBar (m_wndCommandBar) from the CMainFrame class that VS2005 automatically put in. In the CMainFrame::OnCreate() method, after the m_wndView.Init(), I added:
Is there any way to send sms from a mobile phone(connected to PC) to other mobile phones and get an acknowlegement for each sms sent,so that the status corresponding to a paticular contact number can b updated in the pc when sms is being sent to that number(MSAccess database)
Note:The mobile phone is connected to the pc using data cable and i am using Vb 6.0 lang,the sms to other nos is sent using this connected phone.
Any ideas or suggestions ??
Wish U All A Very Happy New Year
Thanks in advance
first go the Solution Explorer of your project.
then you will See there References Right Click on it and Add References there will open a dialog box then Browse.. Button then add your Dll then Select your Dll.
I am trying to develop an server/client based application that is between pocket pc to PC by using bluetooth connection. I wanna develop it with c#.net and i am new at bluetooth programming. if u suggest any article, e books or any codes, i will be plesure.
I'm a student for Software Engineering and as my final project I'm
developing windows mobile 5 application that uses IWebBrowser2 interface for
navigating to Internet. Now, I need to get the html page content and as I read in
many forums , I should retrieve IHTMLDocument from the dispatcher on DocumentComplete
event. I succeded in get_Document ( hr - S_OK ) but I have no such interface as IHTMLDocument
I tried different #includes but there is no IHTMLDocument. I also tried to work with XMLDocument
- no success.
....With the inclusion of other cab files
I want to create an MSI with my project cab and other cab files
More like this.. http://msdn2.microsoft.com/en-us/library/ms838273.aspx
Im using VS 2005, I cannot create the bat file!
I also downloaded the sample project.... It does'ne seem to work after conversion through VS 2005.
Im falling at my first step, I cant create the batch file
_____________________________________________________ Yea! I could be wrong...
I am creating a dialog based application for Smartphone running windows
mobile 5.0 using VC++ in VS2005. My application needs to support
multiple languages. I am using few strings in my application. I have
created separate string table for each language.
I am using the following code,
strZoom returns the value as "". IDS_ZOOM is the id used in the string
table. I have used the same id in all the string tables.
strZoom.LoadString(IDS_ZOOM); -> This line works fine but it always
return the string in english even if I change the language settings to
some other language. What am I doing wrong? Please clarify.