Click here to Skip to main content
16,004,974 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: protected float[4][4] Pin
RichardS14-Dec-05 1:01
RichardS14-Dec-05 1:01 
QuestionDijkstra's Algorithm Implementation Pin
techno_brains12-Dec-05 4:40
techno_brains12-Dec-05 4:40 
AnswerRe: Dijkstra's Algorithm Implementation Pin
Nish Nishant12-Dec-05 4:54
sitebuilderNish Nishant12-Dec-05 4:54 
QuestionHow to give Focus in form using DLL inside other DLL Pin
horacyjr12-Dec-05 1:24
horacyjr12-Dec-05 1:24 
AnswerRe: How to give Focus in form using DLL inside other DLL Pin
Nish Nishant12-Dec-05 4:51
sitebuilderNish Nishant12-Dec-05 4:51 
Questionplease tell me...how can.... Pin
wilusili11-Dec-05 17:50
wilusili11-Dec-05 17:50 
AnswerRe: please tell me...how can.... Pin
Christian Graus11-Dec-05 18:13
protectorChristian Graus11-Dec-05 18:13 
Question:doh: Add reference to dll assembly Pin
devinzhang11-Dec-05 10:31
devinzhang11-Dec-05 10:31 
I have two questions really bothers me.

1. Is it possible to have .Net assembly with global functions so that I can add reference and use them in my application by ::globalfunctions?


2. I have one small solution with two projects: one to create the dll and the other is to consume it. In the application, I can see the intellisense recognize the member in the namespace. But when I compile, I got error 2039 "something" is not a member of "namespace".

here is the sample code:
[the code for the dll]

Int32 sometfunction()
{
return 0;
}
namespace Cards
{
public __value int somethingnew;
}


[The code consume it]
#include "stdafx.h"
using namespace System;
using namespace Cards;

Int32 main(void)
{
Int32 ddd = ::somefunction();
Int32 dkd = Cards::somethingnew;
return 0;
}

Since I already added the reference to the application, there is no need to use something like
#using <cards.dll>

Any help will be greatly appreciated. I believe this is the right forum to get answer( I posted this question friday to another forum no one even care about what I asked Smile | :) )

Devin
AnswerRe: :doh: Add reference to dll assembly Pin
Christian Graus11-Dec-05 12:35
protectorChristian Graus11-Dec-05 12:35 
GeneralRe: :doh: Add reference to dll assembly Pin
devinzhang11-Dec-05 16:28
devinzhang11-Dec-05 16:28 
GeneralRe: :doh: Add reference to dll assembly Pin
Christian Graus11-Dec-05 16:52
protectorChristian Graus11-Dec-05 16:52 
GeneralRe: :doh: Add reference to dll assembly Pin
barry12312-Dec-05 2:25
barry12312-Dec-05 2:25 
GeneralMy Problem is resolved Pin
devinzhang12-Dec-05 8:09
devinzhang12-Dec-05 8:09 
QuestionLPCTSTR problem Pin
Xeronith10-Dec-05 19:10
Xeronith10-Dec-05 19:10 
AnswerRe: LPCTSTR problem Pin
Nemanja Trifunovic11-Dec-05 3:05
Nemanja Trifunovic11-Dec-05 3:05 
AnswerRe: LPCTSTR problem Pin
Jörgen Sigvardsson11-Dec-05 12:52
Jörgen Sigvardsson11-Dec-05 12:52 
Questionservices in Windows Server 2003 OS Pin
Thomas_Mathews8-Dec-05 23:30
Thomas_Mathews8-Dec-05 23:30 
AnswerRe: services in Windows Server 2003 OS Pin
Sheng Jiang 蒋晟11-Dec-05 11:03
Sheng Jiang 蒋晟11-Dec-05 11:03 
GeneralRe: services in Windows Server 2003 OS Pin
Thomas_Mathews11-Dec-05 18:44
Thomas_Mathews11-Dec-05 18:44 
GeneralRe: services in Windows Server 2003 OS Pin
Thomas_Mathews11-Dec-05 19:34
Thomas_Mathews11-Dec-05 19:34 
QuestionHalting execution until a button is clicked Pin
Simon Cornish8-Dec-05 6:33
Simon Cornish8-Dec-05 6:33 
AnswerRe: Halting execution until a button is clicked Pin
Saksida Bojan8-Dec-05 19:52
Saksida Bojan8-Dec-05 19:52 
GeneralRe: Halting execution until a button is clicked Pin
Simon Cornish8-Dec-05 21:21
Simon Cornish8-Dec-05 21:21 
Questionlinking assembly dll to project Pin
9ine7-Dec-05 3:46
9ine7-Dec-05 3:46 
AnswerRe: linking assembly dll to project Pin
Nish Nishant7-Dec-05 4:03
sitebuilderNish Nishant7-Dec-05 4:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.