|
|
when i was compiling the sqlite3.dll,one error has happended,"undefine localtime_s",Why?
|
|
|
|
|
Give us more details, it seems to be a problem with an external compilation and not a C# problem.
|
|
|
|
|
Windows Phone Developer Tools Preview [^] is available now as a free single download at Windows Phone Developer Tools. It includes:
- Visual Studio 2010 Express for Windows Phone
- Windows Phone Emulator
- XNA Game Studio 4.0
The preview available for free. The final version will be free too.
If you already have another version of Visual Studio 2010 RC installed this will act as an add-on to that.
Developers can take advantage of the following features on Windows phone 7:
- Accelerometer, an intuitive control that responds to motion
- A Microsoft Location Service to provide developers with a single point of reference to acquire location information
- Microsoft Notification Service for pushing information to the phone, regardless of whether or not an application is running
- Hardware-accelerated video with digital rights management (DRM)
- Internet Information Services Smooth Streaming for the industry’s highest quality content viewing experience
- Multitouch
- Camera and microphone support
Also, The Marketplace features a panoramic design and active merchandising to increase the discoverability of games and applications, and supports one-time credit card purchases, mobile operator billing and advertising-funded applications. The Marketplace will also enable customers to try applications before buying them and allow developers to cross-promote their applications through deep linking.
|
|
|
|
|
I created a SDI without DOC/VIEW, and changed "CChildView : public CWnd" to "CChildView : public CListView",but this not works. list data added to CChildView does not displayed in view.
any idea or sample program? thanks.
|
|
|
|
|
Hi
I am making a simple smart device project in C# where I have a login screen and I want to store the data using SQL Server CE. I have followed this link to connect my smart device project with the database, but I am finding problem
http://www.codeproject.com/KB/mobile/loginsmartdevicedatabase.aspx
In this link in the last section it says that after we build our project we will be able to see the data table adapter frame in the toolbox which we can drag into the project and can work but after building the project I am not able to see that frame anywhere in the tollbox. Can anyone help me as to why this is happening
Thanks in advance!!!!
|
|
|
|
|
Answer on the biggest mobile developer survey to date. Have your say on the future of mobile development and win prizes, including a Nexus One smartphone, an HTC Touch 2 or two massive amazon vouchers (one worth 500 Euros, the other 250). Register at www.visionmobile.com/developers
|
|
|
|
|
Hi
Is it possible to start an exe whenever the system reboots.
|
|
|
|
|
You can use the Windows\StartUp folder for this.
Put a shortcut/loader exe in here and it will automatically start them on boot.
|
|
|
|
|
Under WinCE if you put an EXE into an AutoRun folder then it will run at startup.
|
|
|
|
|
|
There is a folder named Start programs under windows directory. You should place the executable under it.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Hi I have an exe and I want to start it when the device reboots so I created a short cut of it in the StartUp folder with SHCreateShortCut API .... but when my device reboots the exe doen't start its gives a certification error dialog box stating that
"The file cannot be opened .Either it is not signed with a trusted certificate or one of the components cannot be found"
Actually I have an application and in the cab file of that application I have included that exe( in the Program Files folder) and i have tried to put that exe in teh wiindows startup.
Can anyone help me in t his regard as to how tackle this prob
|
|
|
|
|
I think I just answered your question in the MSDN forums. For others looking for the answer you need to change your device security settins so that it will run unsigned executables.
Connect your phone to your computer then in Visual Studio select Tools->Device Security Manager. From there you can change the device's security model to "Security Off"
|
|
|
|
|
@interface testTable2ViewController : UIViewController
{
NSMutableArray **indexStore;
}
@property(nonatomic , retain) NSMutableArray **indexStore;
@end
@implementation testTable2ViewController
@synthesize indexStore;
- (void)viewDidLoad
{
for (NSInteger i = 0; i <10; i++)
{
indexStore[i] = [[NSMutableArray alloc]init];
}//for
}
@end
//////////////////////////////////////////////////////
but indexStore[i] = [[NSMutableArray alloc]init]; can't work
Error Message is EXC_BAD_ACCESS...
why it is not working?hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
You never allocate space for indexStore . If you know it'll always have 10 elements, declare it as
NSMutableArray *indexStore[10];
and
@property(nonatomic , retain) NSMutableArray *indexStore[10];
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
CodeProject MVP for 2010 - who'd'a thunk it!
|
|
|
|
|
Hi, i want to develop a small game for windows mobile with C#.
What is the fastest 2D drawing API? Im very used to XNA, so is there anything that I can use that's similar? I heard GDI is pretty slow.
ThanksStrive to be humble enough to take advice, and confident enough to do something about it.
|
|
|
|
|
If you are drawing sprites then you should use DirectDraw. Unfortunatly DirectDraw isn't directly exposed to .Net developers. But there's another CodeProject article where some one declared all of the imports necessary to begin using DirectDraw from the .Net Compact Framework.
|
|
|
|
|
Hi
I want a thread to start after 15/20 min For that can I use CeRunAppAtTime() .If yes can anyone provide me ways to do that.
Suppose this is my thread
void main()
{
..
..
g_handle= ::CreateThread( NULL, 0,MyThread, NULL, 0, 0);
....
}
Now I want This MyThread to start after 15/20 min can I do that
Thanks in advance
|
|
|
|
|
Start your thread immediatly. When the thread starts have it to create an unnamed event. After creating the event the thread can call CeRunAppAtTime and pass the event handle. Then call the Wait function using the even't handle as athe parameter. The thread will be blocked from running until the event gets triggered.
For information on using CeRunAppAtTime with an event handle please see my comment at the bottom of This MSDN Documentation page[^]
|
|
|
|
|
I am using datagrid in my vb.net (pocket pc) application.
I am using the following code to set the tablestyle to the datagrid to adjust the column width
<pre>
Dim ts As DataGridTableStyle = New DataGridTableStyle
ts.MappingName = "Products"
Dim Product As DataGridTextBoxColumn = New DataGridTextBoxColumn
Product.MappingName = "Product"
Product.HeaderText = "Product"
Product.Width = 130
ts.GridColumnStyles.Add(Product)
Dim Qty As DataGridTextBoxColumn = New DataGridTextBoxColumn
Qty.MappingName = "Quantity"
Qty.HeaderText = "Quantity"
Qty.Width = 75
ts.GridColumnStyles.Add(Qty)
Me.DataGrid1.TableStyles.Add(ts)
Me.DataGrid1.TableStyles(0).GridColumnStyles(0).Width = 100
</pre>
After binding the datagrid I use this code to set the datagridtablestyle but it only show my one column me nothing even it does not return the values in the datagrid with original tablestyle. It show only row header in the grid but does not show the columns.
Any idea how I can solve this problem????
Thanks In advance
|
|
|
|
|
Can anyone suggest a way as to how i can use a timer in a dll.How we can use windows messages or settimer .
Thanks in advance!!!!
|
|
|
|
|
|
SetTimer requires a message pump but my dll doesnt have any. So i cant use it. I need an alternative of Sleep() so that i can use it
|
|
|
|
|