2nd try..Creating a text file..
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/06/2003 at 21:03, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 6.3
Platform: Windows ;
Language(s) : C++ ;---------
I would still like to be able to create a text file using the Cinema 4d SDK. Can anyone do it? Consider it a challenge... I need to write out a standard ASCII text file that can be read by any text viewer. When I try, I get a binary file. I'll even send $5 to the person who can show me how to do it.
Matt -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/06/2003 at 21:38, xxxxxxxx wrote:
Ok, the $5 thing is off. I may have figured it out...
Matt
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/06/2003 at 22:50, xxxxxxxx wrote:
Could you tell us what the initial problem was?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/06/2003 at 23:02, xxxxxxxx wrote:
It seems like when using the functions file->WriteString, etc an extra 00 byte is added at the end of each string. This causes windows to think it is a binary file. What I did was just remove this last part and then the file gets written as a text file.
As a side note, do you have any idea why a plugin would work fine if I used the debug configuration in Visual C++ but wouldn't work if I used the Release Configuration?
Matt