473,385 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

embedded C++ to .net

Hi,

im recently new to embedded development. Im using an embedded system
with Windows CE5 installed and trying to communicate with some
hardware with a PC104 interface. The processor is an ARMV processor.

The board (development kit from www.arcom.co.uk called the Viper)
works fine and i can write programs using VS2005 in C++, C# no
problem. The PC 104 card came with a dll and Lib file with .h files
used in the sample code that was provided with the Card. The examples
were unfortunately in embedded C++ 4 projects.

As i am more au fait with the VS 2005 environment and want to continue
writing further code there i have tried to update the code through
creating a new project in C++ in VS2005 and porting over the code
manually.

I am currently getting the error..

------ Build started: Project: CANDriverTest, Configuration: Debug
Smartphone 2003 (ARMV4) ------
Linking...
CANDriverTestDlg.obj : error LNK2019: unresolved external symbol
SetBitRate referenced in function "protected: virtual int __cdecl
CCANDriverTestDlg::OnInitDialog(void)" (?
OnInitDialog@CCANDriverTestDlg@@MAAHXZ)

and lots more where that came from.

I assume its not linking to the Dll properly. If so is this an issue
with managed and unmanaged code in the /clr ?

has anyone got advice on porting over code from embedded C++ 4 to
VS2005 C++ .NET CF?

all i need is the basic functionality from the Dll to get me started.

thanks.

Mar 2 '07 #1
2 1796
Fergal wrote:
Hi,

im recently new to embedded development. Im using an embedded system
with Windows CE5 installed and trying to communicate with some
hardware with a PC104 interface. The processor is an ARMV processor.

The board (development kit from www.arcom.co.uk called the Viper)
works fine and i can write programs using VS2005 in C++, C# no
problem. The PC 104 card came with a dll and Lib file with .h files
used in the sample code that was provided with the Card. The examples
were unfortunately in embedded C++ 4 projects.

As i am more au fait with the VS 2005 environment and want to continue
writing further code there i have tried to update the code through
creating a new project in C++ in VS2005 and porting over the code
manually.

I am currently getting the error..

------ Build started: Project: CANDriverTest, Configuration: Debug
Smartphone 2003 (ARMV4) ------
Linking...
CANDriverTestDlg.obj : error LNK2019: unresolved external symbol
SetBitRate referenced in function "protected: virtual int __cdecl
CCANDriverTestDlg::OnInitDialog(void)" (?
OnInitDialog@CCANDriverTestDlg@@MAAHXZ)

and lots more where that came from.

I assume its not linking to the Dll properly. If so is this an issue
with managed and unmanaged code in the /clr ?

has anyone got advice on porting over code from embedded C++ 4 to
VS2005 C++ .NET CF?

all i need is the basic functionality from the Dll to get me started.

thanks.
I really think you need a windows programming group, or a .NET group.
Have a look in the microsoft.public.* hierarchy of newsgroups. Despite
the fact that you are writing C++ there is no C++ conteent in your
question. It's all about compilers and platforms.

john
Mar 2 '07 #2
On Mar 2, 8:17 am, John Harrison <john_androni...@hotmail.comwrote:
Fergal wrote:
Hi,
im recently new to embedded development. Im using an embedded system
with Windows CE5 installed and trying to communicate with some
hardware with a PC104 interface. The processor is an ARMV processor.
The board (development kit fromwww.arcom.co.ukcalled the Viper)
works fine and i can write programs using VS2005 in C++, C# no
problem. The PC 104 card came with a dll and Lib file with .h files
used in the sample code that was provided with the Card. The examples
were unfortunately in embedded C++ 4 projects.
As i am more au fait with the VS 2005 environment and want to continue
writing further code there i have tried to update the code through
creating a new project in C++ in VS2005 and porting over the code
manually.
I am currently getting the error..
------ Build started: Project: CANDriverTest, Configuration: Debug
Smartphone 2003 (ARMV4) ------
Linking...
CANDriverTestDlg.obj : error LNK2019: unresolved external symbol
SetBitRate referenced in function "protected: virtual int __cdecl
CCANDriverTestDlg::OnInitDialog(void)" (?
OnInitDialog@CCANDriverTestDlg@@MAAHXZ)
and lots more where that came from.
I assume its not linking to the Dll properly. If so is this an issue
with managed and unmanaged code in the /clr ?
has anyone got advice on porting over code from embedded C++ 4 to
VS2005 C++ .NET CF?
all i need is the basic functionality from the Dll to get me started.
thanks.

I really think you need a windows programming group, or a .NET group.
Have a look in the microsoft.public.* hierarchy of newsgroups. Despite
the fact that you are writing C++ there is no C++ conteent in your
question. It's all about compilers and platforms.

john- Hide quoted text -

- Show quoted text -
Ok thanks. will look again.

Mar 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Jean-David Beyer | last post by:
I have some programs running on Red Hat Linux 7.3 working with IBM DB2 V6.1 (with all the FixPacks) on my old machine. I have just installed IBM DB2 V8.1 on this (new) machine running Red Hat...
11
by: Mark Yudkin | last post by:
The documentation is unclear (at least to me) on the permissibility of accessing DB2 (8.1.5) concurrently on and from Windows 2000 / XP / 2003, with separate transactions scope, from separate...
8
by: Colleyville Alan | last post by:
I have been working on an Access app that takes info from a file and writes it to a spreadsheet on a form, simultaneously saving the spreadsheet to Excel. I got the idea that the same concept...
0
by: Nick White [MSFT] | last post by:
Hello fellow Microsoft Windows Mobile and Embedded enthusiasts: I invite you to peruse the list below of upcoming technical chats and Webcasts offered by the Windows Mobile and Embedded Devices...
59
by: Jeff Bowden | last post by:
For ease of configuration and other reasons, I would like for my single-user GUI app to be able to use postgresql in-process as a library accessing a database created in the users home directory. ...
49
by: Alex Vinokur | last post by:
Are there any restrictions/problems for use of C++ STL in development in embedded systems? In particular: * Does STL require too much space/memory? * Is 'implementation of STL...
0
by: YellowFin Announcements | last post by:
Whitepaper: "Yellowfin Reporting" enables Embedded Business Intelligence -------------------------------------------------------------------------------- Embedded reports are a standard...
1
by: leeanngriego | last post by:
I have a client who has asked me to find him some solid up and coming embedded engineers. 2 to 3 years expereince with Embedded Linux, VxWorks, Nucleus or any other RTOS who has working in L2/L3...
20
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
There are a few guarantees I exploit in the C Standard. For instance, I might write (unsigned)-1 to get the maximum value for an unsigned integer. Also, I might rely on things such as: ...
30
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
Let's say we had a simple function for returning the amount of days in a month: unsigned DaysInMonth(unsigned const month) { switch (month) { case 8: case 3: case 5:
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.