Click here to Skip to main content
15,904,024 members
Home / Discussions / C#
   

C#

 
QuestionHelp!! develop Directx9.0 with C# Pin
BestYangFeng12-Oct-06 23:34
BestYangFeng12-Oct-06 23:34 
AnswerRe: Help!! develop Directx9.0 with C# Pin
Amar Chaudhary12-Oct-06 23:53
Amar Chaudhary12-Oct-06 23:53 
QuestionC# Windows Application Setup Pin
quiteSmart12-Oct-06 22:30
quiteSmart12-Oct-06 22:30 
AnswerRe: C# Windows Application Setup Pin
Colin Angus Mackay12-Oct-06 23:00
Colin Angus Mackay12-Oct-06 23:00 
GeneralRe: C# Windows Application Setup Pin
quiteSmart12-Oct-06 23:04
quiteSmart12-Oct-06 23:04 
GeneralRe: C# Windows Application Setup Pin
WillemM12-Oct-06 23:30
WillemM12-Oct-06 23:30 
AnswerRe: C# Windows Application Setup Pin
Tauseef A13-Oct-06 0:07
Tauseef A13-Oct-06 0:07 
QuestionC# opengl text Pin
Anti-Distinctlyminty12-Oct-06 22:27
Anti-Distinctlyminty12-Oct-06 22:27 
AnswerRe: C# opengl text Pin
Anti-Distinctlyminty12-Oct-06 23:31
Anti-Distinctlyminty12-Oct-06 23:31 
QuestionHow to make a form unclickable Pin
greyzz12-Oct-06 22:16
greyzz12-Oct-06 22:16 
AnswerRe: How to make a form unclickable Pin
AB777112-Oct-06 22:43
AB777112-Oct-06 22:43 
GeneralRe: How to make a form unclickable Pin
greyzz12-Oct-06 22:52
greyzz12-Oct-06 22:52 
QuestionSPGroupCollection.Add exception Pin
WillemM12-Oct-06 21:46
WillemM12-Oct-06 21:46 
AnswerRe: SPGroupCollection.Add exception Pin
WillemM12-Oct-06 22:20
WillemM12-Oct-06 22:20 
Questionhow add context help by pressing F1 key Pin
sikandarhayat12-Oct-06 20:51
sikandarhayat12-Oct-06 20:51 
AnswerRe: how add context help by pressing F1 key Pin
Stefan Troschuetz12-Oct-06 21:09
Stefan Troschuetz12-Oct-06 21:09 
Questiongetting a avi resource Pin
Parshant Verma12-Oct-06 20:40
Parshant Verma12-Oct-06 20:40 
AnswerRe: getting a avi resource Pin
AB777112-Oct-06 21:56
AB777112-Oct-06 21:56 
QuestionUse .Net library in C++ Pin
Ward12-Oct-06 20:13
Ward12-Oct-06 20:13 
AnswerRe: Use .Net library in C++ Pin
quiteSmart12-Oct-06 20:54
quiteSmart12-Oct-06 20:54 
AnswerRe: Use .Net library in C++ Pin
Nader Elshehabi13-Oct-06 13:02
Nader Elshehabi13-Oct-06 13:02 
GeneralRe: Use .Net library in C++ Pin
Ward15-Oct-06 20:40
Ward15-Oct-06 20:40 
I've searched some documentation and I was able to do it.
The trick is to register the .Net dll as a COM server.
But to be able to register it as a COM server you must first have a tlb file of it.
This tlb file you can create with the visual studio tool tlbexp.exe.
From the command prompt:

tlbexp dotNET.dll /win32 /out:dotNET.tlb

Once you have the tlb file you can use regasm to register the .Net dll as a COM server. You will not be able to run regasm from the windows command prompt. You must launch the visual studio command prompt to do this.
In the visual studio command prompt type:

regasm dotNET.dll /tlb:dotNET.tlb

From this point you can use the classes and functions of the .Net dll is whatever language that understands COM.

Kind regards,




GeneralRe: Use .Net library in C++ Pin
Nader Elshehabi16-Oct-06 4:09
Nader Elshehabi16-Oct-06 4:09 
QuestionSetting a form onto a panel. Pin
JacquesDP12-Oct-06 20:12
JacquesDP12-Oct-06 20:12 
AnswerRe: Setting a form onto a panel. Pin
AB777112-Oct-06 20:38
AB777112-Oct-06 20:38 

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.