Click here to Skip to main content
15,898,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionget the MAC-adress from a host computer? Pin
Heidyon1-Aug-01 18:18
Heidyon1-Aug-01 18:18 
AnswerRe: get the MAC-adress from a host computer? Pin
Michael A. Barnhart2-Aug-01 0:43
Michael A. Barnhart2-Aug-01 0:43 
GeneralIt might be easier if somebody just shot me Pin
Michael Martin1-Aug-01 17:47
professionalMichael Martin1-Aug-01 17:47 
GeneralRe: It might be easier if somebody just shot me Pin
Shankar Chandra Bose1-Aug-01 18:01
Shankar Chandra Bose1-Aug-01 18:01 
GeneralRe: Font Changing Pin
Derek Lakin2-Aug-01 1:30
Derek Lakin2-Aug-01 1:30 
Generala simple question Pin
1-Aug-01 17:27
suss1-Aug-01 17:27 
GeneralRe: a simple question Pin
Matt.W.1-Aug-01 18:00
Matt.W.1-Aug-01 18:00 
GeneralXalan transform problem in VC Pin
Michael A. Barnhart1-Aug-01 17:09
Michael A. Barnhart1-Aug-01 17:09 
Has anyone been able to use the Xalan.transform call. I have been going around in circles for a couple of days and getting nowhere.
The supplied sample uses an ostrstream variable for the third argument and that will not compile for me. When I convert the third argument to an XSLTResultTarget (various attempts) if compiles but then crashes in the function. Any guidance is very much appreciated.

// Begin My Code which compiles but crashes on the .transform call
// Call the static initializer for Xerces.
XMLPlatformUtils::Initialize();
// Initialize Xalan.
XalanTransformer::initialize();
// Create a XalanTransformer.
XalanTransformer theXalanTransformer;
CString theXMLFileName = "MyTest.xml";
CString theXSLFileName = "MyText.xsl";
XalanDOMString theOutput;
XSLTResultTarget theTarget(theOutput);
// Do the transform.
int theResult = 0;
theResult = theXalanTransformer.transform((LPCSTR)theXMLFileName, (LPCSTR)theXSLFileName, theTarget);

// Terminate Xalan.
XalanTransformer::terminate();

// Call the static terminator for Xerces.
XMLPlatformUtils::Terminate();
// End My Code

//Sample code – which will not compile
ostrstream theOutput;

// Do the transform.
theResult = theXalanTransformer.transform(theXMLFileName, theXSLFileName, theOutput);
// End Sample Code

GeneralRe: Xalan transform problem in VC Pin
Michael A Barnhart2-Aug-01 7:51
Michael A Barnhart2-Aug-01 7:51 
GeneralSo, how good are you? ;) (C/C++) Pin
Shankar Chandra Bose1-Aug-01 16:02
Shankar Chandra Bose1-Aug-01 16:02 
GeneralRe: So, how good are you? ;) (C/C++) Pin
1-Aug-01 16:11
suss1-Aug-01 16:11 
GeneralRe: So, how good are you? ;) (C/C++) Pin
Shankar Chandra Bose1-Aug-01 16:42
Shankar Chandra Bose1-Aug-01 16:42 
GeneralRe: So, how good are you? ;) (C/C++) Pin
Michael Martin1-Aug-01 16:13
professionalMichael Martin1-Aug-01 16:13 
GeneralRe: So, how good are you? ;) (C/C++) Pin
1-Aug-01 16:19
suss1-Aug-01 16:19 
GeneralRe: So, how good are you? ;) (C/C++) Pin
Michael Martin1-Aug-01 16:44
professionalMichael Martin1-Aug-01 16:44 
GeneralRe: So, how good are you? ;) (C/C++) Pin
Mikhail Ermishkin1-Aug-01 21:42
Mikhail Ermishkin1-Aug-01 21:42 
GeneralRe: So, how good are you? ;) (C/C++) Pin
Shankar Chandra Bose1-Aug-01 16:43
Shankar Chandra Bose1-Aug-01 16:43 
GeneralOrca - Setup file Editor Pin
sankar1-Aug-01 15:22
sankar1-Aug-01 15:22 
GeneralRe: Orca - Setup file Editor Pin
Not Active1-Aug-01 17:15
mentorNot Active1-Aug-01 17:15 
Generalstoring thiscall functions in a pointer Pin
1-Aug-01 13:20
suss1-Aug-01 13:20 
GeneralRe: storing thiscall functions in a pointer Pin
Michael Dunn1-Aug-01 13:37
sitebuilderMichael Dunn1-Aug-01 13:37 
GeneralRe: storing thiscall functions in a pointer Pin
1-Aug-01 14:11
suss1-Aug-01 14:11 
GeneralWizard Pin
1-Aug-01 12:22
suss1-Aug-01 12:22 
GeneralRe: Wizard Pin
Christian Graus1-Aug-01 13:12
protectorChristian Graus1-Aug-01 13:12 
GeneralRe: Wizard Pin
Michael Dunn1-Aug-01 13:34
sitebuilderMichael Dunn1-Aug-01 13:34 

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.