473,480 Members | 4,841 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

wrapping c# for use in c/c++?

I'm forced to write an application in c/c++ but I need to use DataSets to
handle data.

This isn't actually data from a database but just from xml files. I was
thinking of putting the dataset stuff into c# and then calling functions to
access it from c++ / is this possible? or a bad idea!

I don't want to use managed c++ because I need to work with directx. I know
there are managed directx libs available but most resources on the net are
for c++.
any help would be awesome :D

-p
Nov 16 '05 #1
2 2108
Hi,

No reason you can't use managed C++ for the dataset stuff and unmanaged for
the rest of it - this has the advantage of being able to all compile nicely
together. If you're writing most of the application in unmanaged C++ and are
just using .NET for the XML bits and pieces, there are loads of XML parsing
libraries around in old-school C++.

Steve

"ilPostino" <ne**@ip80.com> wrote in message
news:uT**************@tk2msftngp13.phx.gbl...
I'm forced to write an application in c/c++ but I need to use DataSets to
handle data.

This isn't actually data from a database but just from xml files. I was
thinking of putting the dataset stuff into c# and then calling functions to access it from c++ / is this possible? or a bad idea!

I don't want to use managed c++ because I need to work with directx. I know there are managed directx libs available but most resources on the net are
for c++.
any help would be awesome :D

-p

Nov 16 '05 #2
Hi,

No reason you can't use managed C++ for the dataset stuff and unmanaged for
the rest of it - this has the advantage of being able to all compile nicely
together. If you're writing most of the application in unmanaged C++ and are
just using .NET for the XML bits and pieces, there are loads of XML parsing
libraries around in old-school C++.

Steve

"ilPostino" <ne**@ip80.com> wrote in message
news:uT**************@tk2msftngp13.phx.gbl...
I'm forced to write an application in c/c++ but I need to use DataSets to
handle data.

This isn't actually data from a database but just from xml files. I was
thinking of putting the dataset stuff into c# and then calling functions to access it from c++ / is this possible? or a bad idea!

I don't want to use managed c++ because I need to work with directx. I know there are managed directx libs available but most resources on the net are
for c++.
any help would be awesome :D

-p

Nov 16 '05 #3

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

Similar topics

13
3818
by: Roy Smith | last post by:
I've got a C library with about 50 calls in it that I want to wrap in Python. I know I could use some tool like SWIG, but that will give me a too-literal translation; I want to make some...
11
5580
by: yawnmoth | last post by:
word wrapping normally treats some spaces as line feeds, if there hasn't been a line feed for quite a while. so while a string with eighty consecutive a's might not word wrap, a space placed...
5
5274
by: nimdez | last post by:
Hi, I am working on an existing code base in which a lot of data displayed to the user is formatted in tables. Most tables are printed row-by-row using printf() with "%s" print conversion...
2
1953
by: dam_fool_2003 | last post by:
My understanding about wrapping is that we add utilities to a lib function for our specific use. So days ago in the c.l.c I saw a function def as: void * xmalloc (size_t size) { register void...
2
1876
by: Scott | last post by:
I having a problem where I need to turn off the wrapping feature for all columns in my datagrid. Example code would be: <asp:DataGrid id="ResultGrid" runat="server" AutoGenerateColumns="true">...
1
1754
by: mg | last post by:
I set the width of a WebForm Label but do not get line wrapping (see below). What can I do to get line wrapping WebForm1.asp <asp:Labe id="Label1" style="Z-INDEX: 101; LEFT: 40px; POSITION:...
4
1900
by: rodchar | last post by:
Hey all, I have a datagrid that auto-generate the columns. When I run the app some of the column values are wrapping. How do I prevent the values from wrapping? Do I have to use template...
8
13830
by: Nathan | last post by:
I am trying to prevent a horizontal list from wrapping. Each list item is floated with "float: left". Currently I use an ugly hack. I set the width of the list to a large number which is...
9
1402
by: Siv | last post by:
Hi, I am trying to find a wrapping routine for text and not having much luck. The reason I need one is that I am producing a report where the text that was stored in the database was written into...
6
1165
by: Markus Ernst | last post by:
Hi Searching for a possibility to display some text with preserved white space and line breaks, but with long lines being wrapped, I found this CSS declaration, which I found helpful: pre {...
0
6905
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7041
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6736
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5331
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4772
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
2994
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1299
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
561
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
178
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.