For the record I've found an alternative solution which is quite complex, but does the job. Involves the server sending a random identifier number on each response (all responses are encrypted) and the cilent provides that on the next request to identify itself.
Much more complex than that, but...
At work I'm behind a router. That means when our remote web server handles an ASP.NET request, it looks like it's from ther router's IP address.
Say I need to determine the IP address of the actual requester, not the router. Or something that securely identifies them (IP address, MAC address...
For reference:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service08062002.asp
Also going to try putting my web services within the context of a web application and see if it helps.
I understood that basically anything could be stored in the cache -...
Hi guys,
Prototyping .NET system for our corporation and ran into an issue. I'm sure there's a solution.
We currently have a VB6 client, and can't change that in the immediate future (trust me). Plan is, however, to introduce .NET web services as the middle tier and keep the interface (just...
Figured that.
What was wierd was that 2.3 - 2 was only reproducable with the code as above, ie .if i removed dateadd() it seemed to work OK.
Anyway, no biggie.
debug.print Format(DateAdd("s", (120) + ((.3) * 100), Date), "h:nn:ss") outputs:
0:02:30
debug.print Format(DateAdd("s", (120) + ((2.3 - 2) * 100), Date), "h:nn:ss") outputs:
0:02:29
El-wierd-o. I can get around it, it's just a curiosity. Probably a Double type rounding error at the 40th...
Oh by the way - we have the ICA deployed in different offices throughout the internet and stuff.
Plus, we're near our client license limit (not sure if we may be getting bumped over it and that's causing the problems or something...)
Sorry, has been an issue for ages, users are constantly screaming at me, and I have no training or official experience with Citrix, and my Citrix support guy is too busy to look at it right away. =sob=
But here's the problem. One ICA client logs onto the server, and hey presto - they get...
...I consulted with and the software developers who wrote the actual software, and have deployed systems in the past. (ie. I trust their advice ;)
* Expensive, for server farms, but also for licensing and hiring Citrix engineers
>By hiring citrix engineers, you will probably double or...
...from what I've heard, I'm not very impressed. From my basic understand, it seems to me that there are significant disadvantages to Citrix:
* Programs run slowly, beacuse it's key presses, mouse movements, and screen shots getting transmitted - instead of just the raw data
* Large data...
Thanks Per,
Sorry - I haven't used Templates much so I don't know how to get this working.
I entered the following code to a MFC console program:
typedef std::set<int> CNumberTracker;
And got these errors:
: error C2039: 'set' : is not a member of 'std'
: error C2143: syntax error : missing...
...function in C++? I
looked everywhere but couldn't find one, so I had to write my
own.)
So here's the basic code. "List" is a
"int*" containing all the numbers, ordered.
"ListCount" says how many "ints" there
are in "List"...
We run Windows 2000 server as a file server (also acts as internet gateway). We've got some XP machines and some 95 machines which run exactly off the same hub and log into the same domain.
Now here's what gets me. On XP, very first time I try to open up a mapped drive (mapped to...
Sure I can delete the linked list the "orthodox" way, it's just that the code is messy and difficult to read! My proposed way results in neater code (I think) but is not suitable for enterprise situations or long lists.
Oh well...
...~Item () {
if (Next) delete Next; //...which calls the destructor for the next object, which call the destructor for... etc
}
Item* MakeNext () {
return Next = new Item(); //This is just a nicety too
}
Item* Next;
int Member1;
int Member2;
}...
(Posted this to the "DCOM/COM" forum, but I'm not sure which one is appropriate why are there two??)
In VB6 it's really easy to write COM objects, and to raise events:
Public Event SomethingImportantOccured (Data as string)
.
.
.
RaiseEvent SomethingImportantOccured...
In VB6 it's really easy to write COM objects, and to raise events:
Public Event SomethingImportantOccured (Data as string)
.
.
.
RaiseEvent SomethingImportantOccured ("Bingo!")
.
.
.
Private Sub ImportantObject_SomethingImportantOccured(Data as string)
'
End Sub
In C++, I...
...instead of performance, and performance is top priority in this situation.
So, I've written the following routines, which basically work:
char* PrepareBitField (int Length) {
//Quickly convert Length to how many BYTES we need for the bit field. If the bits is divisible by 8, then we...
Today is NOT my day for writing superb code. The complete code should be something like:
With MyForm
For CharacterIndex = 1 To Len(pText)
If Mid(pText, CharacterIndex, 1) = " " Then LastSpace = CharacterIndex
If .TextWidth(Mid(pText, LastBreak + 1, CharacterIndex - LastBreak...
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.