Search Results

Showing results 1 to 40 of 53
Search took 0.01 seconds.
Search: Posts Made By: Thew
Forum: C++ Sep 26th, 2009
Replies: 0
Views: 912
Posted By Thew
Hello,
I'd like to make some application which will play videos or flash animations over the desktop.
The only idea I have is to use DirectShow, make application window transparent and "always on...
Forum: Pascal and Delphi Jul 9th, 2009
Replies: 2
Views: 429
Posted By Thew
Thank you... :)
Forum: Pascal and Delphi Jul 8th, 2009
Replies: 2
Views: 429
Posted By Thew
Hello,
I have a small question. I have done some projects in C++ and Delphi. In C++, when I work with classes, I always use pointers.I make functions and classes that takes pointer to a class as an...
Forum: C++ Jun 14th, 2009
Replies: 2
Views: 319
Posted By Thew
I have already tried it. GetLastError returns 0, and I don't understand if the same example works in Delphi, why it doesn't work in C++, I know I'm missing something or I did some mistake...
Forum: C++ Jun 14th, 2009
Replies: 2
Views: 319
Posted By Thew
Hello, can you help me with this problem:
I'm extending the TListView to enable notifying me about the column resize. I've found the code written in Delphi, but I needed to use it in C++, so I...
Forum: Network Security Jun 2nd, 2009
Replies: 2
Views: 749
Posted By Thew
I have finally found the solution how to do this. It's possible if you use the WinPcap. You can use this to generate signals on your NIC, "to send your own packets". With use of this headers:

/* 4...
Forum: Network Security May 15th, 2009
Replies: 2
Views: 749
Posted By Thew
Hello,
I am a beginner in Windows socket programming and I want to know, if there is some way how to create an UDP packet with no source IP address (or with some different on another network) so...
Forum: Pascal and Delphi Apr 30th, 2009
Replies: 2
Views: 694
Posted By Thew
Hello,
I want to ask you if there is some way how to print visual components like TButton with TPrinter? I've seen only examples how to print images etc. (which contain TGraphic).
Thanks
Forum: C++ Mar 21st, 2009
Replies: 0
Views: 580
Posted By Thew
Hello,
is there any way how to listen to communication on COM ports?
Not to open them for using, deny any application from access to it, just to watch the data comming in and out the COM port.
Forum: Pascal and Delphi Dec 3rd, 2008
Replies: 1
Views: 1,056
Posted By Thew
Hello,
I have one problem with XML in Delphi 7 Ent.
When I want to use XML classes or units like XMLDoc I always get this error when compiling:
Unit XMLIntf was compiled with a different version...
Forum: C++ Oct 14th, 2008
Replies: 1
Views: 392
Posted By Thew
Hello,
I need help in my project, where I want to catch, read and forward some packets given to another application. Example: some packets is incoming for application MyApp on port 888. The another...
Forum: Pascal and Delphi Sep 21st, 2008
Replies: 1
Views: 1,778
Posted By Thew
Hello,
I need to know how can I get the process name (or path to the executable) that is currently using some file. Like I want to know which application uses Dll I want to replace, so I can kill...
Forum: Pascal and Delphi Sep 7th, 2008
Replies: 1
Views: 849
Posted By Thew
Hi,
I need to know, if I can draw multi-colored subitems in ListView. Since I've been trying to do this, I made some steps, but the result is subitem still with one color. For example, I need to...
Forum: Pascal and Delphi Jul 8th, 2008
Replies: 5
Views: 2,901
Posted By Thew
I tried to call FreeMem(Names) after I set it with SetLength(Names,0), no exception. I think that after I set length of array to zero, system will automaticaly frees the memory used for this array.
Forum: Pascal and Delphi Jul 6th, 2008
Replies: 5
Views: 2,901
Posted By Thew
So if I want be sure with deallocating memory, should I use something like FreeMem(Names) ?
Forum: Pascal and Delphi Jul 6th, 2008
Replies: 5
Views: 2,901
Posted By Thew
Hello,
does the SetLength function in Delphi called with the second argument 0 free the memory used for the array?
Example:

var
Names: array of String;
i: Byte;

SetLength(Names,10);...
Forum: Pascal and Delphi Jul 4th, 2008
Replies: 1
Views: 860
Posted By Thew
Hello,
can I export whole classes into Dll in Delphi ?
Forum: C++ Jun 25th, 2008
Replies: 3
Views: 595
Posted By Thew
So how can I create a pointer to function type if the function I want to call may be from different classes. For example:
class ClassOne
{
void functionOne(bool);
}
class ClassTwo
{
void...
Forum: C++ Jun 24th, 2008
Replies: 3
Views: 595
Posted By Thew
Hello,
I have some problems always when I'm trying to work with pointer-to-function. I need to create some that can be called from another class. But maybe I don't know how to make it. This is the...
Forum: C++ Jun 20th, 2008
Replies: 0
Views: 825
Posted By Thew
Hello,
how can I create a window (best in Managed C++), that will stay in the parent form like MDI child. It's something similiar as in graphic editors (3DS,Maya). I attached an image how do I...
Forum: C++ Jun 19th, 2008
Replies: 7
Views: 979
Posted By Thew
Yes, I found that everytime the ParticleSystem SPParticle is going to be destroyed, it will crash. Maybe I need to create some other struct that will hold the informations thah ParticleSystem cannot...
Forum: C++ Jun 18th, 2008
Replies: 7
Views: 979
Posted By Thew
I tried to delete all the struct definitions and start over. I found when I use SceneParticulation, the error will be raised. Otherwise everything goes ok. But what's wrong in this definition:
...
Forum: C++ Jun 18th, 2008
Replies: 7
Views: 979
Posted By Thew
I'm not sure if you will be able to compile it, but this is all the code for sample application. This project uses also Ogre3D, OgreAL, OgreNewt, OpenAL, vorbis and ogg, so...
The class that runs...
Forum: C++ Jun 17th, 2008
Replies: 7
Views: 979
Posted By Thew
The function looked like that before i made some changes:

void Weather::SetScheme(SceneArg sceneArg)
{
mScheme = sceneArg;
mIsLoaded = true;
_update();
}

but everytime I run...
Forum: C++ Jun 17th, 2008
Replies: 7
Views: 979
Posted By Thew
Hello,
I need help to solve the problem in my app that uses structs.
I have for example this struct:

struct SimpleStruct
{
SimpleStruct():
hasVars(false){}
~SimpleStruct();
...
Forum: C++ Jun 15th, 2008
Replies: 5
Views: 1,084
Posted By Thew
The rendering loop is fully automatic, but I can do something like this:

// startup sequence

// while loop
while (true)
{
renderOneFrame();
if ( /* ESC pressed */ )
break;
Forum: C++ Jun 14th, 2008
Replies: 5
Views: 1,084
Posted By Thew
Hello,
I need help in my application development.
I'm actualy working on editor for simple 3D App, and I need to add window for rendering 3D content into the editor. But as many of you know, 3D...
Forum: C++ Jun 10th, 2008
Replies: 1
Views: 911
Posted By Thew
Hello,
When I was running some demo applications I've found that I'm getting an exception in the std::list. After some time of debuging I found that the error coms from here:

bool...
Forum: C++ May 14th, 2008
Replies: 2
Views: 1,956
Posted By Thew
Really thank you :)
Forum: C++ May 13th, 2008
Replies: 2
Views: 1,956
Posted By Thew
Hello,
I'm trying to use some default (static) members for my class. At first I've created class which looks like this (this is just a small code):

//rozšírenie materiálu, M (par (ext))
typedef...
Forum: C++ Apr 6th, 2008
Replies: 0
Views: 1,560
Posted By Thew
Hi,
is there any way how to extract resource data from executable file or dll?
I need this, for example to extract icons (all sizes and depths) to any ico file.
I found ExtractAssociatedIcon in...
Forum: Pascal and Delphi Mar 25th, 2008
Replies: 2
Views: 2,500
Posted By Thew
I've already tried to fix this problem and now I know what was wrong. FindFirst and FindNext are allowed in AlWinInetFTPClient, but you cannot use this to explore subdirectories, because you can have...
Forum: Pascal and Delphi Mar 25th, 2008
Replies: 2
Views: 3,587
Posted By Thew
Thank you Micheus, I've used this help you posted to another file function FileWrite and FileRead ad it works great.
Forum: Pascal and Delphi Mar 16th, 2008
Replies: 2
Views: 2,500
Posted By Thew
Hi,
I don't know if you know something about TALWinInteFTPClient, but maybe it doesn't depend on it. I am using this class to access to the ftp server. I connect, then I check the connection and...
Forum: Pascal and Delphi Mar 15th, 2008
Replies: 2
Views: 3,587
Posted By Thew
Hello,
I want to put some files together, but
I have problem, when I'm trying to write data into opened file from another file.

Structure of compiled file:
- Head: total count of files in file...
Forum: Pascal and Delphi Mar 5th, 2008
Replies: 0
Views: 1,952
Posted By Thew
Hi,
I need to send file from my computer just with public IP to another PC which has public IP too.
Is there any way how to send it directly?
Forum: C++ Feb 13th, 2008
Replies: 4
Views: 1,199
Posted By Thew
what do you think "platform SDK", normally, when I create something in Dev-C++, it runs on the older versions of Windows too, so when I write the same code in Visual C++, why this doesn't work???
Forum: C++ Feb 13th, 2008
Replies: 4
Views: 1,199
Posted By Thew
Hi,
I am using Microsoft Visual C++ 9.0 Express Edition.
In File > New > Project, you can select Win32 group and then the Win32 Application.
I think, when you use this in your project then the...
Forum: Pascal and Delphi Feb 4th, 2008
Replies: 6
Views: 2,225
Posted By Thew
I found this same example on Google. But this example is for ftp transfer, I don't need to know tha way of ftp connect. I need the http authentication. For example if you're in work, or in school,...
Forum: Pascal and Delphi Feb 1st, 2008
Replies: 6
Views: 2,225
Posted By Thew
Ok, so I used function InternetOpen at first, than the HINTERNET handle returned by this function, I used in InternetConnect function with blank username and blank password. Because I don't need the...
Showing results 1 to 40 of 53

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC