473,668 Members | 2,552 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Expert System in C#

Hello, everyone --

I have in mind an expert system, but the problem is I program in C#, and my
partner - in C++. If she writes an algorithm in C++, can VS 2008 Express
Edition convert it to C# afterwards? I want the application to be
cross-platform, that's why C# was chosen as the main language.

Appreciate any feedback!

Thank you!

Oct 5 '08 #1
7 5451

try Sharpdevelop, its free also, I have not it at this moment, but I believe
it can help you, by creating a COM components for your C# components
because Sharpdevelop doesnt work, as I remember, with C++.

hope this helps, Carlos

aliy" <va******@windo wslive.comwrote in message
news:09******** *************** ***********@mic rosoft.com...
Hello, everyone --

I have in mind an expert system, but the problem is I program in C#, and
my
partner - in C++. If she writes an algorithm in C++, can VS 2008 Express
Edition convert it to C# afterwards? I want the application to be
cross-platform, that's why C# was chosen as the main language.

Appreciate any feedback!

Thank you!

Oct 5 '08 #2
also, she could try to use her own tools to create her COM components,

Carlos.

"xcal" <a@a.comwrote in message
news:eB******** ********@TK2MSF TNGP04.phx.gbl. ..
>
try Sharpdevelop, its free also, I have not it at this moment, but I
believe
it can help you, by creating a COM components for your C# components
because Sharpdevelop doesnt work, as I remember, with C++.

hope this helps, Carlos

aliy" <va******@windo wslive.comwrote in message
news:09******** *************** ***********@mic rosoft.com...
Hello, everyone --

I have in mind an expert system, but the problem is I program in C#, and
my
partner - in C++. If she writes an algorithm in C++, can VS 2008 Express
Edition convert it to C# afterwards? I want the application to be
cross-platform, that's why C# was chosen as the main language.

Appreciate any feedback!

Thank you!


Oct 5 '08 #3
On Sat, 04 Oct 2008 21:21:41 -0700, Val Paliy <va******@windo wslive.com>
wrote:
Hello, everyone --

I have in mind an expert system, but the problem is I program in C#, and
my
partner - in C++. If she writes an algorithm in C++, can VS 2008 Express
Edition convert it to C# afterwards? I want the application to be
cross-platform, that's why C# was chosen as the main language.
Then perhaps your partner should simply learn C#. For someone already
experienced in C++, and especially with someone on the team who already
knows C#, the transition should be relatively easy. This is especially
true if she is focusing mainly on algorithm implementations as opposed to
needing to rely on some platform API (e.g. Windows API vs .NET Framework).

That would probably be the most straightforward , maintainable approach.
And your partner would have the opportunity to improve her programming
language knowledge.

Barring that, is she able to use Visual Studio? Or is she using some
other environment? If she can use Visual Studio, then she can write a
managed DLL in C++. She'll have to learn the basic C++/CLI syntax so that
she's declaring and using managed types. But otherwise, she can leverage
her existing knowledge of C++ in that way.

If she is only able to use some other development environment, or for
whatever reason is unwilling to learn _anything_ new about managed code,
then she can compile her code as a DLL and then your code can use p/invoke
to call it.

She could, as Carlos suggests, build COM components and then you can use
the managed COM stuff to access them, but that seems a bit like overkill
to me. I think it would make some things easier, but it would introduce a
host of additional complexities that you might not want to have to deal
with or learn about.

Personally, I'd try to convince her to just get on board with C#. She can
still use C++ for her other work; it's not like you're asking her to
convert religion or something like that. :)

Pete
Oct 5 '08 #4
Thank you, Carlos!

"xcal" <a@a.com ()
:es*** ***********@TK2 MSFTNGP02.phx.g bl...
also, she could try to use her own tools to create her COM components,

Carlos.

"xcal" <a@a.comwrote in message
news:eB******** ********@TK2MSF TNGP04.phx.gbl. ..
>>
try Sharpdevelop, its free also, I have not it at this moment, but I
believe
>it can help you, by creating a COM components for your C# components
because Sharpdevelop doesnt work, as I remember, with C++.

hope this helps, Carlos

aliy" <va******@windo wslive.comwrote in message
news:09******* *************** ************@mi crosoft.com...
Hello, everyone --

I have in mind an expert system, but the problem is I program in C#,
and
my
partner - in C++. If she writes an algorithm in C++, can VS 2008
Express
Edition convert it to C# afterwards? I want the application to be
cross-platform, that's why C# was chosen as the main language.

Appreciate any feedback!

Thank you!


Oct 6 '08 #5
Thanks, Pete! Actually, making her convert her programming religion sounds
like a good idea! :-)

"Peter Duniho" <Np*********@nn owslpianmk.com ообщил( ) в новостя
следующ е:op********* ******@petes-computer.local. ..
On Sat, 04 Oct 2008 21:21:41 -0700, Val Paliy <va******@windo wslive.com>
wrote:
>Hello, everyone --

I have in mind an expert system, but the problem is I program in C#, and
my
partner - in C++. If she writes an algorithm in C++, can VS 2008 Express
Edition convert it to C# afterwards? I want the application to be
cross-platform, that's why C# was chosen as the main language.

Then perhaps your partner should simply learn C#. For someone already
experienced in C++, and especially with someone on the team who already
knows C#, the transition should be relatively easy. This is especially
true if she is focusing mainly on algorithm implementations as opposed to
needing to rely on some platform API (e.g. Windows API vs .NET Framework).

That would probably be the most straightforward , maintainable approach.
And your partner would have the opportunity to improve her programming
language knowledge.

Barring that, is she able to use Visual Studio? Or is she using some
other environment? If she can use Visual Studio, then she can write a
managed DLL in C++. She'll have to learn the basic C++/CLI syntax so that
she's declaring and using managed types. But otherwise, she can leverage
her existing knowledge of C++ in that way.

If she is only able to use some other development environment, or for
whatever reason is unwilling to learn _anything_ new about managed code,
then she can compile her code as a DLL and then your code can use p/invoke
to call it.

She could, as Carlos suggests, build COM components and then you can use
the managed COM stuff to access them, but that seems a bit like overkill
to me. I think it would make some things easier, but it would introduce a
host of additional complexities that you might not want to have to deal
with or learn about.

Personally, I'd try to convince her to just get on board with C#. She can
still use C++ for her other work; it's not like you're asking her to
convert religion or something like that. :)

Pete
Oct 6 '08 #6
hi friend,
if your partner write code in c++ using visual studio 2003/5/8, then you can call that from your code in c#.
The trick is that your partner will have to generate dll files as output, instead of exe,
and the code must be in managed c++, that is in C++.Net.

you can do a little study on google about c++.net and how it works.

hope it would help you.

inam
Oct 15 '08 #7

"code must be in managed c++, that is in C++.Net."

I remember vaguely now,
you can use also MS C++ 6.0, but you'll have to
arrange those "mangled names".

Another aproach is to use COM dlls.
VS 6.0 also permits to you to implement
such components.

In VS 2003 u use C++.net.
Finally until VS2005, people work with CLI C++
for VS2008 I dont know what happens.

hope this helps, Carlos.

<inam gulwrote in message news:20******** *************** @yahoo.com...
hi friend,
if your partner write code in c++ using visual studio 2003/5/8, then you
can call that from your code in c#.
The trick is that your partner will have to generate dll files as output,
instead of exe,
and the code must be in managed c++, that is in C++.Net.

you can do a little study on google about c++.net and how it works.

hope it would help you.

inam

Oct 15 '08 #8

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

Similar topics

22
2274
by: Zeng | last post by:
Hi, I'm running ClrProfiler for the first time to profile my web app, and it keeps getting stuck at this msg box: "Waiting for Asp.net to start common language runtime - this is the time to load your test page." even after I launched my app and aspnet_wp.exe is running. Do you know what I need to do to fix it? I also found some old post, a person mentioned that I need to make sure I need to run my aspnet with system account instead. ...
13
1475
by: Ghislain Tanguay | last post by:
I have a compiled vb.net app and I want to give the user a choice to launch it from the start line command and pass it a parameter or not. How can I do that in my code? Is it possible? Ex. : MyApp.exe "Go"
3
1480
by: Cas | last post by:
Hi, I want to use a detailsview only for inserting data into a database (for a survey). In order to check the inputted data, i need Templatefield. So I defined a detailsview and a SqlDataSource in the aspx file. The creation of the templatefields are done programmatically, because the number of fields vary (fieldnames are fetched from the same sqldatasource). Now, my problem: no error, the detailsview renders the right fieldheaders...
5
3757
by: saltysweett | last post by:
Hi all, I am trying to build a web based expert system. I have downloaded the necessary extension for php. I have configured Apache Tomcat as well. Everything is working fine except that my PHP script is not recognising CLIPS language. Maybe i am not supposed to type in the clips code directly into script. Pls help.
28
7639
by: sana sodhal | last post by:
hi i need ur help in making my project in visual basic6.0 and that is expert system of diabetes mellatus disease i dnt know what to do so please help me in making whole project and i have to complete this project till 1 september i'll wait for reply thanks
6
3503
by: ZAIN786 | last post by:
hi actually i want to make a expert system in c or c++ how will i do that
0
817
by: Adedoyin | last post by:
Hello everyone, this is the second time i'm posting this. i seriously need help with designing a cybercrime expert system in vb.net. the system should be able to trace the ip address of a recieved messgae amoung other things. thank you
0
8459
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8367
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8790
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7391
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6206
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 presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4202
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2781
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 we have to send another system

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.