I thought I'd answer my own question.
I never did find out why it wasn't working, so I developed a workaround. I put all the values I wanted in the environment into the Tcl env array by hand using code like this, before calling Tk_Init
for (i = 0; i < arrCt; i++) {
char * value =...
Ok I made a teeny tiny little change :o) to the C-executable I use to launch my Tcl/Tk application and it stopped working. The problem seems to be that changes I make to the environment before I call Tk_Main/Tk_Init via code like this:
sprintf(tk, "TK_LIBRARY=%s\\tk", loaddir)...
Oooh this can be tricky. Let's assume the files were written on the same machine type as they're being read on, so there's no Endian problem.
Have a look at java.io.DataInput. It should do what you want.
Print statements directed to standard out from an applet show up on the Java console. You can open it from the Java Control Panel widget (among other places.)
The perl comment is a red herring. Perl runs on the server and produces output that is then rendered on the client. Java applets run on...
The full error message is:
jarsigner: Certificate chain not found for: mykey. mykey must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
Here's the situation: I got a certificate (an .spc and .p7b file) from my company and I'm...
Thanks for the reply.
I completely buy the explanation that a message loop is needed. So I guess that means a form is needed. But, the object's not a Component, so I can't draw it on a form.
Can you give me a quick example of how to create "instances of [my] objects created WithEvents in a ...
I have a COM library written in C++ not VB that exports three COM objects, one of which fires Events. These objects are not controls/components. The (first) question is: How do I catch those event in VB?
I emphasize that they're not controls because I know how to deal with events fired by a...
I want to present, in a Group Footer, the percent that(the sum of) X in that group is of (the sum of) Y in that Group. Now that should be calculated by
Sum(X,group)/Sum(Y,group)
Trouble is, I want to change the grouping condition at run time.
(This is Crystal XI, VS2008, by the way.)...
It seems the MS GUI designer is really bad at building GUIs at run time -- although may be I just don't know how to do it.
My particular problem should be simple. I've got a simple, SDI Form, part of whose contents depend on other parts. Simply put, if the user makes selections on the left part...
I'm trying to popup a menu from a Button, or something that looks like a button in .Net 3.5.
I tried creating a ContextMenuStrip, since it has a Show method, but the menu disappears immediately. ContextMenuStrip doesn't have a ShowDialog method.
Then I tried using a ToolStrip, so I could use a...
I'm looking for a tutorial on the run time programming aspects of CR. I am not looking for help on writing CR reports, but rather modifying their behavior at run time. I have an example that uses the COM/ActiveX interface to Crystal, but I want to do it in .NET. So, a tutorial or advice on how...
I get the following error from CVS (I'm in Eclipse, but I think the problem is CVS).
The server reported an error while performing the "cvs commit" command.
Aggregation: cvs commit: sticky tag `1.5' for file `graham/TraderBackTester.java' is not a branch
Aggregation: cvs [commit aborted]...
Is there something like biffview for displaying the logical structure of .xlsb files?
Context: I've been asked to adapt some old code that can produce Excel spreadsheets to produce one with more than 64K rows. B-( Am I right that I have to write .xlsb? And that .xlsb doesn't look much like...
I wrote a DLL that does this:
__declspec( dllexport ) wstring * myFunction();
wstring * myFunction () {
wstring result;
// add stuff into result
return new wstring(result);
}
which I call like this, from another dll:
wstring * mem = myFunction();
// do stuff to mem
delete mem; //...
A question out of ignorance: I mostly use C/C++ to code DLL's for use by Java programs (it's called JNI) to access services, whatever, that don't have Java interfaces. So, my question (which I'm too lazy to research myself [blush]) is:
Can VS 200x produce ordinary DLLs that look just like any...
It seems my problem is more complex than I thought. The project I'm working on hosts an ActiveX control using ATL. The errors I'm getting when I use the SGI STL implementation all come from the comip.h header file, which is "Native C++ compiler COM support" according to it's comments. I...
Has anyone tried to use an STL other than Microsoft's with Visual Studio 6.0? I tried using SGI's by putting the include directory as the first in the "additional include directories" list and got a ga-zillion error messages tagged to Microsoft header files I'd never heard of. Anyone have...
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.