Author Topic: Writing handles to a text file problem in .net 2005  (Read 5697 times)

0 Members and 1 Guest are viewing this topic.

LE

  • Guest
Re: Writing handles to a text file problem in .net 2005
« Reply #15 on: June 29, 2006, 03:54:22 PM »
I was going to mention about what fwrite() parameters requirements, in my previous post... in the below line:

Quote
fwrite( buf, strlen( buf ), 1, f );

The second parameter is a number of characters return by strlen() and it is asking for size (number) of bytes.

Will see what the masters say...  :-)

Draftek

  • Water Moccasin
  • Posts: 1501
Re: Writing handles to a text file problem in .net 2005
« Reply #16 on: June 29, 2006, 04:37:45 PM »
That's basically what I converted mine back to and it works fine. Are you sure your selection set is getting filled?
Soli Deo Gloria

DaveW

  • Guest
Re: Writing handles to a text file problem in .net 2005
« Reply #17 on: June 29, 2006, 06:53:04 PM »
I got it guys.

It was an issue with multipule iupport paths confusing ACAD. I was not able to set a breakpoint, but was able to run it in debug mode. It produced the file that way. That is when I wiped everything out and started over and then the compiled arx worked. This c++ stuff is very confusing.

I do not how you guys do it, but kudos to you all. Hopefuly it will still work tomorrow. lol