Click here to Skip to main content
15,920,438 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Setting a form onto a panel. Pin
JacquesDP12-Oct-06 21:11
JacquesDP12-Oct-06 21:11 
GeneralRe: Setting a form onto a panel. Pin
AB777112-Oct-06 21:52
AB777112-Oct-06 21:52 
AnswerRe: Setting a form onto a panel. Pin
Andrei Ungureanu12-Oct-06 21:17
Andrei Ungureanu12-Oct-06 21:17 
GeneralRe: Setting a form onto a panel. Pin
JacquesDP12-Oct-06 21:38
JacquesDP12-Oct-06 21:38 
GeneralRe: Setting a form onto a panel. Pin
AB777112-Oct-06 21:52
AB777112-Oct-06 21:52 
GeneralRe: Setting a form onto a panel. Pin
JacquesDP12-Oct-06 22:07
JacquesDP12-Oct-06 22:07 
GeneralRe: Setting a form onto a panel. Pin
AB777112-Oct-06 22:30
AB777112-Oct-06 22:30 
AnswerRe: Setting a form onto a panel. Pin
darkelv12-Oct-06 23:16
darkelv12-Oct-06 23:16 
GeneralRe: Setting a form onto a panel. Pin
JacquesDP12-Oct-06 23:49
JacquesDP12-Oct-06 23:49 
Questionhow to find registry of com coponents Pin
vinay_inavolu12-Oct-06 19:46
vinay_inavolu12-Oct-06 19:46 
AnswerRe: how to find registry of com coponents Pin
mav.northwind12-Oct-06 20:02
mav.northwind12-Oct-06 20:02 
GeneralRe: how to find registry of com coponents Pin
vinay_inavolu12-Oct-06 20:29
vinay_inavolu12-Oct-06 20:29 
GeneralRe: how to find registry of com coponents Pin
mav.northwind13-Oct-06 0:48
mav.northwind13-Oct-06 0:48 
GeneralRe: how to find registry of com coponents Pin
vinay_inavolu13-Oct-06 1:21
vinay_inavolu13-Oct-06 1:21 
QuestionTextbox that allows only two digits after decimal point. and it doesn't allow any characters except digits Pin
irkahc12-Oct-06 19:30
irkahc12-Oct-06 19:30 
AnswerRe: Textbox that allows only two digits after decimal point. and it doesn't allow any characters except digits Pin
Jonathan van de Veen12-Oct-06 21:21
Jonathan van de Veen12-Oct-06 21:21 
Questionhow can i print the crystal report in landscape Pin
ayyp12-Oct-06 18:55
ayyp12-Oct-06 18:55 

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.