Answer Questions
JIM.H. fatal error C1189: #error : Must define a target architecture.
hello, ***************************************************************** #include "stdafx.h" #include <windows.h> #include <commctrl.h> #include <rtccore.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { // RTC Initialization // Use COINIT_MULTITHREADED on Windows CE ::CoInitializeEx(NULL,COINIT_MULTITHREADED); HRESULT hr = S_OK; // Create the RTC Client COM object. IRTCClient *pIRTCClient; hr = CoCreateInstance( CLSID_RTCClient, NULL, CLSCTX_INPROC_SERVER, IID_IRTCClient, reinterpret_cast < void **> (&pIRTCClient) ); // if (hr != S_OK) process error here. // Initialize ...Show All
twoot22 Where can i get the Windows Live ID SDK
Hi, Do you know where can i get the Windows Live ID SDK The Windows Live ID Client 1.0 SDK Alpha has been posted!! You can download it at http://connect.microsoft.com/site/sitehome.aspx SiteID=347 . Please come back here to the forum to leave feedback. Me too , i have a ImagineCup Software Design Project , i plan use Windows Live ID SDK .:( now can i get one Still not released As i know . Somebody get the Windows live IDs .see my email plz. cnr#live.com. I can give you one if you need one . Me Too ... I need one. Thanks. now can i get one thanks Hey i also Need One ! ...Show All
Ram Pratap Problem Compiling Tutorial With VC++ 2005 Win32
To Whom It May Concern, I have tried compiling the following tutorial program in Visual C++ 2005 Win32: #include "stdafx.h" #include "filetest2.h" #include <fstream> #include <iostream> #include <string> using namespace std; int main() { char FileName[20]; char EmployeeName[40], Address[50], City[20], State[32], ZIPCode[10]; // 1. Uncomment the following section to create a new file /* cout << "Enter the Following pieces of information\n"; cout << "Empl Name: "; cin >> ws; cin.getline(EmployeeName, 40); cout << "Address: "; cin >> ws; cin.getline(Address, 50); co ...Show All
natcat26 Unable to debug Pocket PC .NET C# project on VS 2003
PSS handles such issues all the time. I suggest that you open a support case as this is the only mechanism currently available for them to log their time. There are many variants to installation/setup/connection problems, particularly with VS 2003, that take one-on-one time with a customer to isolate and resolve. ...Show All
haba Custom popups in 3d don't dock to pushpins correctly
I have created custom popups that dock a div to the pushpin location as described in other threads. This works fine in 2d, but in 3d the popups don't line up with the pushpins correctly. It appears that the x,y values are not correct being passed by the pushpin callback function. I have not yet found how to locate the pushpins through code to dock the div to. Has anyone figured out a work around to this yet other that randomly subtracting some value from the div placement. Marc Rempel I have hit the exact same issue last week Gascho. I am yet to solve it. For me I'm tring to get my custom popups to work in 3D, I have the "shims" working for other peices but it appears that the x and y in the callback function is off. ...Show All
vidhyaprakash Serial Port Q .NET CF 2.0
Hi. I realised there was a serial port component in .NET 2.0, which is cool I haven't touched it nor played with it but will do. But currently have a question. Serial Ports are Comm Ports correct Would I be able to use the IR comm port/serial port to send data using this component (without connecting to a device for example) Thanks Anthony, much appreciated. I will try this and post here if i come up with questions/issues. Hi, NETCF V2 provides a managed SerialPort implementation consistent with the Desktop framework. You can use the class to send and receive data from serial/com port usually named as COM1, COM2, etc. NETCF also provides a managed IrDA implementation for communication with devices havin ...Show All
HowardP Control.Invoke error during debuging
A error message prompt out when i debugging the system. My device is Windows Mobile 5.0. Any one can help me Thanks..... System.NotSupportedException: Control.Invoke must be used to interact with controls created on on a separate thead at Microsoft.AGL.Common.MISC.HandleAr() at System.Windows.Forms.Control.get_Text() at SmartClient.Client.RunClient() here is my coding: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Net.Sockets; using System.IO; using System.Threading; using Microsoft.WindowsMobile.PocketOutlook; using Microsoft.WindowsMobile; using Microsoft.WindowsMobile.PocketOutlook.MessageInterception; ...Show All
ssauerw Skinning
Hi can anyone tell me if MSN Live Messenger is skinnable. If so how can I skin it The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://support.microsoft.com/newsgroups/ dg=microsoft.public.msn.messenger&cat=en-us-msn&lang=en&cr=US&ln=en-us nntp://microsoft.public.msn.messenger Get the latest information on Messenger from the Messenger Team MSN Space: http://spaces.msn.com/Me ...Show All
FleetPoint how change draft folder
Hi! I don't save my draft and recent post in my documents. I review SDK, but I not find nothing help me. Saludos, We can request it for final version Saludos, Those folders can't be changed unfortunately. ...Show All
NeptuneTech Does SetScaleBarDistanceUnit work?
I've been trying to get the new feature, SetScaleBarDistanceUnit to set the scale bar to kilometers, and haven't been able to get it to work. This may be due a misunderstanding by me so if you have an example where it works, I'd be grateful to see it! The trick is you have to make the call after your mapload. map = new VEMap('MapDiv'); map.LoadMap(new VELatLong(-27, 152), 5 ,'r' ,false); map.SetScaleBarDistanceUnit(VEDistanceUnit.Kilometers); John. Thank's John, that does make a difference! ...Show All
SJROOKER wince 5.0
Hi, I have a program writen in C# Visual studio.net 2005. Can I run this program on a Handheld that run winCE.net 4.2 OR the handheld need to be with winCE 5.0 or Mobile 5.0 Jeanet if your program is in C# .NET 2.0 then yes it will work with wince5.0 (Windows Mobile 2005) and Windows CE 4.2 (if you install .NET CF 2.0 with SP1) if your program is in C# .NET 1.0 it will be able to work in WinCE4.2 if you install .NET CF 1.0 SP3 I believe http://www.microsoft.com/downloads/details.aspx familyid=7bf313b9-71ed-4e15-ad6e-315dae6faf9f&displaylang=en The service pack has been released already last week or so I believe. http://www.microsoft.com/downloads/details.aspx F ...Show All
MatthewFisher VB 2005 & SQL Server 2005 Express
Hi guys, this is my first post here, im a VB Win developer with some experience, and now id like to try Smartphone programming, but i reaally need some help, heres my case: Im using VB 2005 and i have installed SQL Server 2005 Express. I create a new project and add a reference to System.Data.Sqlclient, located in: C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Client\v1.0 Then i procceed to import the namespaces: Imports System Imports System.Data Imports System.Data.SqlClient Since i just wanted to test if the connection works just like it does in VB Windows Applications, i added a Textbox (named Textbox1 ) and added the following code in the KeyPress event: Dim strconn As String = "Data Source=XZIBIT;Initi ...Show All
Marcus J Which Platform?
I have written an application using VS 2005, and installed it on a pda(s) running Windows Mobile 5.0. Now, what I want to do now, is to load the same application on to a Windows CE 5.0 environmnet as well. Looking at it, it should work The main question I have is that once loaded on either enviroment, I need to know which one the application is running. If the application is running on WM 5.0 follow a set up route of say a) or if it is CE 5.0 then do b). Not too much differnce to be honest, but I was wondering if there was some system variable that I could look at, which would indicate the environment - WM 5.0 or CE 5.0 IIya, Thank you for your suggestions. Ok, I take your point regarding the declarations. ...Show All
yanyee smartphone
How do i know what a smartphone is And is it possible to deploy a program through vb 2005 to smartphone via BlueTooth Mitch could you explain further and is the Motorola V3 Razer a smoartpone if your farmiliar with it Thanks Mitch The V3 Razer is not a Smartphone, but for example the Mototrola Mpx220 is a Smartphone. On a Smartphone the OS is Windows Mobile!!! In this forum SmartPhone usually a device running Windows Mobile for SmartPhone. For more generic definitions you can ask the web . Yes, you can if SP is active synced via BT and RAPI is enabled on your particular SmartPhone. ...Show All
MielieSpoor Notification and Radio buttons
Hi, i've a notification with 2/3 radio buttons and one button. I can get the selected item through WM_NOTIFY and SHNN_LINKSEL clicking on button. I would like to know how get selected item clicking on softkey menu (like in wifi network availables notification for example) Any idea Thanks in advance On WM5 SHNOTIFICATIONDATA is extended to provide softkey support. The easiest way to do it is to use: SHNOTIFICATIONDATA shnd; ... shnd.rgskn[0].pszTitle = _T("Left button cmd text"); shnd.rgskn[0].skc.wpCmd = 0x101; shnd.rgskn[0].skc.grfFlags = NOTIF_SOFTKEY_FLAGS_DISMISS; // or any other relevant flag etc... When you specified the above, you will receive a WM_COMMAND with wParam s ...Show All
