|
Hi all,
I am developing a vb.net app for a CE4.2 PC device. I'm looking for a method of licensing the software. I would like to use the MAC address and some cryptography to license the software to a given CEPC. (The CEPC we use has the network adapter built in to the main board so no danger of network cards being swapped out). Problem is, I cant find a way to get the MAC address from within the CompactFramework. I read about an IpHlpApi.dll function called GetAdaptersInfo but I have no idea how to P/Invoke or Marshal the Ref types in VB.net. Any suggestions or vb source code that would help???
Thanks
-Chris
|
|
|
|
|
I'm interested in the answer for this one too...
sun.lcr
|
|
|
|
|
Does your application control twin rovers on the mars, If not, why not just make it a freeware and provide it here? After all you have been using code from codeproject and other sites like it for free since long.
|
|
|
|
|
Hi,
I want to invoke a html page from my EVC++ program and so have tried the following line of code:
CreateProcess (TEXT("iexplore.exe"), TEXT("\SIMPLEBUTTON.HTML"), NULL,
NULL, FALSE, 0, NULL, NULL, NULL, NULL);
The program launches the internet explorer but doesnot open the page, though the path given is right. If anybody can throw any light on this, I would be grateful.
Thankyou,
Deepa
|
|
|
|
|
Hi people,
can someone tell me how can I get file extension icon in .NETCF?
Any help will be highly appreciated.
Best Regards
Kamen
Kamen Boyadjiev
|
|
|
|
|
Hi all -
The current signature tool I am using on Pocket PC device is easyink which deals only with bmp files. Is there any similar tool which displays and saves signature in TIFF format.
Right now we have a bmp to TIFF convertor routine. But we'll have to write TIFF to bmp convertor again in order to display the signature on the device via easyink.
Any ideas? anybody has a clue about bmp to TIFF convertor routine or a tool like that?
Any other efficient idea to store the signatures? Please let me know
Thanks & Regards,
|
|
|
|
|
CAN NOT DEPLOY/DEBUG a CF application in any language ON THE IPAQ EMULATOR after installing the FULL REMOTE DEBUGGING COMPONENTS.
the ipac emulator 2002 was working fine until then. I reloaded the entire .NET system including the framework, vs .net and it still does not work.
does anybody have any idea where in the registry is the debugging information kept?
I really don't want to rebuild the entire system if I don't have to...
versions used:
Microsoft development environment version 7.1.3088
Microsoft .NET Framework 1.1 version 1.1.4322
Any help will be greatly appreciated….
thanks
sun.lcr
|
|
|
|
|
Hello there,
In my app I need to call some methods on COM-objects located on a server. (Both server and mobile device are in a Wireless LAN). Is there any easy way that I can access the COM-object on the server and call it's methods? Any help or pointers to some documentation related to this subject is highly appreciated.
Greetings,
Davy
|
|
|
|
|
I have developed a plugin dll for Autodesk OnSite View using eMbedded Visual C++ 3.0 and it works just fine with the older models. But the compiler is unable to register the DLL automatically on compiling with the newer model Pocket PCs.
I was wondering if it is possible for me to register this DLL manually? Or if there was some other solution to the this problem. Thanks.
|
|
|
|
|
|
I would like to start writing apps for my pocket pc running windows ce. I've just downloaded eMbedded Visual C++ 3.0 and I don't have a handle on it just yet. Can anyone direct me to a tutorial or a site for learning eMbedded?
Also, I've tried to enter some of my code into eMbedded (which compiles in .net) and it didn't work. Then I tried something simple. Why doesn't this code work in eMbedded:
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello World";
return 0;
}
Thanks!
-Wp
|
|
|
|
|
|
Hi, I need to send a button click message to a dialog window button from a thread. I use "PostMessage(BN_CLICKED, IDC_GPS,m_hWnd) " but I think the lparam and wparam are incorrect. I don't find an example or something else.
Can anybody help me?
Thank you.
Regards.
Regards,
Javier
|
|
|
|
|
I try to use use PostMessage(WM_COMMAND, MAKEWPARAM(IDC_GPS, BN_CLICKED), <button
> handle>).
Then I try to use "HWND GetDlgItem( int nID )" to get the button handle, but the
compiler makes a error: I can use Cwnd::GetDlgItem ( ) , but not
CWindow::GetDlgItem , which returns the button handle.
How can I use the Window classe?
Thanks.
Regards,
Javier
|
|
|
|
|
The BN_CLICKED message is a notification sent to the button's parent window. If you want to simulate a button press, send the BM_CLICK message to the button.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Hi, João .
ok, I use:
HWND Hbutton = GetDlgItem(ptrDlg->m_hWnd,IDOK);<br />
SendMessage (Hbutton,BM_CLICK,0,0);
from my thread and it works.
Another question: if I want to send it from the same dialog window (for example from other button), How can I get the handle to the button? Well, I test the following:
SendDlgItemMessage(IDC_GPS,BM_CLICK, 0, 0 );
from the same dialog and it works.
Thanks
Regards,
Javier
|
|
|
|
|
Hi,
What is the difference between Win CE 4.2 and Windows Mobile 2003?
Does Embedded visual c++ 4 support development for Windows Mobile 2003 as it does for WinCE 4.2?
Regards,
Eli
|
|
|
|
|
O.K
I realized that Windows Mobile 2003 is actually Windows CE .NET 4.2.
There is a good article :
http://www.oreillynet.com/pub/a/wireless/2003/07/23/mobile_2003.html
|
|
|
|
|
..good.. sorry the link was wrong, here's the correct one:
www.opennetcf.org/Forums/topic.asp?TOPIC_ID=317
|
|
|
|
|
I had problems using GetDC and ReleaseDC, so I built a blank MFC app like this:
BOOL CTestdcDlg::OnInitDialog()<br />
{<br />
CDialog::OnInitDialog();<br />
<br />
SetIcon(m_hIcon, TRUE);
SetIcon(m_hIcon, FALSE);
<br />
CenterWindow(GetDesktopWindow());
<br />
SetTimer(1,200,NULL); <br />
return TRUE;
}<br />
<br />
<br />
<br />
void CTestdcDlg::OnTimer(UINT nIDEvent) <br />
{<br />
CDC *myDC;<br />
switch(nIDEvent)<br />
{<br />
case 1:<br />
myDC=GetDC();<br />
ReleaseDC(myDC);<br />
break;<br />
}<br />
CDialog::OnTimer(nIDEvent);<br />
}
The memory used by this application increases continuously.
What am I missing?
This issue is causing me a lot of problems, do you ever encountered a problem like this?
Thanks,
Keraam
|
|
|
|
|
Hi,
I don't really see the problem,but try to change the timer interval(i don't think that GetDC() and ReleaseDC() takes more than 200msec,but maybe it's the problem).
Good luck
Eli
|
|
|
|
|
I already tryied but it doesn't change. Thank you anyway.
I fixed the problem using handles instead of pointers for the dc, but I really don't understand why it happens.
|
|
|
|
|
Hi, I need to have a pointer to a dialog window from a thread. I made a global pointer variable to a dialog window and it works. But Is it possible to do a pointer which can pointer to several dialogs (one at the same time)?
I need to pointer to the active dialog from the thread(the active dialog window it's not the same all the time). I try "void* pointer" but doesn't work, (there'is a error in the reference to the pointer inside the thread).
Regards.
Regards,
Javier
|
|
|
|
|
You must access the pointer value inside a critical section. Otherwise you risk having data corruption.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Hi everybody,
I am developing a collaboration application on a Win CE .NET 4.2 based device and Windows 2k/XP based devices and I am trying to remote control the CE device (e.g. like it is possible on desktops with VNC). Basically, this is possible, since it can be done with the Active Sync remote display application. However I'd like to create my own remote control and integrate it into my appliaction, hence my question is: Is it possible to use the interface the AS remote display uses? Does anybody know if this protocol/API is documented somewhere?
Thank you very much
|
|
|
|