That's what I do, read into my own structures and close the reader and it has proven to be quite fast. Also, I would assume that while the DataSet is being read you'd have the same issue with the underlying connection.
Was merely curious if there's anything that generally speaks against the...
>> First don't use readers. Get out of the recordset days :)
Why? Assuming you have more than one field and you're not dealing with DataSet's either, what's wrong with them?
V
Sure, calling EventHandler again with the Disconnect-flag. That's what I'm doing. Here's the code:
LOCAL loServer as DotNetEventServer.DotNetEventSender
LOCAL loHandler
ASSERT .f.
loHandler = CreateObject( "CHandler" )
loServer = CreateObject( "DotNetEventServer.DotNetEventSender" )...
Hi,
I'm currently experiencing a problem with the COM events interface. The server is written in C# and the client in VFP using the EventHandler() function. Works fine, no problem. The problem is that after I've used EventHandler() (whether that event ever happened or not) VFP will crash on...
DUH!!!
It WAS a security issue, just not the firewall. After setting up the new OS the System account had just no rights to access my data drive $%@^. Server installation has just completed. Thanks
Volker/
Bob,
I've tried
SELECT ID, Status FROM table ;
WHERE Str( id ) + Str( sequence ) in
(SELECT Str( id ) + str( Max(sequence)) as sequence
FROM table GROUP BY id )
to get a unique field from id and sequence in the subselect and it seems to be working.
Volker/
Alright, I've checked. I haven't installed the ICS service yet, i.e. there is no firewall apart from my hardware fw. I'll keep trying... :-(
Thanks
Volker/
Denny,
>> Are you trying to install a named instance of SQL or the default instance?
Default. I'm basically trying to just get back in business.
>> Check the application log, does SQL actually startup?
Nope. And it seems like the timeout is set quite high as I left it for about 5h and it was...
Hi,
I was sort of expecting to find something in the FAQs but didn't so here's the question. I'm trying to install SQL8 on Windows Server 2003 which, supposedly, requires SP1 for Windows and SP3+ for SQL Server. According to this KB article http://support.microsoft.com/kb/329329/ I should ignore...
First of all, I forgot to mention something. When you create your new class select "Creatable by Type-ID" in the same box. Whatever name you enter there will be used as the com class name. Using the class wizard again (and selecting that new class) you can now add methods and properties. DON'T...
Patrick,
yup, that is possible if you make it a COM server. One possible way is to create a new project based on MFC App Wizard DLL. Make sure "Automation" is ticked in the following Dialog. Click finish. Right-click your <project>.cpp, select class wizard. On the Automation tab add a class...
Did you passed the exact same string, i.e. your function call was something like
xx = javarget( "HOMEPATH" )
or did you call the function somewhat different?
jbsys,
Do you need to use reference parameters as opposed to your first idea of just passing a simple string in and returning the same? Don't know Powerhouse but every language I know could deal with that. I.e.
#define DllExport extern "C" __declspec( dllexport )
DllExport char* javarget(...
I'm assuming that your event fires as expected (i.e. you can hear a ??chr(7) in your code). You could try to toggle the format propery to "R" and back to normal but that's just a shot in the dark...
Volker/
Are you familiar with asserts and debugging? Seems to be the only way to find out what's going on.
Also, if all necessary files are opened in the Load(), why do you USE myfile in your function?
Volker/
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.