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

IJW C++ / MCC++ interactivity question

Hello Everyone,

I am extending a legacy app that will load DLL's dynamically. I've
worked out how to call C# DLL's from a mixed mode DLL.

Now I thought I'd delve farther into IJW and mixed mode by trying to
re-create the C# DLL in MC++.

I added a Win Form to the project. Now I want to create an instance of
this class (named Test) and call ShowDialog() on it like I did the C#
Win Form.

Here is a snippet from the Test.h file.

namespace ManagedXp {
public ref class Test : public System::Windows::Forms::Form
{
...
}
}

Here is the code I tried using that loaded the C# version, but I had a
#using command pointing to the C# DLL. Here I have no idea how to get
to the Test class.

ManagedXp::Test tst;
tst.ShowDialog();

The Error is:

Error 6 error C2653: 'ManagedXp' : is not a class or namespace
name c:\Documents and Settings\saul01\My Documents\Visual Studio
2005\Projects\CC2\ManagedXp\ManagedXp\ManagedXp.cp p 41
Thanks, Lee

BTW, I've yet to find a book that actually talks about MC++ in any
meaningfull way and darn few webpages that explain any of this. So, if
anyone has a book title or webpage URL, please send it my way.

Dec 20 '05 #1
1 1141
<sa******@hotmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
BTW, I've yet to find a book that actually talks about MC++ in any
meaningfull way and darn few webpages that explain any of this. So, if
anyone has a book title or webpage URL, please send it my way.


http://www.amazon.com/gp/product/073...lance&n=283155

-cd
Dec 21 '05 #2

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

Similar topics

1
by: Mohammed Mazid | last post by:
Can anyone please help me on how to move to the next and previous question? Here is a snippet of my code: Private Sub cmdNext_Click() End Sub Private Sub cmdPrevious_Click() showrecord
4
by: Mohammed Mazid | last post by:
Can anyone please help me on how to move to the next and previous question? Here is a snippet of my code: Private Sub cmdNext_Click() End Sub Private Sub cmdPrevious_Click() showrecord
3
by: Stevey | last post by:
I have the following XML file... <?xml version="1.0"?> <animals> <animal> <name>Tiger</name> <questions> <question index="0">true</question> <question index="1">true</question> </questions>
0
by: zaemin | last post by:
Hello, I'm designing streamable animation format like flash. I have some questions. My animation format has interactive feature by script. A designer can insert 'gotoFrame' action on the...
3
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't know how it is best (fastest) to do? table...
4
by: mark | last post by:
i currently have some code that creates a word document on the client side in an intranet environment - this works fine but i need to take it a step further - id like the word document to be...
53
by: Jeff | last post by:
In the function below, can size ever be 0 (zero)? char *clc_strdup(const char * CLC_RESTRICT s) { size_t size; char *p; clc_assert_not_null(clc_strdup, s); size = strlen(s) + 1;
56
by: spibou | last post by:
In the statement "a *= expression" is expression assumed to be parenthesized ? For example if I write "a *= b+c" is this the same as "a = a * (b+c)" or "a = a * b+c" ?
2
by: Allan Ebdrup | last post by:
Hi, I'm trying to render a Matrix question in my ASP.Net 2.0 page, A matrix question is a question where you have several options that can all be rated according to several possible ratings (from...
3
by: Zhang Weiwu | last post by:
Hello! I wrote this: ..required-question p:after { content: "*"; } Corresponding HTML: <div class="required-question"><p>Question Text</p><input /></div> <div...
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: 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
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
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...

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.