Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by MagicFrisbee

  1. MagicFrisbee

    DataSnap ServerMethods

    I'm messing around with DataSnap in Delphi XE2. I have the pre-generated ServerMethods1 class with EchoString and ReverseString. Those work nicely. However, I've added two more simple methods that return simple types and the generated web page of server methods does not include these new...
  2. MagicFrisbee

    From JSON to Delphi

    I've read and experimented a lot with JSON and Delphi. I know how JSON goes to Delphi objects and back through marshaling. The problem I have is that I need to be the consumer of a REST application that wasn't written in Delphi, yet returns JSON objects. I would very much like to work with...
  3. MagicFrisbee

    How to stop Delphi 2010 auto formatting my code

    In Delphi XE2, it's under Tools > Options > Editor Options > Code Insight. Turn off Code completion, Block completion, and Code template completion. The other options just provide tool tips and therefore don't modify your code. Senior GIS Programmer/Administrator City of Orem, UT...
  4. MagicFrisbee

    Should I upgrade to Delphi XE?

    I've got Delphi XE and it's horrible on the COM support side. It is, however, pretty darn stable when developing outside of the COM world. So, outside of COM development issues, I really like it's look and feel, stability, and the environment. I can't remember if Delphi 2009 had generic...
  5. MagicFrisbee

    Code writing standards

    Delphi has a Code Formatter which I've never used, but I hear it allows you to determine some coding patterns, then it can apply it to source code, without changing the meaning of the code, so that you can read it better. If I inherited a project from a co-worker, for example (we all work on...
  6. MagicFrisbee

    Disable Exception Handling?

    You raise some good questions and some good observations. I understand how important it is to keep the question short without going into all the gory details, so thank you. I have not noticed a pattern between catastrophic and non-catastrophic error codes. This could be a vendor-specific...
  7. MagicFrisbee

    Disable Exception Handling?

    I've done a lot of COM programming in my time, and it's not common to see the name of a property start with an unnecessary letter "I", like you showed in ICallResults.IExceptionCollection. In my experience, the property would be called ExceptionCollection (or Exceptions) and would be of *type*...
  8. MagicFrisbee

    Disable Exception Handling?

    So it's not as simple as accessing the IWorkException object from the ICallResults object? There would have to be a property or function that returns an IWorkException pointer. Unless you're saying the resulting object can be "cast" as an IWorkException. GIS Programmer City of Orem, UT...
  9. MagicFrisbee

    From Novell to Windows Server

    I found the following code on Microsoft's site. It is in C and I translated it to Delphi: { The following code was translated into Delphi from C by Roger Dunn. It was originally downloaded from the following URL: http://support.microsoft.com/kb/111544 }...
  10. MagicFrisbee

    From Novell to Windows Server

    I read at the article you linked, and although the function can tell me if the computer is part of a domain or not, it doesn't tell me the logged-in user name. Do I supply the internal method with the results of GetUserName? Will the function actually DO a rename of the machine if it IS part...
  11. MagicFrisbee

    From Novell to Windows Server

    I have a program I wrote for a laptop that's not always connected to the network (for obvious reasons--it's a laptop!). The function works whether or not the user is logged in to the network because it retrieves the Windows user name, not a network or Novell user name. However, I don't know...
  12. MagicFrisbee

    From Novell to Windows Server

    I have many in-house programs which read the currently-logged-in Novell user name to see if they have the necessary permissions to run in-house programs. If the username is empty or [Public], I know they are not logged in to the server and I can abort my programs before they even start. But...
  13. MagicFrisbee

    Web Service Client

    Are you saying that you are building the client and you imported the webservicex WSDL? What interface and method are you trying to call? And what does your code look like (we don't need the whole form, just the call to the web service will do)? GIS Programmer City of Orem, UT http://gis.orem.org
  14. MagicFrisbee

    Custom SQL-handling in dbExpress

    Thank you for showing me how to use DeltaDS, by the way. GIS Programmer City of Orem, UT http://gis.orem.org
  15. MagicFrisbee

    Custom SQL-handling in dbExpress

    I did a bunch of dbExpress tests on Friday in a new, separate application built just for that purpose. I was able to find out that if you have an SQL statement that joins more than one table together, the resolver can only automatically apply updates to 1 of those tables via the OnGetTableName...

Part and Inventory Search

Back
Top