Strange errors from Server

I have a ROSDK server compiled as a Windows service that has been running and in use for a few years. Recently, I returned to the source code, updated the ROSDK it was using to the latest and added a few structures and methods. I compiled this using Delphi 2007, tested, and everything was working OK. WHile i had it checked out, I decided to try and compile it under Delphi XE2 which i recently purchased. At that point, I realized I didn’t have all the 3rd party componenets needed for XE2, so I went back and recompiled this under Delphi 2007.

This is where it gets strange. It compiles fine under Delphi 2007. The service installs OK. None of the methods work. I get errors like this:

‘An exception was raised on the server: Access violation at address 006D81B9 in module ‘maaservice1.exe’. Read of address 00000000.’

I made a small test bed app and received the same error for any method i call. Its definately a problem on the server side. I’ve never seen anything like this.

The only out of the ordinary thing I’ve done is load the project in XE2, and then go back to D2007.

I’ve uninstalled ROSDK completely and reinstalled. I even reverted back a couple versions, and also tried the new beta. I get the same result no matter what version of ROSDK i install.

I’m looking for ideas as to what to try to get this working again. I am completely stumped as to what to try next.

Alan

Hi.

Can you give your test case, please? Or at least look where on server side access violation happens and give call stack?

First off, any method I call - I get the SAME error message I pasted above so it doesn’t seem to be method-specific. Also, I tried adding the MadExcept utility to the windows service, but for some reason I was unable to get any bug report/stack trace from the service itself.

These two facts alone I find very confusing. Its almost like somewhere in teh ROSDK code I’m running into a major fatal crash/AV, even before it hits my source. Does that make any sense?

Maybe need to delete all dcu files and rebuild your application?