|
i tryed to register the dll on windows mobile 5.0 with regsvrce. but i have this error:
"MySql.Data.CF.dll was loaded, but the DllRegisterServer entry point was not found.
DllRegisterServer may not be exported, or a corrupt version of MySql.Data.CF.dll may be in memory.
Consider using PView to detect and remove it."
i don't have a DllRegisterServer. how can i make a DllRegisterServer?
|
|
|
|
|
Hi
I want to make an application which can detect when my device is going to the sleep mode and then it will immediately on the device. I tried a little bit but in vain
Let me show what i tried. Actually i am creating a thread which will try to detect when my device is going to the suspended state then it will try to power on .My logic is in this way but the functions i might be using may be a matter of concerned. Need guidance in that
In the WinAPI I am starting the thread
..
m_hThread = CreateThread(NULL, 0, ThreadProc, NULL, 0, NULL);
...
And in the thread function I am doing this
DWORD ThreadProc(LPVOID lpParameter)
{
LPWSTR pBuffer = NULL;
PDWORD pdwFlags = NULL ;
DWORD iState = NULL;
while(TRUE)
{
iState = GetSystemPowerState(pBuffer,sizeof(pBuffer),pdwFlags);
if(iState == POWER_STATE_SUSPEND)
{
SetSystemPowerState(NULL,POWER_STATE_ON,POWER_FORCE);
return 1;
}
}
return 0;
}
|
|
|
|
|
VS 2008, WM 6.1
I'm creating the toolbar:
ToolBar.Create(m_hWnd,0,0,WS_CHILD | WS_VISIBLE | TBSTYLE_TRANSPARENT | WS_BORDER );
::SendMessage(ToolBar.m_hWnd, TB_BUTTONSTRUCTSIZE, WPARAM(sizeof(TBBUTTON)),0);
static TBBUTTON button1 = {0,0,TBSTATE_ENABLED,TBSTYLE_BUTTON /*| TBSTYLE_AUTOSIZE*/,0,0,(INT_PTR)L"New" };
static TBBUTTON button2 = {1,0,TBSTATE_ENABLED,TBSTYLE_BUTTON /*| TBSTYLE_AUTOSIZE */,0,0,(INT_PTR)L"New"};
static TBBUTTON button3 = {2,0,TBSTATE_ENABLED,TBSTYLE_BUTTON /*| TBSTYLE_AUTOSIZE */,0,0,(INT_PTR)L"New"};
ToolBar.AddBitmap(0, IDB_LOGO_SMALL);
ToolBar.AddButton(&button1);
ToolBar.AddButton(&button2);
ToolBar.AddButton(&button3);
ToolBar.SetButtonSize(32,32);
ToolBar.SetBitmapSize(32,32);
::SendMessage(ToolBar.m_hWnd, TB_SETBUTTONWIDTH, 0, (LPARAM)MAKELONG (32, 32));
ToolBar.AutoSize();
The toolbar created sussesfully, but the toolbar's width takes only half screen. How does the toolbar strech on full screen ?
|
|
|
|
|
Hi friends,
Im currently doing a project in .NET (Visual Studio 2005, Device Application), in which i need my application to send sms to a specified number. I tried to google the code, but no success yet Can anyone please give me link to a sample project/source code for this?? Plz help me
Note: I just want to send sms to one recipient at a time. So basically what i want is to embed the inbuilt sms feature of my Pocket PC into my application..This code was posted by me...
|
|
|
|
|
Hi all,
i m using SmsSendMessage api to send sms from pocket pc mobile.
its working fine.
now i want to send sms by PC,here connect a mobile phone by datacable.
please tell me which apis and functions are used here.
thanks inadvance.To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
Please stop spamming the forums; you have already posted these two questions, and had responses here[^]. If you wish to add supplementary details then do so on the original thread. txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
Investigate using RAPI, and then work out a custom solution of how to communicate with your ap. i.e. monitoring directory, com, calling function in a dll, execing an exe etc.
|
|
|
|
|
HI all
i want to create an application that is able to send SMS from mobile phone.
here mobile phone should connect by a data cable to the computer.
i find mobile phone by detecting serial com port method.
i also taking help of this article
http://www.naughter.com/mfcsms.html[^]
but its not working fine.
please help me for this.
and provide me better suggestion and ideas for this.
thanks in advance.To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
modified on Friday, February 12, 2010 11:40 PM
|
|
|
|
|
Is anyone aware of a straightforward guide on how to get this working? Googling brings up lots to do with .NET but not C++. Is it actually worth trying it or is it better to move to C#?
TIA.
|
|
|
|
|
Sure. It is actually more straightforward than everyone let's on.
You can use my library. I wrote a highly object oriented library.
Read all the blogs on this site from Mr. Figueira. He is brilliant, but his code is hard to follow. So I wrote my own.
Contact me and I'll show you what I have.
|
|
|
|
|
hi
how to get X and Y coordinate from GPS on Windows-Mobile 6.1 ?
can i get any sample code for this ?
thank's for any help
|
|
|
|
|
|
Hi all,
I have a challenge:
I want to use the Form.Hide() method (triggered by an Deactivate event) since it really hides the form so the app can not be closed from the memory or task manager. You probably guessed its behaving like a service . I have some code that puts an icon in the task tray and when tapped, it brings back up the form (Form.Show()). The purpose of this is to show statusses and give the oportunity to change behaviour by changing settings. This all works fine.
However, I can't find/think of any code that Show()'s the form after relaunching it from the Start > Programs menu. Does anyone have any idea? Trying mutex detection didn't work, so I think that NetCF already has a mutex check done before I get to it in the Main() method in program.cs.
OS: Windows Mobile 6 (Professional and Standard)
NetCF 2.0
Language used: C#
Thanks
Arjen
|
|
|
|
|
I am trying to send some data using TCP via WiFi to a desktop PC.
I am using a TCP Listener and socket in the PD
I am using TCPClient in the windows mobile.
When the Mobile is connected to a PC ( not necessarily the server ), the winmo is able to send the data.
But when the mobile is connected to wifi, the same code fails.
I am getting a "SocketException"
But I am able to ping the server.
What may be the reason
|
|
|
|
|
probably some problem with handling the sockets.. i have created a device application which allows remote desktop control of a PC connected to PDA via WiFi... i too got a lot of socket exceptions
You need to set all the properties of sockets like timeout and port number right to make it working... Even then, it showed socket exception after working for a certain time period.. make sure all your threads are running the way it should..This code was posted by me...
|
|
|
|
|
Dear All,
I working for Windows Ce 6.0 application with .net 2005
I am trying to open .ppt file programatily but unable to do that.
My string is
"\Windows\wt6sppt.exe \Windows\wt6explr.exe#/d wt6ppt*.dfr \Hard Disk\hello.ppt"
if i execute above string from Run promt its working fine and open the file.
Please help or suggest some ideas to execute the string programatily.
Thaks & Regards
Yrishi
|
|
|
|
|
Is the code in C++? I suppose you have to use '\\' instead of '\' in code.
|
|
|
|
|
Thanks Rajesh, no I am using vb.net(.net 2005),
|
|
|
|
|
How can I create a shortcut for an EXE file in Windows CE?
It doesn't seem to have all that DCOM stuff available?
thanks
|
|
|
|
|
I think you can use SHCreateShortcutEx() function.
|
|
|
|
|
Hello
I am developing a mobile web application in which, I want that the application should first which phone it is asking request & then detecting the size of the screen & once it have all the thing detected it should display the web pages according to the size of the screen.
so here can anyone help me in developing this application as i am new to it or can guide me if anything wrong in this working of application ??
we want to use ASP & WML together. so is it possible ?? or can any one help with coding with this application??
even anyone can give suggestion on this post..
reply to this post asap..!!
regards
Aditya chavan
|
|
|
|
|
Please take a look at http://51degrees.codeplex.com. It is an ASP.NET open source module which detects mobile devices and provides auto redirection to mobile optimized pages when request is coming from mobile device. It makes use of WURFL mobile device database. For redirection there is no need to modify existing ASP.NET web application pages.
Sample web.config configuration for mobile device detection based on MobileDeviceManufacturer property.Both WURFL capabilities and ASP.NET Browser properties can be used with the property attribute.
<redirect firstRequestOnly="false"
mobileHomePageUrl="~/Mobile/Default.aspx"
timeout="20"
devicesFile="~/App_Data/Devices.dat"
mobilePagesRegex="/[Apple|RIM|Nokia|Mobile]/">
<locations>
<location url="~/Apple/Default.aspx">
<add property="MobileDeviceManufacturer" matchExpression="Apple"/>
</location>
<location url="~/RIM/Default.aspx">
<add property="MobileDeviceManufacturer" matchExpression="RIM"/>
</location>
<location url="~/Nokia/Default.aspx">
<add property="MobileDeviceManufacturer" matchExpression="Nokia"/>
</location>
</locations>
</redirect>
|
|
|
|
|
Hi folks!
I have a Motorola/Symbol MC70 running a Compact Framework 2.0-application.
The app receives commands from the network and displays custom-controls inside a panel.
My problem is, that the creation of the control takes a lot of time.
Are there any ideas how i could speed up this process?
|
|
|
|
|
Hi J.Holzer,
All things are depend on your Custom-Control. What approach you are using while developing, you can optimize the performance of control.
While developing custom control you can follow some tips.
1) Before rendering control load all images.
2) Choose appropriated data type.
3) Use off bitmap screen.
4) Try use less property
Pavan Pareta
|
|
|
|
|
Hello,
I have written code Win32 for the launch of the flash10d.ocx control. The code is compiling fine n working but when i try to use the same code for my WinCE programming, it doesnt work.
In case of Win32, i have included the following linein my code-
#import "c:\\windows\\system32\\macromed\\flash\\Flash10d.ocx" named_guids
using namespace ShockwaveFlashObjects;
However, when i use the same, for loading a control names "axPhoner.ocx" which was obtained from the brothersoft site, it doesnt compile and the 1st error given out is-
error C2440: 'return' : cannot convert from '__missing_type__ *' to '__missing_type__' d:\my project\my project\my project\windows mobile 6 professional sdk (armv4i)\debug\axphoner.tli
Can someone please help me with the code for launching an ActiveX control from WinCE or if anyone can please suggest me like where to look for it.
Thanks in advance
|
|
|
|