|
The base application has a string hashtable add function that accepts three pointers as parameters, which is usually called as part of a special interpretted script system, the parameters are: Hashtable pointer (the scripts are non-OO), Name character array pointer, Value character array pointer.
I'd like to "override" this function and use it to issue special commands to an external data access layer which the script language has no support for, while allowing it to have normal functionality. ie.
addItem( table , "SQL:InsertProduct" , "'Compaq Monitor 18\"', $30, 2" );
I have isolated the jump call instruction that needs overriding, presumably it's simply a matter now of somehow changing that with my own instruction.
I need to know:
1) How to "inject" a native DLL into the base process (I'll research this P/Invoke)
2) How to replace function call for another (Perhaps out of the scope of this message board, I just know it has to involve yucky naked ASM.. :/ )
3) How to pass applicable (ie. "SQL:*") calls into my .NET application, perhaps passing a .NET delegate in via a C# extern DLL call.
In time I could probably discover the neccassary articles myself, the least I need is a feasibility check, and a warning of potential pitfalls.
Thanks for any help. I fear I have a lot of reading to do..
|
|
|
|
|
hi.
i have a program with access mdb database and i want to connect my database from pocket pc but when i change a record from each side it will show on each computer(pocket pc and desktop comp) . it could be very nice if someone have an example about it..
or i can chance my desktop database to sql server and pocket pc database to sql server ce but i still need to see changed records online..
thank you
|
|
|
|
|
I moved a c# project from one computer to the other, and when trying to debug gives me the error
"error while trying to run project. The project is not configured to be debugged".
meanwhile in my web.config i have
debug="true"
|
|
|
|
|
Right click startup project
Click Properties
Click Configuration Properties (folder on left)
Check out the debugging settings
|
|
|
|
|
i found the mistake. I didnt create an application name in IIS
|
|
|
|
|
I have been using Visual Studio 6.0 to develop Windows MFC (Via C++) programs, sometimes using ActiveX controls and 3rd party API's.
I have now started to use Visual Studio 7.1 which is .Net?
This is a general question:
Am I programming in .Net or just COM with ActiveX.
I dont see much difference between the two. Is this because I am not using much of the .Net framework?
Comments most welcome.
grahamfff
|
|
|
|
|
You have to add the correct headers, add namespaces, change some syntax and turn on some compiler switches in order to use C++ .NET. Otherwise your still compiling a fully native application.
|
|
|
|
|
I have a user control. I'm opening a Form within this control. I have a Form1 and I use this code to open it:
private void btnShowForm1_Click(object sender, System.EventArgs e)
{
Form1 f = new Form1();
f.Showdialog(this);
}
The problem is, I need to access this parent control properties such Top and Left values in the opened form window but I couldn't do it. I tried to use this.Parent, this.ParentForm, this.Owner and this.GetContainerControl().ActiveControl in the form but athey all gave me "Object reference not set to an instance of an object." error.
What should I do?
|
|
|
|
|
I've downloaded instrumentation widgets 3.0, and added its 'dll' file in references and components for my vb.net project.But the components appear in deactivated form in the tools-components-tab.how do i activate them so tht i can include thm in my form?
aditi_munje
|
|
|
|
|
What u one mean by application domain ?
Patel Neelesh A
|
|
|
|
|
Domain of application
.... From russia with love ....
|
|
|
|
|
Do you think this is funny?
You are having several questions in the forums here but are only making senseless answers to other posters.
|
|
|
|
|
ARE U REALLY FROM RUSSIA...IS THAT THE REASON U ARE BEHAVING LIKE THIS?...OR U JUST CAME BACK FROM A MENTAL ASYLUM...I PITY U DUDE...GET A LIFE
|
|
|
|
|
Hi,
Application domain allows the CLR to provide isolation between applications. The following link will give you more info on Applicationdomains.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconapplicationdomainsoverview.asp
Thanks
SGS
|
|
|
|
|
|
Please provide me advantages/disadvantages regarding the Data Access Application Block in Enterprise Library.
From Russia With Love.
|
|
|
|
|
ADVANTAGE:
FREAKS LIKE YOU DONT KNOW WHAT IT IS
DISADVANTAGE:
I WONDER HOW MANY SOFTWARE APPLICATIONS U WILL BREAK IF U TRY AND USE THIS THING
BOTTOM LINE: ITS NOT MEANT FOR YOU..U ARE BETTER OFF MAKING SENSELESS COMMENTS
-------- FRM RUSSIA WITH LOVE-------
|
|
|
|
|
|
hey can any one tell how is dll hell problem soleve in .net .kindly give the answer in a bit of detail or else pls give some link that explains my
question
Patel Neelesh A
|
|
|
|
|
|
hi,
Can any one tell what a managed code and a unmaged code means in detail.
Satish
|
|
|
|
|
MAnaged code requires the .NET framework to run - it's not code that your PC can understamd, but code that the .NET framework can cOMPILE into something your computer can run. C# and VB.NET are managed, full stop. unmanaged is a way of making it sound bad that native C++ code ( for example ) does not have this intermediate layer. It's NOT unmanaged, it's self managed ( the idea being that .NET provides garbage collection, and therefore manages your memory ( badly )). C++ code can be written to be managed, or 'unmanaged' in all versions of VS.NET.
MC++ is a dumb idea.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
hi christian graus,
Thank you for this explanation.So does it mean that the IL code that is generated for the application is the managed code.
Satish
|
|
|
|
|
Correct.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
I am considering a situation where I have (n) number of form windows, each with an instance of the Microsoft Web Browser Control (IE) on each form. In each web browser control is an HTML page that has a Java applet. This is the only way I am aware of to get a Java applet to paint within a .NET Forms window.
Given that scenario I am trying to determine whethere there would be one Java VM loaded for all of the (n) applets inside the (n) MS Web Controls? Or would there be one Java VM loaded for each applet? Also, if using IE6, what JVM is being used? Microsoft's or Sun's?
Also, are there any thoughts on what overhead there would be in having multiple instances of the MS Web Control? I am expecting upwards of 10-15 as a worst case.
|
|
|
|