Forum: Pascal and Delphi Jun 30th, 2009 |
| Replies: 1 Views: 527 if anyone cares to know, you can use COM interop. (Creates a tlb file using your C# classes and converts them into delphi which can then be imported into your delphi program. So you have all the... |
Forum: Pascal and Delphi Jun 24th, 2009 |
| Replies: 1 Views: 527 Heya,
I would like to know how to pass a packed record in delphi into a C# dll procedure. Any ideas? |
Forum: C++ Jun 18th, 2009 |
| Replies: 10 Views: 507 Works like a charm. Thanks for your time:) |
Forum: Pascal and Delphi Jun 17th, 2009 |
| Replies: 0 Views: 297 Hi,
I'm using CodeGear RAD Studio for compiling a delphi.NET application.
Is there anyway to check what .NET version is being used to compile the application and how would you set the .NET version... |
Forum: C++ Jun 17th, 2009 |
| Replies: 10 Views: 507 Just something i found out....If the user resizes the window and the rect is not updated to the correct size the clipcursor will no longer function properly. So yes I think you do need to keep... |
Forum: C++ Jun 17th, 2009 |
| Replies: 10 Views: 507 Ah there we go, is working now^^ thx dude |
Forum: C++ Jun 15th, 2009 |
| Replies: 10 Views: 507 Also for anyone reading this post. You will need to set the ClipCursor inside a loop to constantly update that cursor is infact still inside the window |
Forum: C++ Jun 15th, 2009 |
| Replies: 10 Views: 507 |
Forum: C++ Jun 11th, 2009 |
| Replies: 10 Views: 507 I'm not thinking like that at all!:P "malicious purposes"
I'm thinking gaming....I don't know if you have ever played baldur's gate1 or 2...when you move the mouse to the side of the screen it will... |
Forum: C++ Jun 11th, 2009 |
| Replies: 10 Views: 507 Hey:)
I'm not actually sure what it's called..so just calling it "mouse window locking" - What i mean by this is how do you lock the mouse to a window ie: The mouse can not leave the window unless... |
Forum: Pascal and Delphi Jun 10th, 2009 |
| Replies: 4 Views: 543 |
Forum: Pascal and Delphi Jun 10th, 2009 |
| Replies: 4 Views: 543 Hey,
I would like to know how to only allowing one instance of a program to run at once. Ie: You can't run the application multiple times creating multiple processes. I only want to allow one... |
Forum: C++ Mar 10th, 2009 |
| Replies: 4 Views: 935 I understand a map with 2 keys being a 2d map array?
map<Key, Map<Key, Value> > So i suppose you can do that if you want a value that uses two keys to make it unique? |
Forum: Pascal and Delphi Mar 10th, 2009 |
| Replies: 2 Views: 673 Thanks for the reply. This link kind of gives me what I wanted
http://w-shadow.com/blog/2006/08/27/how-to-get-the-cpu-usage-of-a-process/ |
Forum: Pascal and Delphi Mar 5th, 2009 |
| Replies: 2 Views: 673 Hi,
Does anyone know of some source code or methods that can be used to monitor the CPU utilization in Delphi? |
Forum: Pascal and Delphi Feb 23rd, 2009 |
| Replies: 0 Views: 368 Just a short question..
Does declaring your program as "unsafe" mean your program's memory is no longer managed? |
Forum: Pascal and Delphi Feb 15th, 2009 |
| Replies: 3 Views: 495 I would just like to know how to create and use a "pointer" in Delphi.NET. If you can give me an example that would be great |
Forum: Pascal and Delphi Feb 13th, 2009 |
| Replies: 3 Views: 495 Hi, I would like to know how to port this code in Delphi
a : Word;
b : ^Word;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
b := @a;
Inc(b^); |
Forum: C++ Nov 24th, 2008 |
| Replies: 1 Views: 292 Hi I don't know if there is any simple way of doing this but how can I gather how much data has been sent across the network from a certain IP address....for example say i wish to track how much data... |
Forum: C++ Oct 1st, 2008 |
| Replies: 0 Views: 289 Hey, Does anyone know any good packages that include a way to create 2d ghx along with GUI for C++. what I've got atm is wxwidgets for GUI and allegro for 2d ghx. I do not know how to combine the 2.... |
Forum: C++ Sep 10th, 2008 |
| Replies: 2 Views: 1,642 ah awesome it works thx!:) |
Forum: C++ Sep 10th, 2008 |
| Replies: 2 Views: 1,642 I got this info off a website. tells u how to make a clock in C++... can anyone tell me how to make it so the PC doesn't use 100% cpu? if u look in task manager ull see <ProjectName> is using 100%... |
Forum: C++ Sep 6th, 2008 |
| Replies: 0 Views: 503 Hey again. just want to know how to create a query such as an insert query with MS access and C++. this is the code im using to connect to the database and im using Dev C++
#include <windows.h>... |
Forum: C++ Sep 5th, 2008 |
| Replies: 5 Views: 558 system("pause");
return 0;
use that at the end of ur main method should work:) |
Forum: C++ Sep 5th, 2008 |
| Replies: 6 Views: 1,138 i actually just got one last question. how wud i create a query using this method of connecting to a sql db?
ex: SELECT * FROM table1 |
Forum: C++ Sep 5th, 2008 |
| Replies: 6 Views: 1,138 oh ffs im an idiot:) u gotta include the whole pathname in the linker
C:\Dev-Cpp\lib\libodbc32.a
C:\Dev-Cpp\lib\libodbccp32.a
thx anyway soz for bothering:P |
Forum: C++ Sep 5th, 2008 |
| Replies: 6 Views: 1,138 Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\BradenMurphy\Desktop\DB\Makefile.win"
Executing make...
make.exe -f "C:\Documents and... |
Forum: C++ Sep 5th, 2008 |
| Replies: 6 Views: 1,138 im using dev C++ 4.9.9.2 btw |
Forum: C++ Sep 5th, 2008 |
| Replies: 6 Views: 1,138 Hi i've got a problem. I keep getting this awesome error "[Build Error] [Project1.exe] Error 1"
I copied this source code from http://www.daniweb.com/forums/thread56924.html
I just can't seem to... |
Forum: C++ Aug 26th, 2008 |
| Replies: 2 Views: 498 string ip = inet_ntoa(cad.sin_addr);
thx:) |
Forum: C++ Aug 25th, 2008 |
| Replies: 2 Views: 498 Hi i would just like to know how wud u display the client's IP address when the client connects to the server.
This is found on the servers side while waiting for a connect. now i just need to... |
Forum: C++ Aug 16th, 2008 |
| Replies: 3 Views: 471 ah awesome got it to work thx guys:D |
Forum: C++ Aug 16th, 2008 |
| Replies: 3 Views: 471 string hello;
cin>>hello;
sprintf(buf, "This server has been contacted time%s\n", hello);
I'm making a simple client-server program. I just want to know how do I get to print out... |
Forum: C++ Aug 14th, 2008 |
| Replies: 2 Views: 430 |
Forum: C++ Aug 12th, 2008 |
| Replies: 2 Views: 430 I've got 3 classes 2 subclasses that link to a main class. (electric tools, fuel tools connect to Core tools). What i've done is made a handler class(Hardware) from these classes which has a void... |
Forum: C++ Aug 8th, 2008 |
| Replies: 10 Views: 905 hehe noob question:P
what does it mean when u declare variables outside of the struct?
struct data
{
int x,y;
double s,w,e,d;
}d[5000],f[5000]; <<<< ? |
Forum: IT Professionals' Lounge Aug 3rd, 2008 |
| Replies: 3 Views: 680 thanks ill look into some of the ideas u've given:) |
Forum: C++ Aug 3rd, 2008 |
| Replies: 3 Views: 726 tyvm i got it working yay:) |
Forum: C++ Aug 2nd, 2008 |
| Replies: 3 Views: 726 Hi for my assignment i have to create my own greater than operator for a string class. Basically the class acts as the std string class library but i gotta edit the greater than operator in it. The... |
Forum: IT Professionals' Lounge Aug 1st, 2008 |
| Replies: 34 Views: 10,513 well... we did java at school and it was rly easy..just did basic stuff tho like hsa console, bit of GUI, sort methods, for loops etc..also connecting to a microsoft DB.. also imo after starting to... |