Click here to Skip to main content
15,924,036 members
Home / Discussions / C#
   

C#

 
GeneralC# and DLL's Pin
Ed Hopkins13-Aug-04 8:32
Ed Hopkins13-Aug-04 8:32 
I am writing a DLL in VC++ that needs to be called by one of our customers who use C#.

Unlike my VC++ test application, which statically links the DLL to the EXE and creates the object upon startup, the C# application appears to load the DLL at runtime at the first reference to a DLL call (using the import keyword).

THe problem is that subsequent calls to other functions do not work. It seems that there needs to be some pause for the load to happen.

Has anyone encountered a similar problem?

Ed Hopkins

GeneralRe: C# and DLL's Pin
Nick Parker13-Aug-04 9:08
protectorNick Parker13-Aug-04 9:08 
GeneralRe: C# and DLL's Pin
Ed Hopkins13-Aug-04 9:20
Ed Hopkins13-Aug-04 9:20 
GeneralRe: C# and DLL's Pin
MilesAhead15-Aug-04 13:02
MilesAhead15-Aug-04 13:02 
GeneralRe: C# and DLL's Pin
Ed Hopkins16-Aug-04 9:28
Ed Hopkins16-Aug-04 9:28 
GeneralRe: C# and DLL's Pin
MilesAhead16-Aug-04 10:00
MilesAhead16-Aug-04 10:00 
GeneralJava Classes Pin
eggie513-Aug-04 8:14
eggie513-Aug-04 8:14 
GeneralRe: Java Classes Pin
Nick Parker13-Aug-04 8:49
protectorNick Parker13-Aug-04 8:49 
GeneralRetrieving File Information Pin
matthias s.13-Aug-04 8:03
matthias s.13-Aug-04 8:03 
GeneralRe: Retrieving File Information Pin
Nick Parker13-Aug-04 9:04
protectorNick Parker13-Aug-04 9:04 
GeneralRe: Retrieving File Information Pin
matthias s.13-Aug-04 9:14
matthias s.13-Aug-04 9:14 
GeneralRe: Retrieving File Information Pin
Dave Kreskowiak13-Aug-04 9:54
mveDave Kreskowiak13-Aug-04 9:54 
GeneralTransparencyKey producing black flicker Pin
3Dizard13-Aug-04 7:10
3Dizard13-Aug-04 7:10 
GeneralRe: TransparencyKey producing black flicker Pin
Nick Parker13-Aug-04 8:38
protectorNick Parker13-Aug-04 8:38 
GeneralRe: TransparencyKey producing black flicker Pin
J. Dunlap13-Aug-04 12:24
J. Dunlap13-Aug-04 12:24 
GeneralRe: TransparencyKey producing black flicker Pin
3Dizard14-Aug-04 0:52
3Dizard14-Aug-04 0:52 
GeneralTAPI in C# Pin
Zeeshan Gulzar13-Aug-04 6:45
Zeeshan Gulzar13-Aug-04 6:45 
GeneralRe: TAPI in C# Pin
Nick Parker13-Aug-04 7:43
protectorNick Parker13-Aug-04 7:43 
GeneralVisual Studio oddities Pin
OBRon13-Aug-04 6:10
OBRon13-Aug-04 6:10 
GeneralIntelliSense-like addin Pin
LorenzoDV13-Aug-04 6:06
LorenzoDV13-Aug-04 6:06 
GeneralRe: IntelliSense-like addin Pin
Nick Parker13-Aug-04 7:46
protectorNick Parker13-Aug-04 7:46 
GeneralAbout form Pin
jzb13-Aug-04 5:59
jzb13-Aug-04 5:59 
GeneralRe: About form Pin
Nick Parker13-Aug-04 8:39
protectorNick Parker13-Aug-04 8:39 
GeneralRe: About form Pin
jzb13-Aug-04 16:28
jzb13-Aug-04 16:28 
GeneralSerious Issue Pin
sreejith ss nair13-Aug-04 5:38
sreejith ss nair13-Aug-04 5: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.