I'm trying to run a GLSL example, but I can't.
The error is in the line glGetShaderiv(vShader, GL_COMPILE_STATUS, &status); where the program exits. vShader is the file vPhong.glsl.
The error returned is:
0(18) : error C0000: syntax error, unexpected $undefined at token "<undefined>"
0(18) : error C0501: type name expected at token "<...
Hello, Im developing some wpf app. Basically i have two types of windows: search windows and insert/edit windows. When i developed win forms apps, i used a trick, called MdiParent. In that way i had ability to put my caled search type windows in a "stack". In orher words if i called 5 different search windows from meniu, they apeared in ...
How can I programmatically detect if a thread has windows handles on it for a given process?
spy++ gives me this information but I need to do it programmatically.
I need to do this in C#, however the .net diagnostics libs don't give me this information. I imagine spy++ is using some windows api call that I don't know about.
I have ac...
I am confused about Windows BSTR's and WCHAR's, etc. WCHAR is a 16-bit character intended to allow for Unicode characters. What about characters that take more then 16-bits to represent? Some UTF-8 chars require more then that. Is this a limitation of Windows?
Edit: Thanks for all the answers. I think I understand the Unicode aspec...
On one of my projects, the downloaded installer file gives the internal name for the program name in the 'Do you want to run this software' warning dialog, rather than the external name. Where does windows get this program name from, as there's no sign of it in the standard metadata in the .exe properties?
...
Recently, I read a white paper by an individual who refers to a pointer to a struct as a handle. The author was clearly someone who had written C code on the windows platform previously. Googling indicates that windows programmers interact with system components via handles. I am wondering if it is common practice for windows programm...
I am writing some multiprocessing code (Python 2.6.4, WinXP) that spawns processes to run background tasks. In playing around with some trivial examples, I am running into an issue where my code just continuously spawns new processes, even though I only tell it to spawn a fixed number.
The program itself runs fine, but if I look in Win...
I have a problem, though it might be virus.
In my school, when i compile pascal programms and IF there is readln on the end - the computer restarts. The OS is windows XP.
Does anyone here know something about dealing this issue ?
Thanks in advance.
...
I'm using the C++ API to fire up MATLAB (via engOpenSingleUse). Everything's working fine. But I'd like to change the title of the window from "MATLAB Command Window" to something else.
I often have 4 or 5 of them open, and occasionally one gets orphaned if my program crashes. If I could change the title, I'd have a better shot of kn...
In Windows, it is possible to view a Power tab for a USB hub in Device Manager that lists information such as whether the hub is self-powered and the total power available.
Is this information available programatically, either in Windows (perhaps WMI?) or Linux? I've looked in MSDN with little success so far.
...
I'm really begining to learn Smalltalk. Now I'm using Squeak, but there is any way to develop in Smalltalk without using VMs, but something like an IDE?
...
I'm writing a cross-platform python script that needs to know if and where Cygwin is installed if the platform is NT. Right now I'm just using a naive check for the existence of the default install path 'C:\Cygwin'. I would like to be able to determine the installation path programmatically.
The Windows registry doesn't appear to be an ...
I just want to convert my .NET application to linux application is it possible that the MSIL is converted to any machine code like apple intel etc. or can be executed on any os independent of architechture.
...
I have sucessfully installed Hypertable on top of Hadoop on a small cluster of Ubunto servers. At this point the only way to access the Hypertable is via the 'ht shell' command on one of the HT servers.
Thats all very interesting, but now I want to access the hypertable database from a PC thats not part of the cluster. Preferably from C...
It is possible to create a non-standard window with QT??. I mean, I want to create an application with round-corners windows and buttons with aqua-like effects. The principal thing is that the app must to be beautiful, no compliant with any Windows or Mac GUI reference... Can QT does that thing, or is preferable other toolkit?
...
Hi - I am trying to read an XML file using LINQ. I have had no problem reading and parsing simple XML files but this one has me stumped.
Here is a portion of the file: The file is properly formed and valid.
<Activities>
<Activity Sport="Other">
<Id>2009-12-17T19:53:14Z</Id>
<Lap StartTime="2009-12-17T19:53:14Z">
...
Using Windows 2003 Server or 2000, generating a COM+ application proxy for use on another system, includes .NET Enterprise Services components within the MSI package created during export. The .NET components are also registered in the GAC and regsvcs runs automatically during installation of the application proxy.
However, we have dis...
I am writing a program that can be loaded by another service (under our control), or by the logged-on user. The program needs to know if the window station is interactive in order to display dialogs. I know GetProcessWindowStation function, but this one returns a handle. Is there a way to find out?
...
Remote Desktop Protocol version 6.1 changed the way RDP sessions are handled (making session 0, which previously meant "console session", into a non-interactive session). I need to be able to figure out from within my program how to determine just what version of the RD protocol is being used on the current RDP session. Nothing I can f...
Ok i'm currently using LuaScript v5.1 in a Game engine i'm using. and the handy LuaInterface that comes along with it. i've tested it on a range of systems running a range of OS's.
LuaInterface seems to fail on 64bit Operating Systems.
Could anyone point me to a 64bit Compiled LuaInterface.dll, or is there any alternative to the LuaInter...