Keep up the good work. The only thing we should have now is that we could do a walk thru of a com array. That is returned by some COM functions, or is there a...
Oops, you're right. "as variant" no longer compiles. I hope Jim finds a way to introduce that support in HB, as it opens possibilities (retrieveing the...
Hello, an update of STRIDE is available at Code Center/Emmazle Main changes: - (feature) Added popup menu with object properties when right-clicking the grid....
Thanks, this gonna be a very nice program suggestion: when creating an updown edit the object on design form is shown very large will do more testing grCor ......
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the hotbasic group. File : /Stride.zip ...
hotbasic@yahoogroups....
Oct 5, 2008 7:31 pm
15880
Hi, I'm probably doing something stupid and I always was getting excellent help on the forum. Here's my problem: defstr sc_name$ defdword scm_handle, sc_handle...
... Hello! Don't know if this would be specifically helpful, but in general, when using code/prototypes such as above, always change "dword" to "long", since...
... I've changed it but unfortunately it didn't work. See my new code: defstr sc_name$="Alerter" deflng scm_handle, sc_handle declare function OpenSCManagerA...
... On w2k, adding $apptype console, it does not crash, but gives 0 for the second handle print, probably meaning the service does not exit. What OS are you...
... Im on Win XP SP3. Yes, if wrong service name or 0 given it returns 0 which is a valid error return code for that function. On w2k you can list available...
Also bellow is equivalent code in C, which works. How to do a working equivalent in HotBasic? #include <windows.h> #include <winsvc.h> #include <stdio.h> int...
... OK, I used a running Service -- "Event Log", and still get 0 result for OpenServiceA with your code and "$apptype console" added. I'm running as...
... oh crap! don't tell me I've wasted a day because of typo (double paste)... It seems to be working now! Indeed it was something stupid. You're the best! ...
... Yes, the first time I ran your code, I missed that typo, too. Then, by chance, my eye focussed on the arg names you used. If you have lots of declares,...
... HB specifically allows duplicate names for SUB/FUNCTION arguments, unlike the general DIM/CREATE error-checking where duplicate names are not allowed. In...
... I don't think so. The best people are behind the contents on that domain ;) BTW during debugging we've encountered this: In C:\hot\projects\sc.bas: Line 5 ...
Here is an unsual problem: In the following example of SUDOCODE if Sub1 is called vi B1 the program crashes. However if the position of Sub1 and Sub2 are ...
... What happens (are we OK?) when you correct the syntax error (missing SUB statement): SUB Sub1 ' do some stuff End Sub SUB Sub2 ' do more stuff End Sub ...