Search:
Type: Posts; User: SouthernCodeMonkey
Search:
Search took 0.04 seconds.
-
August 29th, 2005, 05:37 PM
Greetings.
Solution #1 also seems correct to me. What exactly is going wrong with it?
Also note that an executable and all libraries it loads share the same heap. It's only when you use...
-
August 29th, 2005, 04:57 PM
Greetings again.
Again, I want to stress that the framework does not allocate a console for an application built with the windows subsystem. Your call to Console::WriteLine() is having the...
-
August 26th, 2005, 10:15 PM
Greetings.
Declare your global variable "a" as being extern in your main header like so:
//stdafx.h
extern int a;
This will allow the compiler to see it in multiple translation units...
-
August 25th, 2005, 05:29 PM
That would be because the debugger creates a console and attaches it to the process automatically.
Nope. That's how win32 applications work...
You will need to call AllocConsole() or use some...
-
August 23rd, 2005, 11:21 PM
Greetings.
A function call in Kernel32 at Address 77e88989. Probably Global/LocalAlloc or the like.
I'm not sure of what you mean.
Regards.
-
August 23rd, 2005, 08:50 PM
Greetings.
One solution I can think of offhand is to "dress up" the console window that is spawned to look like a "normal window". You can draw on the console window with GDI and move it around...
-
August 18th, 2005, 09:11 PM
Can you? Yes. Directly? No.
The interfaces are not exposed by a managed library, so you'll need to create your own unmanaged wrapper library and import that. It's not that bad really, and the...
-
August 18th, 2005, 03:18 PM
Hello again.
Have you ran dumpbin against the first program to look at its import table? This will go a long way in moving you to where you want to be. I suppose I should have asked if the first...
-
August 17th, 2005, 01:32 AM
Greetings.
Firstly, I assume you've used a language in the past that has string concatenation built in to it. C++ does not. You are literally trying to add two pointers here.
Secondly, your...
-
August 16th, 2005, 06:59 PM
Greetings.
If by "on screen messages" you mean text that is being drawn to the window of the first app, then hooking GDI will give you direct access to this text.
To accomplish "pushing...
-
August 13th, 2005, 04:54 PM
Greetings.
You can typedef a series of function pointers that you then point to the address of the winapi function using LoadLibrary()/GetProcAddress()/FreeLibrary(). You can then call the...
-
August 10th, 2005, 11:17 PM
-
August 10th, 2005, 02:36 PM
You can find the .cs files in /api/csharp in the fmod directory. The documentation is, unfortunately, targeted at c/c++ users.
I take the route of wrapping it in my own c++ library and then...
-
August 9th, 2005, 03:29 PM
What does the footprint look like if give the process a bikini wax with SetProcessWorkingSetSize()? This will give you a better look at your mem consumption.
Regards.
-
August 8th, 2005, 01:48 PM
Greetings.
In response to your query about the audio issue, I suggest that you have a look at the FMOD Ex Library (www.fmod.org). It is extremely capable and now directly supports C#. I'm sorry...
-
August 7th, 2005, 04:33 PM
While the icon index of the icon you seek might change from version of Windows to another, it is constant on a given version. All you need to do is figure out which version you are currently running...
-
August 7th, 2005, 12:44 PM
You wouldn't want to use textures that aren't powers of 2 in dimension for performance reasons anyway.
Regards.
-
August 6th, 2005, 06:32 PM
You can know when TerminateProcess is being invoked against your process by externally hooking the form through a DLL coupled with API hooking. C# directly facilitates providing a native WndProc for...
-
August 6th, 2005, 06:19 PM
Actually it's commonplace for a DLL to call a C function in an application.
Just use a callback function.
Regards.
-
August 6th, 2005, 11:48 AM
Hello again.
Is this the function you are exporting and using in VB? If not, then of course it works internally...
Here is how you can export a function to do what you want:
//cg_code.h...
-
August 6th, 2005, 02:51 AM
Yes, no, yes.
That is: .NET does not work on Win95.
Regards.
-
August 6th, 2005, 02:44 AM
Greetings.
If you have an already created CBitmap, you want to use D3DXCreateTextureFromFileInMemory.
//MyBitmap is your CBitmap. CBitmap has a casting operator which
//allows casting to...
-
August 6th, 2005, 02:04 AM
Greetings.
You are trying to pass a CString from VB to C++. This won't cut it. You have to use PODs (or structs composed of PODs). Change your exported function to accept a parameter of const...
-
August 5th, 2005, 05:35 PM
It doesn't look good for OpenGL actually. Both ATI and nVidia chipsets dedicate about 70%+ (and this is increasing with successive generations of their chipsets) of their design to cater to Direct3D...
-
August 4th, 2005, 03:08 PM
You are probably needing:
MSVCR7.dll
Have you ran depends.exe against your application to check for addition dependencies?
Let us know how that goes. :D
|
Click Here to Expand Forum to Full Width
|