I have a site i am working on that i would like to display only to a few others for now. Is there anything wrong with setting up windows user names and using windows auth to prompt the user before getting into the development site?
...
Is it possible to create iPhone apps using a PC? I'm running windows vista and I want to learn objective-c, what better way can you be motivated then the potential to create something that someone, somewhere might use.
Edit: Are there any hacks that allow would allow me to make the apps?
...
I would like to handle fpu exception on windows, something like:
#include <math.h>
#include <fenv.h>
#include <stdio.h>
int main()
{
double b = 0;
int raised;
feclearexcept (FE_ALL_EXCEPT);
b /= 0;
raised = fetestexcept (FE_OVERFLOW | FE_INVALID);
if (raised & FE_OVERFLOW) { printf("over\n");}
if (raised & F...
Question:
How to pass specifically two arguments to CreateThread, when:
Argument one, of type SOCKET
Argument two, an interface pointer:
_COM_SMARTPTR_TYPEDEF(Range, __uuidof(Range));
RangePtr pRange; //pass pRange
Suggestions:
For interface pointer, using CoMarshalInterThreadInterfaceInStream, accordingly,
...
Which C Compiler do you recommend for Windows (Not C++, C ANSI)
Related:
c compiler for windows
C/C++ Compiler for windows
...
I want to implement a File Explorer, It is different from a normal file explorer, it first scan file system and store information into database, them read file system information from Database, and display them, I need to store the icons of the file, how can I do this? Is there any Windows APIs?
Many thanks!
...
i am developing c# windows application.In that i want to connect to mysql database which resides in another system.please help me to solve this?
thank you in advance
...
Hi,
I am using Visual Studio 2008 with the .NET Framework (v3.5). I cannot seem to use System.Windows.Shapes, or anything System.Windows.* besides Forms.
Here is the link to the class description:
System.Windows.Shapes (MSDN Library)
Is there some special thing I need to do to use it?
I checked in all of the framework folders, an...
I've had this problem for ages, and it's SO ANNOYING.
Suppose I want to run mysqldump.exe... here's my process: Start->run, type "cmd" ... dir into directory after directory until I finally get to c:/program files/mysql/bin/then I can FINALLY call "mysqldump.exe"
I don't mind using Windows Explorer to get to c:/program files/mysql/bin...
Hi, I've gotten fed up with MSVC++6 and how everyone is always telling me that it's a crappy compiler and such..
So now I've decided to try to use vim plus g++ and makefiles. Anyway here's my problem.. I have the following makefile
# This is supposed to be a comment..
CC = g++
# The line above sets the compiler in use..
# The next li...
What is the easiest way to get a PID that listens on a given port in C#?
Basically, I want to make sure that my service is running and listens on a port I have provided it.
If there is an easier way than parsing netstat output it will be great.
...
How can I get the size of the display in centimeters or inches?
This code does not always works correctly:
HDC hdc = CreateDC(_T("DISPLAY"),dd.DeviceName,NULL,NULL);
int width = GetDeviceCaps(hdc, HORZSIZE);
int height = GetDeviceCaps(hdc, VERTSIZE);
ReleaseDC(0, hdc)
Especially for multi-monitor configuration.
Update: I need to get...
Problem:
Call to send(), returns Winsock Error 10038 against socket handle
Illustration:
acceptedSocket = accept (server, (sockaddr *)&sin, &len);
accept(), returns 0
A new thread, is created for each connection
send(), (in thread function) returns 10038
Illustration: - in thread function
//omitted
SOCKET RemoteSocket = (SOC...
Hi!
I have some strings in Java (originally from an Excel sheet) that I presume are in Windows 1252 codepage. I want them converted to Javas own unicode format. The Excel file was parsed using the JXL package, in case that matter.
I will clarify: apparently the strings gotten from the Excel file look pretty much like it already is some...
Hello,
I am new to windows Forms. I am using VS 2008, C# to write a RichTextBox.
I want to be able to color each line with a different color as I write to the RichTextBox. Can someone point me to samples.
Thanks
foreach (string file in myfiles)
{
// As I process my files
// richTextBox1.Text += "My processing results";
if(file ==...
Has anybody any experience that an application would only work with the MUI but not with the native OS or vice versa? Or does anybody know what is the difference between the two systems that developers who develop localized applications should be aware of?
...
I been looking into Cygwin/Mingw/lcc and I liked to be able to compile perl native C extensions on my windows(preferably under cygwin) and then run them on Solaris and HP unix without any further fuss, is this possible?
This all stems from my original perl cross-platform question here.
...
I have some code that has a dynamic-class system in C++ that has a member called GetClassName(), a rather harmless name one would imagine. However when included in a large project with Windows headers all hell broke loose. Apparently Windows uses a #define GetClassName (GetClassNameA or GetClassNameW) which screws up everything, and my v...
I was just wondering who knows what programming languages Windows, Mac OS X and Linux are made up from and what languages are used for each part of the OS (ie: Kernel, plug-in architecture, GUI components, etc).
I assume that there are multiple languages for each and obviously I know the Linux kernel is written in C.
I'm totally guessi...
Hi.. I'm currently trying to use a certain SDK that has me loading functions off a DLL that a vendor provides.. I have to pass arguments to these functions and the DLL does all the work..
Now, the DLL is supposed to be communicating with another device, while I just wait for the results. However, I don't have this device, so how do I s...