Click here to Skip to main content
15,902,299 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Convert from __GC String to const WCHAR Pin
Tom Archer6-Nov-03 17:29
Tom Archer6-Nov-03 17:29 
GeneralRe: Convert from __GC String to const WCHAR Pin
DR Clevenger7-Nov-03 2:59
DR Clevenger7-Nov-03 2:59 
GeneralRe: Convert from __GC String to const WCHAR Pin
DR Clevenger7-Nov-03 3:20
DR Clevenger7-Nov-03 3:20 
GeneralRe: Convert from __GC String to const WCHAR Pin
Tom Archer7-Nov-03 3:50
Tom Archer7-Nov-03 3:50 
GeneralRe: Convert from __GC String to const WCHAR Pin
DR Clevenger7-Nov-03 5:27
DR Clevenger7-Nov-03 5:27 
GeneralString question Pin
Ereinion6-Nov-03 11:24
Ereinion6-Nov-03 11:24 
GeneralRe: String question Pin
George L. Jackson20-Nov-03 7:38
George L. Jackson20-Nov-03 7:38 
GeneralError loading C++.Net dll on networkdrv Pin
michaelschmitt3-Nov-03 0:40
michaelschmitt3-Nov-03 0:40 
Hi everybody,

i'll try to explain my problem as short as possible:

->My C++ Dll (Native) should be able to call a C# DLL.

Therefore i implemented a managed C++ dll as a bridge( to
avoid COM).
So, the C++(nat) calls the c++(.net) dll, which calls the c# dll.

When the program is started on a local drive, everything
works perfectly, but once it is copied to a network drive
and run form there, loading the "bridge" - dll fails.
In detail : The C++ 6.0 dll uses LoadLibrary to load
the managed C++ dll and immedeately exits with Error 1114 "
Dll initialization failed" - but ONLY started from a network drive.

( calling other dll's works ). I already tried to make a static
link, same error... only on a network drive...
I don't even have to call a function for getting the error..

I'm trying to find the mistake for a long time... but i think
i'm at the end of my wisdom...

Has anybody some kind of an idea, why
calling my C++.Net dll only works on a local drive???
Problem with the dll- entry-point?

Looking forward to some help! Thanks in advance!

Michael


GeneralRe: Error loading C++.Net dll on networkdrv Pin
J. Dunlap3-Nov-03 8:45
J. Dunlap3-Nov-03 8:45 
GeneralRe: Error loading C++.Net dll on networkdrv Pin
Michael_Sch3-Nov-03 10:04
sussMichael_Sch3-Nov-03 10:04 
GeneralRe: Error loading C++.Net dll on networkdrv Pin
Michael_Sch3-Nov-03 10:07
sussMichael_Sch3-Nov-03 10:07 
GeneralRe: Error loading C++.Net dll on networkdrv Pin
Michael_Sch3-Nov-03 11:09
sussMichael_Sch3-Nov-03 11:09 
GeneralUML help Pin
code_struck2-Nov-03 8:54
code_struck2-Nov-03 8:54 
GeneralRe: UML help Pin
Dave Kreskowiak4-Nov-03 12:49
mveDave Kreskowiak4-Nov-03 12:49 
GeneralRe: UML help Pin
code_struck4-Nov-03 14:07
code_struck4-Nov-03 14:07 
GeneralRe: UML help Pin
Dave Kreskowiak5-Nov-03 12:44
mveDave Kreskowiak5-Nov-03 12:44 
GeneralVisual C++ .NET Compiler Error ... Pin
SD328-Oct-03 23:43
SD328-Oct-03 23:43 
GeneralDial-up server in windows 98 Pin
choupani25-Oct-03 4:07
choupani25-Oct-03 4:07 
GeneralConverting System::String to char* Pin
peter271324-Oct-03 9:10
peter271324-Oct-03 9:10 
GeneralRe: Converting System::String to char* Pin
Tom Archer2-Nov-03 13:20
Tom Archer2-Nov-03 13:20 
GeneralMixing managed and UNmanaged code... Pin
raitz23-Oct-03 1:46
raitz23-Oct-03 1:46 
GeneralRe: Mixing managed and UNmanaged code... Pin
Nemanja Trifunovic23-Oct-03 6:05
Nemanja Trifunovic23-Oct-03 6:05 
GeneralHelp would be greatly appreciated Pin
Andrew Torrance22-Oct-03 22:09
Andrew Torrance22-Oct-03 22:09 
GeneralSlow Windows Forms Designer Pin
Anonymous22-Oct-03 14:13
Anonymous22-Oct-03 14:13 
General__value type doubt... Pin
raitz22-Oct-03 4:44
raitz22-Oct-03 4:44 

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.