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

Managed C++/CLI

 
AnswerRe: Circular Form Reference [modified] Pin
led mike24-Mar-09 5:20
led mike24-Mar-09 5:20 
GeneralRe: Circular Form Reference Pin
thenutz7224-Mar-09 5:47
thenutz7224-Mar-09 5:47 
GeneralRe: Circular Form Reference Pin
led mike24-Mar-09 7:07
led mike24-Mar-09 7:07 
GeneralRe: Circular Form Reference Pin
thenutz7224-Mar-09 7:10
thenutz7224-Mar-09 7:10 
GeneralRe: Circular Form Reference Pin
led mike24-Mar-09 7:12
led mike24-Mar-09 7:12 
GeneralRe: Circular Form Reference Pin
Trollslayer4-May-09 4:26
mentorTrollslayer4-May-09 4:26 
AnswerRe: Circular Form Reference Pin
erfi25-Mar-09 1:47
erfi25-Mar-09 1:47 
QuestionCannot load 64bit CLI/C++ dll in C# project when running in Vista 64bit, .NET 3.5 Pin
ndkit24-Mar-09 3:40
ndkit24-Mar-09 3:40 
Hi all,

Please help me to solve below problem:

1. First, I develop a 32bit application (include C#, VB, C++/CLI, C) in Vista 64bit with .NET framework 3.5, VS 2008. Everything runs ok.
a. C++/CLI, C: platform is Win32
b. C#, VB: platform is x86

2. Second, I continue convert above application to 64bit application and also run in Vista 64bit, .NET 3.5, VS 2008.
To converting, I change some main point as below:
a. C++/CLI: change platform from Win32 to x64, and pointer from 4bytes to 8bytes
b. C#, VB: change platform from x86 to Any CPU.

Everything builds ok, but when run application, unhandled exception was thrown everytime it call constructor of C++/CLI object:
- Message: "System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
- Stack Trace: " at ProjCS.Form1..ctor()
at ProjCS.Program.Main() in N:\test\Test64\ProjCS\Program.cs:line 18
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()"

I try to re-install VS 2008 and googling but still cannot find solution.
Anyone who has experience about problem, please help me to find root cause and solution to solve it.

Thanks a lot.
AnswerRe: Cannot load 64bit CLI/C++ dll in C# project when running in Vista 64bit, .NET 3.5 Pin
ndkit24-Mar-09 18:10
ndkit24-Mar-09 18:10 
QuestionHow to write an event handler which will be continiously looking for existence of a file Pin
naveen_bij24-Mar-09 2:25
naveen_bij24-Mar-09 2:25 
AnswerRe: How to write an event handler which will be continiously looking for existence of a file Pin
Giorgi Dalakishvili24-Mar-09 2:34
mentorGiorgi Dalakishvili24-Mar-09 2:34 
QuestionCross reference between classes Pin
Sci_fie24-Mar-09 2:17
Sci_fie24-Mar-09 2:17 
AnswerRe: Cross reference between classes Pin
N a v a n e e t h24-Mar-09 3:30
N a v a n e e t h24-Mar-09 3:30 
GeneralRe: Cross reference between classes Pin
Sci_fie24-Mar-09 4:10
Sci_fie24-Mar-09 4:10 
QuestionRe: Cross reference between classes [modified] Pin
thenutz7224-Mar-09 6:56
thenutz7224-Mar-09 6:56 
AnswerRe: Cross reference between classes Pin
Mark Salsbery24-Mar-09 7:44
Mark Salsbery24-Mar-09 7:44 
AnswerRe: Cross reference between classes Pin
Sci_fie24-Mar-09 7:56
Sci_fie24-Mar-09 7:56 
QuestionSecurity issue Pin
xiwangxin23-Mar-09 22:26
xiwangxin23-Mar-09 22:26 
QuestionPause button..... Pin
Thilek23-Mar-09 4:30
Thilek23-Mar-09 4:30 
QuestionIs this a Managed CLI question? [modified] Pin
led mike23-Mar-09 5:06
led mike23-Mar-09 5:06 
AnswerRe: Is this a Managed CLI question? Pin
Thilek23-Mar-09 5:56
Thilek23-Mar-09 5:56 
GeneralRe: Is this a Managed CLI question? Pin
led mike23-Mar-09 5:58
led mike23-Mar-09 5:58 
AnswerRe: Is this a Managed CLI question? Pin
Thilek24-Mar-09 23:37
Thilek24-Mar-09 23:37 
GeneralRe: Is this a Managed CLI question? Pin
Sci_fie26-Mar-09 6:45
Sci_fie26-Mar-09 6:45 
Questionhow to use #pragma data_seq Pin
ernst2002053020-Mar-09 8:36
ernst2002053020-Mar-09 8:36 

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.