|
Thanks for the reply,
Maybe I was a little unclear in the exact explanation.
Yes, I installed the SDK. The new projects I create have the SDK selectable in the combobox. However, my old project that I created before I installed the SDK do not have it. So the problem lies there.
Some projects are quite big, so it would take me a some time to recreate them...
Thx for any suggestions!!!
|
|
|
|
|
Hi,
Try one of these:
1)Build->configuration
than try to add or choose the right one.
2)Build->Set Active Platform.
3)Tools->Configure Platform Manager.
GoodLuck,
Eli.
|
|
|
|
|
Hi, I have the following piece of code:
BD_ADDR direccion;<br />
direccion.LAP=0x19C4BB;
direccion.UAP=0x37;
direccion.NAP=0x0080; <br />
<br />
PORTEMUPortParams pp;<br />
memset (&pp, 0, sizeof(pp));<br />
pp.channel = 0;<br />
pp.device = (BD_ADDR) direccion;
pp.uiportflags = RFCOMM_PORT_FLAGS_REMOTE_DCB;
where BD_ADDR is a struct type according to MSDN web:
#pragma pack(push, 1)<br />
typedef struct __bd_addr {<br />
union {<br />
struct {<br />
unsigned int LAP : 24; <br />
unsigned int UAP : 8; <br />
};<br />
unsigned int SAP; <br />
};<br />
unsigned short NAP; <br />
} BD_ADDR;<br />
#pragma pack(pop)
The problem is when I compile the project appears the next error that I dont
understand:
- Error in line """pp.device = (BD_ADDR) direccion;"""
error C2679: binary '=' : no operator defined which takes a right-hand <br />
operand of type 'struct _BD_ADDR' (or there is no acceptable conversion)
Any suggestion??
Thanks.
Regards,
Javier
|
|
|
|
|
What is the type of pp.device ?
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
You can look at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/html/wce50conCOMPortEmulationFacility.asp
The type is BD_ADDR, they're the same type, so I don't understand the error.
Maybe this help (the web above) is for Windows CE and I'm developing for Windows Mobile 2003 SE, with the following software:
- Embedded Visual C++4 and his service pack 4.
- Microsoft Pocket PC 2003 SDK.
Could it be a problem? Can I develop an application for "making a virtual serial port" via bluetooth with this software?
Thanks in advance.
Regards,
Javier
|
|
|
|
|
Hi,
Maybe it's too late,but take a look on "Bt_api.h" and you will see that the type of pp.device is not BD_ADDR - but BT_ADDR.
anyway - i have the same problem:
i need to set up BlueTooth comunication between my PDA and another device
and i want to use a virtual COM port,but i can't create one.
my problems are:
1.i can't convert BD_ADDR to BT_ADDR.
2.i can't find the device dll.
can you help me?
Best regards,
Eli
|
|
|
|
|
Hi, not sure if I undertand very well your question...
But if you are asking how to communicate in BlueTooth using a virtual COM port, it is in fact exactly the same than using a standard COM port. You open it with CreateFile (providing the correct Port name) and then you send/receive data using WriteFile/ReadFile functions.
If this was not what you were asking for, try to be more precise in your question.
Hope this helps
|
|
|
|
|
Hi There,
I'm using eVC 4.0 and have the Visio 2000 version. I need to document my
program, so I thought that Visio was the right tool and I thought that it
would be an easy task for Visio to read the source code and automatically
create the UML class diagram like it is with the "normal" Visual C - but...
I can't find a way to do it! Are there anyone who will be able to give me a
good advice or who knows how to document ones progream in an easy way - I
highly appriciate any help!
Regards,
siva
|
|
|
|
|
when I porting a win32 application to a PPC 2002 application, there are many link errors, but they are the same type, error LNK2019.
.Exe project link options(Debug):
<mydllname>.lib commctrl.lib coredll.lib /nologo /base:"0x00010000"
/stack:0x10000,0x1000
/entry:"wWinMainCRTStartup" /verbose
/incremental:yes
/pdb:"ARMDbg/fch.pdb"
/map:"ARMDbg/fch.map"
/debug
/nodefaultlib:$(CENoDefaultLib) /out:"ARMDbg/fch.exe"
/libpath:"..\vg\ARMDbg"
/subsystem:$(CESubsystem)
/align:"4096"
/MACHINE:ARM
.Exe project link options(Release):
<mydllname>.lib commctrl.lib coredll.lib /nologo /base:"0x00010000"
/stack:0x10000,0x1000 /entry:"wWinMainCRTStartup" /incremental:no
/pdb:"ARMRel/fch.pdb" /map:"ARMRel/fch.map"
/nodefaultlib:$(CENoDefaultLib) /out:"ARMRel/fch.exe"
/libpath:"..\vg\ARMRel" /subsystem:$(CESubsystem) /align:"4096"
/MACHINE:ARM
.Dll project link options(Debug):
commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000"
/stack:0x10000,0x1000
/entry:"_DllMainCRTStartup" /verbose /dll
/incremental:yes
/pdb:"X86Dbg/<mydllname>.pdb" /map:"X86Dbg/<mydllname>.map"
/debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib)
/def:".\<mydllname>.def"
/out:"X86Dbg/<mydllname>.dll"
/implib:"X86Dbg/<mydllname>.lib" /pdbtype:sept /subsystem:$(CESubsystem)
/MACHINE:IX86
.Dll project link options(Release):
/nologo /base:"0x00100000"
/stack:0x10000,0x1000
/entry:"_DllMainCRTStartup" /verbose /dll /incremental:no
/pdb:"ARMRel/<mydllname>.pdb" /map:"ARMRel/<mydllname>.map"
/nodefaultlib:$(CENoDefaultLib) /def:".\<mydllname>.def"
/out:"ARMRel/<mydllname>.dll" /implib:"ARMRel/<mydllname>.lib"
/subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
a typical error message is bellow:
myDoc.obj : error LNK2019: unresolved external symbol "public: bool __thiscall Quantity::Set(unsigned long)" (?Set@Quantity@@QAE_NK@Z) referenced in function "protected: void __thiscall CmyDoc::OverrideDefaultInitialValues
(class IO_Rack *)" (?OverrideDefaultInitialValues@CmyDoc@@IAEXPAVIO_Rack@@@Z)
The function in the Dll:
>> bool Quantity::Set(unsigned long ulInput)
>> {
>> dBase = (double)(ulInput) ;
>> return true ;
>> }
any tip or suggestion would of great help.
Thank you advanced.
|
|
|
|
|
Maybe you need to import some library?
|
|
|
|
|
Thank your reply.
I miss define a macro, so the dll cannot be export
|
|
|
|
|
If I have a application for pocket pc 2003, and I want to run in pocket pc 2003 emulator, how do I do?
|
|
|
|
|
If you are making an application in "Microsoft embedded Visual C++" you can test it in the emulator compiling it and targeting the project to the emulator (maybe first you must configure the emulator connection in "tools->configure platform manager" menu).
If you have an executable application and you want to download it to the emulator you must configure the "active sync" program to emulate that "pocket PC Emulator" is a real device connected to the PC. In the "Microsoft embedded Visual C++" Help explain how to do it, but I try it once I couldn't (you must configure the emulator connection with active sync in "tools->configure platform manager" menu and so on).
Regards,
Javier
|
|
|
|
|
Hi,
Every one
i m new to handheld programming and i m trying to work in vb.net. Now i m getting some errors while running pocket pc application in
VS.NET 2003. First i want to ask that the compact framework of vs.net
installs every time when ever i run my application. Is there any problem with my vs.net or
is it a bug in vs.net.
Secondly i cannt call webservice within my application please suggest me the solution i m getting
error "Unable to connect to remote server"
and
also tell me that which book is best for study in this context.
Thirdly,
i want to ask that developers currently are making which type of projects for Pocket Pc s if possible then plz send me few websites that are helpful to me.
Plz reply me in detail or send me the links of articles on web.
I shall be grateful to you.
Thanks in advance.
|
|
|
|
|
I am writing for PocketPC 2002 using Embedded Visual Tools 3.0 (EVT3.0). The on-line documentation for CFile::Write() says "Write throws an exception in response to several conditions, including the disk-full condition." When I compile a try{ cfile->Write(...) } catch{...} code segment, the compiler flags the first of several cfile->Write() statements with: "... warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX". My problem is where to insert this switch in the EVT3.0 environment?
I've found prerelease MSDN documentation on Structured Exception Handling <http: msdn.microsoft.com="" library="" default.asp?url="/library/en-us/dv_vccelng4/html/elgrfStructuredExceptionHandling.asp">, which says "Structured exception handling works with C and C++ source files. However, it is not specifically designed for C++. Although destructors for local objects will be called if you use structured exception handling in a C++ program (if you use the /GX compiler option), you can ensure that your code is more portable by using C++ exception handling. The C++ exception handling mechanism is more flexible, in that it can handle exceptions of any type." BUT, I think they're referring to Visual Studio 5 or 6, which has a slightly different Project interface than EVT3.0.
I also get the following linker errors due to the try/catch segment:
"error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
error LNK2001: unresolved external symbol ___CxxFrameHandler"
Does anybody know how to make EVT3.0 happy here?
Thanks
Mike Landis
|
|
|
|
|
Mike Landis wrote:
Does anybody know how to make EVT3.0 happy here?
You don't because eVC++ 3.0 does not support C++ exceptions, only structured exceptions.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Hi EveryBody!
Anyone have sample code from subject?
Platform:WinCE
Enviroment:eVC++ / com port / dotmatrix printer
Sorry my bad english
THX
|
|
|
|
|
frakk wrote:
Anyone have sample code from subject?
Yes, what specifically do you want to know?
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Sorry João Paulo Figueira, but my english is poor.
The printing problem more difficult for me, i can't explain exactly.
The fact of the matter is that need a sample of printing
where:
sw: evc++ 4.0
hw: dot matrix printer
port:COM1..2
Thank you in anticipation!
|
|
|
|
|
Hi,
I am trying to use property database for a win ce app. from what i know the db are created in the object store and db volume is needed for permanent stored. but my db vol file dun seem to holding the db created.
is there anyway i can view my db other then PPC access?? and how can the program be done on the PC side to access data the the db??
|
|
|
|
|
Unable to make a working pluggable MIME Filter on SPV E200 (Smartphone 2003) using eVC++ 4.0.
Everything seems OK :
CAB download and installation
Registry settings
The browser recognizes the content type and find that it is filtered (no "unknown content type" message) but the screen stays white and the browser seems to be in a loop : must be killed manually.
Anybody with similar experience ?
jabre
|
|
|
|
|
Can I open evc++ 3.0 sample with evc++ 4.0 ?? , I don't know What are they difference!
Thank you!!;P
|
|
|
|
|
eVC3 targets Windows CE 3.0 (Pocket PC 2000 / 2002)
eVC4 targets Windows CE 4.x (Windows Mobile 2003)
eVC4 also supports C++ exceptions, RTTI and has better support for templates.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
hi, can any body tell me how to disable the activesync in Pocket PC.
|
|
|
|
|
Hey All,
I would like to be able to access functions within an application extension on my pocket pc.
Specifically, I have an HP Photosmart Mobile Camera and would like to write a VB app that does the following:
I click on a button on my form and then the program captures an image.
I noticed a couple of application extensions in the Windows directory of my pocket pc...
|
|
|
|