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

Managed C++/CLI

 
AnswerRe: Detecting sql server and db2 Pin
bsaksida4-Jan-07 22:32
bsaksida4-Jan-07 22:32 
QuestionClarify malloc() and free() Pin
Reagan Conservative3-Jan-07 9:34
Reagan Conservative3-Jan-07 9:34 
AnswerRe: Clarify malloc() and free() Pin
Christian Graus3-Jan-07 10:52
protectorChristian Graus3-Jan-07 10:52 
GeneralRe: Clarify malloc() and free() Pin
Reagan Conservative3-Jan-07 11:26
Reagan Conservative3-Jan-07 11:26 
GeneralRe: Clarify malloc() and free() Pin
led mike5-Jan-07 4:58
led mike5-Jan-07 4:58 
Questionbeginner in c++ Pin
ellarond2-Jan-07 20:41
ellarond2-Jan-07 20:41 
AnswerRe: beginner in c++ Pin
Jun Du3-Jan-07 1:22
Jun Du3-Jan-07 1:22 
QuestionRunning a C++/CLI dll from C# Pin
Christian Graus2-Jan-07 0:20
protectorChristian Graus2-Jan-07 0:20 
I work on an app that controls a Canon camera in C#. Until now, I used a common C# wrapper for their SDK. They have a new SDK.

So, I wrote a wrapper in C++/CLI. But, it stopped working, it gives an error : The specified module could not be found. (Exception from HRESULT: 0x8007007E). I found on my notebook that creating a vanilla C++/CLI dll with a simple method, and calling it from C#, compiles but gives this error.

On my desktop, however, it works fine. So, I rebuilt the wrapper dll, and integrated it into my app. The same dll, with the same manifest file ( it's also got one embedded ), gives this error in my app, but runs in a very simple app ( which just calls the same methods ). I think the problem is WinSxS ( which has been an utter nightmare for me from day one ), but I have no idea where else to go, it just plain doesn't work, and gives me no clues as to why. Any suggestions met with gratitude.

Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

AnswerRe: Running a C++/CLI dll from C# Pin
bsaksida2-Jan-07 7:25
bsaksida2-Jan-07 7:25 
GeneralRe: Running a C++/CLI dll from C# Pin
Christian Graus2-Jan-07 10:10
protectorChristian Graus2-Jan-07 10:10 
AnswerRe: Running a C++/CLI dll from C# [modified] Pin
led mike2-Jan-07 10:22
led mike2-Jan-07 10:22 
GeneralRe: Running a C++/CLI dll from C# Pin
Christian Graus2-Jan-07 15:44
protectorChristian Graus2-Jan-07 15:44 
QuestionMoving The Mouse Then Clicking It's Button ? Pin
Fritzables1-Jan-07 12:32
Fritzables1-Jan-07 12:32 
AnswerRe: Moving The Mouse Then Clicking It's Button ? Pin
Christian Graus1-Jan-07 23:54
protectorChristian Graus1-Jan-07 23:54 
GeneralRe: Moving The Mouse Then Clicking It's Button ? Pin
Fritzables2-Jan-07 0:29
Fritzables2-Jan-07 0:29 
QuestionMessage Removed Pin
1-Jan-07 7:58
Armond Sarkisian1-Jan-07 7:58 
AnswerRe: A Little Bit Confused... Pin
Xpnctoc1-Jan-07 9:20
Xpnctoc1-Jan-07 9:20 
AnswerRe: A Little Bit Confused... Pin
bsaksida1-Jan-07 10:35
bsaksida1-Jan-07 10:35 
QuestionHandle vs. pointer access speed??? Pin
Xpnctoc31-Dec-06 19:22
Xpnctoc31-Dec-06 19:22 
AnswerRe: Handle vs. pointer access speed??? Pin
bsaksida1-Jan-07 2:27
bsaksida1-Jan-07 2:27 
GeneralRe: Handle vs. pointer access speed??? Pin
Xpnctoc1-Jan-07 4:28
Xpnctoc1-Jan-07 4:28 
GeneralRe: Handle vs. pointer access speed??? Pin
bsaksida1-Jan-07 4:37
bsaksida1-Jan-07 4:37 
GeneralRe: Handle vs. pointer access speed??? Pin
Xpnctoc1-Jan-07 5:18
Xpnctoc1-Jan-07 5:18 
AnswerNot what I thought it was... Pin
Xpnctoc1-Jan-07 5:24
Xpnctoc1-Jan-07 5:24 
GeneralRe: Not what I thought it was... Pin
bsaksida1-Jan-07 10:31
bsaksida1-Jan-07 10:31 

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.