Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Calendar Control Doesn't Redraw Self Pin
JennyP27-Jul-02 18:51
JennyP27-Jul-02 18:51 
GeneralRe: Calendar Control Doesn't Redraw Self Pin
perlmunger27-Jul-02 19:46
perlmunger27-Jul-02 19:46 
GeneralIHTMLDOMNode::put_nodeValue problem Pin
pépé26-Jul-02 3:15
pépé26-Jul-02 3:15 
Generalhelp me Pin
Anonymous26-Jul-02 3:13
Anonymous26-Jul-02 3:13 
GeneralRe: help me Pin
Tomasz Sowinski26-Jul-02 3:17
Tomasz Sowinski26-Jul-02 3:17 
GeneralRe: help me Pin
lucy26-Jul-02 3:50
lucy26-Jul-02 3:50 
GeneralRe: help me Pin
Alexandru Savescu26-Jul-02 3:58
Alexandru Savescu26-Jul-02 3:58 
GeneralXMLTextWriter, Files and a Class Library Pin
Paul Watson26-Jul-02 3:06
sitebuilderPaul Watson26-Jul-02 3:06 
(Maybe you chaps know better than the MC++ chaps)

Ok so I have a MC++ Class Library and it is being called from a C# app. All hunky dory, except I cannot get the class library to write to any files when it is called from the C# app.

I wrote the equivalent code in the C# app and the file was created fine and in the right place.

Am I supposed to be doing something extra to tell the system that the class dll can write files?

The crappy thing is that no error is generated, in fact stepping through each line the system seems to think the file was created just fine. But no file appears.

I am using the XMLTextWriter to write the file. e.g. myXmlTextWriter = new XmlTextWriter (S"test.xml", System::Text::Encoding::UTF8);

I have used Flush and Close, no luck.

So what gives? thanks.

regards,
Paul Watson
Bluegrass
Cape Town, South Africa

The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge

Alison Pentland wrote:
I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Rama Krishna Vavilala26-Jul-02 3:33
Rama Krishna Vavilala26-Jul-02 3:33 
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Paul Watson26-Jul-02 3:44
sitebuilderPaul Watson26-Jul-02 3:44 
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Alexandru Savescu26-Jul-02 3:55
Alexandru Savescu26-Jul-02 3:55 
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Paul Watson26-Jul-02 4:44
sitebuilderPaul Watson26-Jul-02 4:44 
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Rama Krishna Vavilala26-Jul-02 5:12
Rama Krishna Vavilala26-Jul-02 5:12 
GeneralRe: XMLTextWriter, Files and a Class Library Pin
Paul Watson26-Jul-02 5:34
sitebuilderPaul Watson26-Jul-02 5:34 
Generaldual processor - multiple threads. Pin
Niko Tanghe26-Jul-02 1:54
Niko Tanghe26-Jul-02 1:54 
GeneralRe: dual processor - multiple threads. Pin
Tomasz Sowinski26-Jul-02 2:14
Tomasz Sowinski26-Jul-02 2:14 
GeneralRe: dual processor - multiple threads. Pin
Paul M Watt26-Jul-02 5:40
mentorPaul M Watt26-Jul-02 5:40 
GeneralCurrent Process Path - Not Name Pin
Giles26-Jul-02 1:32
Giles26-Jul-02 1:32 
GeneralRe: Current Process Path - Not Name Pin
Tomasz Sowinski26-Jul-02 1:46
Tomasz Sowinski26-Jul-02 1:46 
GeneralRe: Current Process Path - Not Name - Correction Pin
Tomasz Sowinski26-Jul-02 1:50
Tomasz Sowinski26-Jul-02 1:50 
GeneralRe: Current Process Path - Not Name - Correction Pin
Giles26-Jul-02 2:24
Giles26-Jul-02 2:24 
GeneralRe: Current Process Path - Not Name - Correction Pin
Tomasz Sowinski26-Jul-02 2:34
Tomasz Sowinski26-Jul-02 2:34 
GeneralRe: Current Process Path - Not Name Pin
includeh1026-Jul-02 1:52
includeh1026-Jul-02 1:52 
Generalcreate a dockingable menu! Pin
includeh1026-Jul-02 1:16
includeh1026-Jul-02 1:16 
GeneralTemplates, MIDL base_types, etc. in win32 static lib Pin
Ice-T.Polarbear26-Jul-02 1:01
Ice-T.Polarbear26-Jul-02 1:01 

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.