Search:
Type: Posts; User: vivendi
Search:
Search took 0.04 seconds.
-
October 6th, 2012, 09:01 AM
Hi, i'm trying to learn more about how Lexical Analyzers/Parsers work. I haven't coded any classes yet, because i'm not really sure how the entire process from a Lexer to working code goes.
My...
-
January 21st, 2012, 07:48 PM
I want to read the pixels from the back buffer. But all i get so far is a black screen (the clear color).
The thing is, is that i don't need a glut window to draw to. Once i have the pixel...
-
Hi, i have some sort of Factory class which creates an instance of another class like so:
public object setDispatcher ( string obj )
{
this.dispatcher =...
-
April 26th, 2010, 02:11 PM
So with other words, it's not really possible in Windows to get the entire output pf a console window?? Eventhough my app is the one opening that console app...?
-
April 26th, 2010, 01:41 PM
I have a Win32 app and with that app i'm going to open another .exe file. That other .exe file is a console app and it will write some data to that console. Now i was wondering if there's anyway my...
-
April 16th, 2010, 05:09 PM
Got it fixed. I had to use declspec(export). This is how it looks right now:
extern "C" __declspec(dllexport) int testfunc ( int x );
..
..
int testfunc (int x)
-
April 16th, 2010, 04:59 PM
A lib file would be easier, but in my case i really need a dll.
When i used dumpbin on my dll it gave me the following output:
dumpbin \EXPORTS path\to\file.dll
File Type: DLL
Summary
...
-
April 16th, 2010, 04:37 PM
I see what you mean, but that's how C++ export function names. But since i'm using extern "C" now i avoid that name mangling, right..?
-
April 16th, 2010, 04:25 PM
Nope, didn't work either :(
-
April 16th, 2010, 04:18 PM
@hoxsiew
The return value of GetProcAddress is 0x00000000. So for some reason it can't find it...
@Igor Vartanov
You mean that the function name in my dll should also have 'extern' infront of...
-
April 16th, 2010, 03:33 PM
I don't know how i got that mixed up, but i changed it. But it's still not working.
typedef int (* testfunc)(int);
//in my main function
testfunc bla(0);
dllEngine = LoadLibrary (...
-
April 16th, 2010, 02:16 PM
I'm trying to call a function in a dll. I created this dll myself too. When i run my code i get am 'Exception unhandled' error. Can someone please tell me what i'm doing wrong?
In my exe file i...
-
April 11th, 2010, 01:07 PM
I do know the functions that the DLL have and what parameters they need. I just still don't see how i can call them from my executable.
Normally i would do it like this:
typedef int...
-
April 11th, 2010, 09:53 AM
If i have an executable which loads a DLL, is it then possible that the executable can call functions from the DLL eventhough it doesn't know what functions exist in that DLL ??
The executable...
-
March 5th, 2010, 02:02 PM
Suppose i have the following classes:
class testA
{
public int myVar = 12;
}
class testB
{
-
February 21st, 2010, 05:04 AM
Ok thanks, then i have another question about a class. Suppose i have the following code:
class cBlaat
{
public:
DoSomething();
};
-
February 20th, 2010, 08:10 PM
If i have the following class:
class cBlaat
{
public:
void SomeFunc();
};
-
February 13th, 2010, 06:31 AM
Thanks both, for the answers. I never thought it would be this complicated to create a dl.
I guess i'll have to release 2 different DLL's. One for C++ programmers and one for C# .NET programmers....
-
February 12th, 2010, 06:59 PM
I want to create a dll in C++ (NOT MFC) in a way so that others can use the functionality that i've build in my dll. So with other words, when someone is programming C#, he should be able to add my...
-
January 27th, 2010, 03:46 PM
I wanted to create a new Win32 DLL project. But i don't see any option for creating a DLL...
I'm using Visual Studio 2008 Professional, so it should be there right?
I Create a new project, click...
-
November 23rd, 2009, 05:35 AM
Hey, suppose i have the following sentence:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit."
Now i need to split this sentence into pieces of two words. So i need the following...
-
October 16th, 2009, 04:52 PM
yep that true. the main class, panel.cs should be able to inherrit multiple instances of any other gui class of mine
-
October 16th, 2009, 04:11 PM
actually im not using the default controls but im using images that look like controls. thats why im making a class for each control.
-
October 16th, 2009, 02:32 PM
Well it's like this.
I'm trying to make a custom GUI class. So for instance i have these classes:
Panel.cs
Button.cs
Label.cs
Image.cs
Now a panel would be the first thing i want to create,...
-
October 16th, 2009, 01:41 PM
Hey, i want to store multiple instances of a class inside a dictionary. I believe this is the way to do such a thing:
private Dictionary<int, aClass> childs = new Dictionary<int,...
|
Click Here to Expand Forum to Full Width
|