I've found a work-around... at least I'm going to try it.
I will be using an IntPtr in place of trying to use the object struct. I can do this because I don't have to access anything within the object struct directly. The c library has a couple of functions to get the ObjectID and ClassID for...
I'm pretty sure the error is with this line:
foreach (string s in linetext)
What is essentially happening is you are moving through a collection of chars not strings (strings are just an array of characters). The following code would be correct, but not what you are looking for:
foreach (char...
I'm currently working on a language binding for the Y Window system. I'm attempting to pass a struct from my C# library to a C library. I'm very new to this but I have considerable experience with C#.
Here is the struct defined in C:
struct object
{
int oid, cid;
struct object *next...
I'm importing data from an Oracle database into Sql Server. Everything is going smoothly except oracle table timestamp columns.
I've made the conversion from timestamp to char using TO_CHAR(field_name,'MM/DD/YYYY HH:MI:SS PM') which puts in in the sql server format.
Am I doing something wrong...
I think you are confused on how the BufferedReader works... the buffer deals with the current line that is being read. Your file may be large but I'm sure that each line is not an insane amount of characters. This class should work for you without a hitch. Have you tried implementing this class...
For the most part when I get that exception the value I'm apparently passing to the parse methods turns out to be a null value... this is the first thing you should explicitly check for. I hope this helped! ;-)
- Casey Winans
Can anyone give me a nice example of how to execute sql server stored procedures in php... I've searched everywhere I could think of and found nothing? Maybe instead of using the built in mssql* functions someone knows how to do it using the generic odbc functions? Is it even possible? I hope...
I just tried it and it didn't work for me either.... it created the text file for me but still spit the error messages to the console.
So I'm baffled too. I hope this helped! ;-)
- Casey Winans
I've only skimmed these questions and responses, but I would like to suggest a different approach. You are using the Observer interface and Observable class. These are great ways to implement an MVC architecture in a simple application. You have numerous things happened from one user action...
Thank you both for your help. I have already figured it out using the MouseListener.. but now someone else in the future will have good examples to look at. Thanks a bunch.
I'll put a link to the game in another post when I get it done. It's due the middle of December and I love to program so I...
I'm currently developing a version of MineSweeper in Java for my Special Topics course at Penn State. I've seen lots of versions out there... none utilizing the full benefits of Java and it's object oriented abilities. I've written the underlying model for a truly object-oriented version. I'm...
I am behind a proxy at work. I found an example to get through it but it doesn't work. It was just a matter of setting a couple properties such as:
Properties props = System.getProperties();
props.put("http.proxyHost", "http-proxy.trans.ge.com")...
Is there a Javascript (JScript) API available for manipulating PDF files in a web browser such as searching for text within a pdf file being displayed in Internet Explorer? I hope this helped! ;-)
- Casey Winans
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.