Click here to Skip to main content
15,888,351 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralQuestion about .NET Visual Inheritance and MDI apps. Pin
rolst530-Sep-04 6:36
rolst530-Sep-04 6:36 
GeneralRe: Question about .NET Visual Inheritance and MDI apps. Pin
sreejith ss nair7-Oct-04 0:38
sreejith ss nair7-Oct-04 0:38 
General.net Redistrubitable Pin
Gavin Jeffrey29-Sep-04 21:48
Gavin Jeffrey29-Sep-04 21:48 
GeneralRe: .net Redistrubitable Pin
Colin Angus Mackay29-Sep-04 23:04
Colin Angus Mackay29-Sep-04 23:04 
GeneralRe: .net Redistrubitable Pin
Gavin Jeffrey29-Sep-04 23:19
Gavin Jeffrey29-Sep-04 23:19 
GeneralRe: .net Redistrubitable Pin
Colin Angus Mackay29-Sep-04 23:25
Colin Angus Mackay29-Sep-04 23:25 
GeneralRe: .net Redistrubitable Pin
sreejith ss nair7-Oct-04 1:05
sreejith ss nair7-Oct-04 1:05 
GeneralQuestions about Exporing Types from an Assembly. Pin
jamie__smith29-Sep-04 21:17
jamie__smith29-Sep-04 21:17 
Hi,

I have an assembly that I have run tlbexp.exe on, to create a Type
Library to be used by a COM Client. The type library contains two
interfaces and two coclasses.

The COM Client was already using a COM version (compiled from an IDL,
and stored with a DLL) of these interfaces and coclasses, with
specific GUIDs and ProgIDs. I have re-written the interfaces and
classes in C# so that the exported type library matches that of the
existing COM (except one part which i will come to later).

What I intend to do is to simply unregister the existing COM version
off the "COM machine", and register the Type Library created by
tlbexp.exe. I require the COM Client continue to run without having
to recompile, however, if needed, further building (using the newly
exported type library) would also be required.

Currently, i have got as far as allowing the COM client to run OK with
the new type library, however, when i try and build the COM Client, it
complains that it cannot load a DLL. I was of the opinion that this
may be something to do with the fact that the older COM version of the
interfaces and classes where contained in a DLL, and now that DLL is
no longer registered.

Also, a smaller point which concerned me. When the tlbexp.exe is run
on an assembly, all the enumerations values are prefixed with the
enumeration name and an underscore. Reading the MSDN documentation it
states that this is deliberate behaviour to ensure names are unique
(see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpcontlbexptypeconversion.asp).

So, i have two questions (finally!)

1. Are there any suggestions to why I am getting a "Unable to Load
DLL" error when trying to build the COM Client, and are there any
ideas of how to overcome this?

2. Is there any way to alter the behaviour of the tlbexp.exe to stop
it prefixing enumeration values?

Thanks,

Jamie.

GeneralConvert int to byte [] and vice versa Pin
Vadim Tabakman29-Sep-04 21:01
Vadim Tabakman29-Sep-04 21:01 
GeneralRe: Convert int to byte [] and vice versa Pin
Gavin Jeffrey29-Sep-04 21:44
Gavin Jeffrey29-Sep-04 21:44 
GeneralRe: Convert int to byte [] and vice versa Pin
Vadim Tabakman30-Sep-04 13:15
Vadim Tabakman30-Sep-04 13:15 
GeneralRe: Convert int to byte [] and vice versa Pin
Nnamdi Onyeyiri30-Sep-04 2:29
Nnamdi Onyeyiri30-Sep-04 2:29 
GeneralRe: Convert int to byte [] and vice versa Pin
Nnamdi Onyeyiri30-Sep-04 13:23
Nnamdi Onyeyiri30-Sep-04 13:23 
GeneralRe: Convert int to byte [] and vice versa Pin
Vadim Tabakman30-Sep-04 13:26
Vadim Tabakman30-Sep-04 13:26 
GeneralRe: Progress Bar that moves Pin
kayhustle29-Sep-04 10:42
kayhustle29-Sep-04 10:42 
GeneralRe: Progress Bar that moves Pin
sampoo29-Sep-04 10:53
sampoo29-Sep-04 10:53 
GeneralFileNotFoundException for dll reference in project Pin
kayhustle29-Sep-04 6:00
kayhustle29-Sep-04 6:00 
GeneralRe: FileNotFoundException for dll reference in project Pin
Nnamdi Onyeyiri30-Sep-04 2:31
Nnamdi Onyeyiri30-Sep-04 2:31 
GeneralMultiple executables based on compilation flag Pin
marsusf29-Sep-04 5:07
marsusf29-Sep-04 5:07 
Generalassign socket permission to ntd winform Pin
zhebincong28-Sep-04 21:55
zhebincong28-Sep-04 21:55 
QuestionAVI library? Pin
erossetto28-Sep-04 13:51
erossetto28-Sep-04 13:51 
AnswerRe: AVI library? Pin
Tomas Petricek29-Sep-04 11:53
Tomas Petricek29-Sep-04 11:53 
GeneralRe: AVI library? Pin
erossetto2-Oct-04 18:43
erossetto2-Oct-04 18:43 
GeneralOutlook style datagrid Pin
cocotech28-Sep-04 9:40
cocotech28-Sep-04 9:40 
GeneralRe: Outlook style datagrid Pin
Al Gardner11-Oct-04 11:58
Al Gardner11-Oct-04 11:58 

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.