473,396 Members | 1,891 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,396 software developers and data experts.

Embedded in assembly

Hi

got a .xsd file i wanne embedded but can't see to find how to cal that
file in managed c++
here is the code I use but I dont get any error or something.

Assembly *a = Assembly::GetExecutingAssembly();
Stream *s = a->GetManifestResourceStream("CDBase.xsd");
m_xmlData = new DataSet();
m_xmlData->ReadXmlSchema(s);
m0_xmlData->WriteXmlSchema("kwenie.xsd");

Any suggestion.

Bart
Nov 17 '05 #1
1 1007
Bart V wrote:
Hi

got a .xsd file i wanne embedded but can't see to find how to cal that
file in managed c++
here is the code I use but I dont get any error or something.

Assembly *a = Assembly::GetExecutingAssembly();
Stream *s = a->GetManifestResourceStream("CDBase.xsd");
m_xmlData = new DataSet();
m_xmlData->ReadXmlSchema(s);
m0_xmlData->WriteXmlSchema("kwenie.xsd");

Any suggestion.

Bart

oeps the zero in m0_xmlData is just a typo with copying and pasting
sorry for the trouble
Nov 17 '05 #2

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

Similar topics

2
by: Hyoung Lee | last post by:
Due to performance reasons--code size, real-time accuracy, and power consumption--many embedded SW engineers traditionally develop embedded products in assembly languages. However, thanks to the...
4
by: Jay Douglas | last post by:
Hello all, I have a basic XML file of which I set the Build Action to "Embedded Resource" The XML file is simple: <root> <item> <name>Test Name</name> <description>Test...
12
by: Bill Hanna | last post by:
C is inadequate for embedded systems for the following reasons: 1) Direct addressing of memory mapped I/O is not supported simply and easily. You have to find work-arounds that are compiler...
1
by: james | last post by:
What class / method should I be using to get the full path to an embedded resource ? In my case I have an .xml file that my app uses, it is set as embedded resource, and I have a control that...
2
by: Jani Mantytorma | last post by:
I have embedded resource called Settings.xml. I'm able to read the resource but how can I write data to the resource. The code for read operation follows: private XmlDocument m_doc = new...
5
by: Drew | last post by:
Assembly asm = Assembly.GetExecutingAssembly(); me = new Bitmap(asm.GetManifestResourceStream("me.gif")); I have used this before without any problem, but now I get: An unhandled exception...
7
by: Christofer Dutz | last post by:
Hi, I am trying to read a XML-File which I marked as embedded resource from within the code of my DLL. Unfortunately it doesn't work. On my search for the error I inserted some code for...
16
by: Marina | last post by:
Hi, I am trying to find the minimum security settings to allow a windows control embedded in IE have full trust. If I give the entire Intranet zone full trust, this works. However, this is...
1
by: thomson | last post by:
Hi all, I have added a new Item in my Solution Test.sql which has got some sql scripts and i have changed the Build Action Property of the file to embedded Resources private string...
11
by: Garrett | last post by:
I'm fairly new to VB .NET and programming in general, and I want to give my program its own icon without it being a separate file. I have the icon as part of the project, and its Build Action is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.