Advertisement

Weird file output problem

Started by December 26, 2000 08:39 AM
7 comments, last by SKSlayer 23 years, 10 months ago
This is a weird problem, but, It''s not really ogl related I made a little program which works fine (a Message Of the day, outputs radom sentences) ... I included a export to file function that exports a certain amount of sentences to a file ... Cool works fine ! Send it to a friend doesn''t work After a bit of checking, I found the problem It works fine for the developpenment environemment VC++6 But, run it from the hard disk and it does not work, in fact, instead of outputting the correct file, it just output weird stuff (as if it would just print smthing from a random place of the RAM)
(you can find me on IRC : #opengl on undernet)
You should provide us with an excerpt of your source!
At least tell us which output algo you use (iostream, io.h, sth. else...)

As far as I understand it from now maybe it''s some problem with an incompatibility between a function and its debug version (sounds strange tho)

give us info, maybe we can help
Jan PieczkowskiBrainwave Studios
Advertisement
everything is set as release, give me your mail, and I''ll send you the source
(you can find me on IRC : #opengl on undernet)
You say it works in VC6++, but off of HD it don''t work?

Where are you outputing the info? And as stated above, how? printf()? cout? fprintf? what? If you are running in command line, and the person runs it in the shell, and it is expecting to be run in command line, then that can be the problem.


I do not expect anyone to run it from command line

I use fprintf(...) to output the stuff
It is being outputted where the user choose it

I can send you the source, ... just need you to give me ur mail adress
(you can find me on IRC : #opengl on undernet)
So, what''s your mail ?
Or anyone that could help ?
(you can find me on IRC : #opengl on undernet)
Advertisement
Easier to just post the code... my mbox is full (pop3 server is down, so I can''t clean the damn spam from it)

The code is split up is a lot of files and there are ressource files in
(you can find me on IRC : #opengl on undernet)
You don''t have to post all the code, just the code stub.

(as in your fopen, fwrite, fprintf...whatever.)

This topic is closed to new replies.

Advertisement