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

Managed C++/CLI

 
GeneralQuestion about DLL imports - Fast Pin
Stanimir_Stoyanov24-Jul-04 20:20
Stanimir_Stoyanov24-Jul-04 20:20 
GeneralCOM Interop Question Pin
ursus zeta23-Jul-04 12:26
ursus zeta23-Jul-04 12:26 
GeneralFurther Adventures Pin
ursus zeta4-Aug-04 10:37
ursus zeta4-Aug-04 10:37 
GeneralPossible Memory Leak issues Pin
Anonymous23-Jul-04 5:19
Anonymous23-Jul-04 5:19 
GeneralFast question Pin
Oriocat22-Jul-04 10:50
Oriocat22-Jul-04 10:50 
GeneralRe: Fast question Pin
Daniel Turini22-Jul-04 10:57
Daniel Turini22-Jul-04 10:57 
Generalneed doctor to check this pice of code Pin
Oriocat22-Jul-04 9:58
Oriocat22-Jul-04 9:58 
GeneralProblem... Pin
Pazzuzu22-Jul-04 5:13
Pazzuzu22-Jul-04 5:13 
Hi Guys,

Still fighting with some conversion problems.
Hope someone could help.

//some Typedefs.
typedef unsigned char T_Byte;
typedef std::basic_string<t_byte> T_ByteArray;


I want to convert the following value to a CString.

[1]

T_Byte LineFeed[] = {'\x0D','\x0A'};//Hexadecimal Values.
T_ByteArray valLineFeed;
valLineFeed.append(LineFeed,sizeof(LineFeed));

want to convert the "valLineFeed" to a Cstring so that it contains a string "0D0A".

How could I achieve that?

[2]
Same way,If some one gives me a string "0D0A",would want to convert it to a T_ByteArray which contains characters like '\x0D','\x0A'


In short,If someone gives me a string "0D0A".Want to insert the characters "\x" before "0D" & "0A" & make a T_Byte string
which is like :

T_Byte LineFeed[] = {'\x0D','\x0A'}

How Could I achieve this also..

Thanks in advance..........
GeneralRe: Problem... Pin
palbano25-Jul-04 18:05
palbano25-Jul-04 18:05 
GeneralConverting ... Pin
User 91483322-Jul-04 3:59
User 91483322-Jul-04 3:59 
GeneralRe: Converting ... Pin
palbano25-Jul-04 18:04
palbano25-Jul-04 18:04 
GeneralWebService without ASP and IIS Pin
MyPaq22-Jul-04 2:08
MyPaq22-Jul-04 2:08 
GeneralGoing mad with this Pin
Pazzuzu21-Jul-04 6:11
Pazzuzu21-Jul-04 6:11 
GeneralRe: Going mad with this Pin
palbano21-Jul-04 17:28
palbano21-Jul-04 17:28 
GeneralRe: Going mad with this Pin
Pazzuzu22-Jul-04 0:07
Pazzuzu22-Jul-04 0:07 
QuestionHow to convert....... Pin
Pazzuzu21-Jul-04 4:09
Pazzuzu21-Jul-04 4:09 
GeneralVritual functions wapping Pin
Mostafa Mohamed20-Jul-04 2:12
Mostafa Mohamed20-Jul-04 2:12 
GeneralSystem::IO::File::Copy errors Pin
Chris Korzeniowski19-Jul-04 10:21
Chris Korzeniowski19-Jul-04 10:21 
GeneralRe: System::IO::File::Copy errors Pin
Chris Korzeniowski19-Jul-04 11:36
Chris Korzeniowski19-Jul-04 11:36 
GeneralMFC &amp; .NET Serialization Compatibility Pin
alexatn19-Jul-04 9:47
alexatn19-Jul-04 9:47 
QuestionHow to setup hotkey in my application to control vobsub Pin
lakeman200015-Jul-04 21:39
lakeman200015-Jul-04 21:39 
GeneralDebugging Unmanaged Code called from Managed C++ in .NET Pin
Anonymous14-Jul-04 19:32
Anonymous14-Jul-04 19:32 
GeneralMFC and Windows.Forms in .NET Pin
EinarJon14-Jul-04 6:30
EinarJon14-Jul-04 6:30 
GeneralRe: MFC and Windows.Forms in .NET Pin
Anonymous15-Jul-04 9:32
Anonymous15-Jul-04 9:32 
GeneralRe: MFC and Windows.Forms in .NET Pin
sunhui15-Dec-04 15:18
sunhui15-Dec-04 15:18 

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.