Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to exchange message between different pages in tab control? Pin
Sam Hobbs6-Nov-07 15:57
Sam Hobbs6-Nov-07 15:57 
QuestionWindows Clipboard in C/C++: Migrating from VB6 to C Pin
Capitanevs6-Nov-07 7:22
Capitanevs6-Nov-07 7:22 
AnswerRe: Windows Clipboard in C/C++: Migrating from VB6 to C Pin
David Crow6-Nov-07 7:43
David Crow6-Nov-07 7:43 
GeneralRe: Windows Clipboard in C/C++: Migrating from VB6 to C Pin
Capitanevs6-Nov-07 12:22
Capitanevs6-Nov-07 12:22 
GeneralRe: Windows Clipboard in C/C++: Migrating from VB6 to C Pin
Nelek6-Nov-07 21:46
protectorNelek6-Nov-07 21:46 
AnswerRe: Windows Clipboard in C/C++: Migrating from VB6 to C Pin
bob169726-Nov-07 16:53
bob169726-Nov-07 16:53 
AnswerPROBLEM WEIRDLY SOLVED Pin
Capitanevs12-Nov-07 11:33
Capitanevs12-Nov-07 11:33 
QuestionMSCORLIB.DLL Pin
shpid3r6-Nov-07 7:16
shpid3r6-Nov-07 7:16 
hello!

I`m not a choleric person, but this time i`m 2 steps away from madness!

I need to copy a file from one folder to another, so I`ve learned that i have to use
File.Copy, which is found in mscorlib.dll

I cannot find mscorlib.dll. Moreover, I don`t know how to link a lib to my project, so I usually simply "add existing item..." to my solution, and things just work. Only that this time it seems I can`t find the right mscorlib.dll

I have installed Visual Studio 2005, SP1, SDK for SmartDevices (WIN CE 5.0 and 6.0) - needed for some applications.
Visual Studio is installed in D:\Program Files\

I`ve seen that I have to download .NET Framework 2.0 (or 3.0), and I have downloaded them both from microsoft`s site.

Now, by searching my computer, i find 3 results of mscorlib.dll, in:
D:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE
C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE
C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\Debugger\BCL
(.Net installs itself without configuring the path)
(Where the hell is v3.0 ?!)

Long story short, how can I get to use File.Copy ?
I have seen that I must write:
<br />
#using <mscorlib.dll><br />
using namespace System;<br />
using namespace System::IO;<br />

By simply writing those lines, without any adding of that lib to my project (or adding any of those 3) I get errors on "identifiers not found".
I `ve seen that mscorlib.dll appears in many System related functions, so I hope someone will know how to make it work...

While waiting for this answer, I`m using fopen to continue working with the data, but I can`t finish my application without create folder and file.copy.

Many thanks for any suggestion!
Shpid3r
AnswerRe: MSCORLIB.DLL Pin
Mark Salsbery6-Nov-07 8:12
Mark Salsbery6-Nov-07 8:12 
GeneralRe: MSCORLIB.DLL Pin
shpid3r6-Nov-07 8:31
shpid3r6-Nov-07 8:31 
GeneralRe: MSCORLIB.DLL Pin
Mark Salsbery6-Nov-07 8:40
Mark Salsbery6-Nov-07 8:40 
GeneralRe: MSCORLIB.DLL Pin
shpid3r6-Nov-07 8:55
shpid3r6-Nov-07 8:55 
GeneralRe: MSCORLIB.DLL Pin
Mark Salsbery6-Nov-07 9:05
Mark Salsbery6-Nov-07 9:05 
QuestionRe: MSCORLIB.DLL Pin
shpid3r6-Nov-07 9:12
shpid3r6-Nov-07 9:12 
AnswerRe: MSCORLIB.DLL Pin
Mark Salsbery6-Nov-07 9:18
Mark Salsbery6-Nov-07 9:18 
GeneralRe: MSCORLIB.DLL Pin
shpid3r6-Nov-07 9:30
shpid3r6-Nov-07 9:30 
GeneralRe: MSCORLIB.DLL Pin
David Crow6-Nov-07 10:49
David Crow6-Nov-07 10:49 
QuestionRe: MSCORLIB.DLL Pin
Maximilien6-Nov-07 9:05
Maximilien6-Nov-07 9:05 
AnswerRe: MSCORLIB.DLL Pin
shpid3r6-Nov-07 9:09
shpid3r6-Nov-07 9:09 
GeneralRe: MSCORLIB.DLL Pin
led mike6-Nov-07 11:41
led mike6-Nov-07 11:41 
GeneralRe: MSCORLIB.DLL Pin
Mark Salsbery6-Nov-07 11:48
Mark Salsbery6-Nov-07 11:48 
QuestionReading INI sections Pin
ernst.maurer6-Nov-07 4:34
ernst.maurer6-Nov-07 4:34 
AnswerRe: Reading INI sections Pin
toxcct6-Nov-07 4:36
toxcct6-Nov-07 4:36 
QuestionRe: Reading INI sections Pin
David Crow6-Nov-07 7:26
David Crow6-Nov-07 7:26 
Questionapplication priority Pin
RomTibi6-Nov-07 4:25
RomTibi6-Nov-07 4:25 

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.