namespace issue (very odd)

M

mazdotnet

Hi everyone,

I have the following very odd problem (only happens on Windows 2003
Server and not XP)

In my class I have (no namespace)
class test {
...
public static void method (sforce.SforceService binding)
{
does something with binding
}
...
}

In my code-behind I have

namespace ns {
class someclass {
....
somemethod() {
sforce.SforceService binding; // Define it
test.method (binding); // Call the method in test
does something
}
}

Even though they are both referencing the same sforce.SforceService on
Windows 2003 Server (not on XP) I get an error message that says
parameter is incorrect
since ns.sforce.SforceService is not the same as sforce.SforceService.
It automatically appends ns to it (happens on on the production running
Windows 2003 Server). Is there a way to force sforce.SforceService to
stay as is and not become ns.sforce.SforceService?

Thanks
MA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top