|
Hi all,
i m developing a ndis miniport driver.
in my miniport driver OS is able to enter into Driverentry function automatically after regtistration of the adapter in NSB_Init function.
in DriverEntry's initialize function, i activate a timer which reads from the hardware.
now this timer is able to read the data from hardware but i am nt able to bind it to the TCP/IP stuff.
i think there should be some binding issue.
i tried with "NdisBindProtocolsToAdapter", but it is not able to bind it
when i called "NdisGetAdapterNames" after that, i am able to get my adapter's name in that.
so if i say basic problem is that i am able to get the data in MAC layer but i am not able to bind it to tthe IP layer.
can you guys solve this?
if yes then kindly give me some clue about it.
thanks in advance.
Hardik
|
|
|
|
|
Errm. This is the wrong forum. It's about application design and architecture.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hello All
I need to send email using Binary SOAP. I used DIME but i realised that
it only send attachment by binary soap, though my requirement is that i
need to send attachment AND the enter email attributes(user's and receipient
email, message, subject line). can anyone tell me how can i have this done and
which technique to use for sending all these attributes using Binary SOAP.
Ankit Sharma
|
|
|
|
|
Intro:
I am trying to design a triggered execution system where the developer implements trigger-modules that is loaded runtime and fires an event that the system can subscribe to.
The user uses an interface to the system where he can create new instances of triggers and specify the needed input to the selected trigger.
Example:
The developer implements a File Change trigger, that fires an event whenenver a user specified file changes.
This would require some input Fileobject and the possibility to save the last run date for the trigger.
When the user chooses the File Change trigger in the interface he should be prompted to input a file, which is then stored in the instance of the File Change trigger.
2nd Example:
A Calendar trigger. The user should be prompted to select a date in a calendar+ a time and the trigger would then fire the event on the specific datetime.
Question:
The interface is a thin client and does not know anything about the modules in compile time except the interface. So the question is - how do I design the module interfaces so the interface knows what information to ask the user for (and how) and insert the user input into the instance of the loaded trigger?
I have played around with HTML contained in the module, presenting it in the interface and catching the user input.... But so far not in a satisfactory way
(I hope this summary made sense )
Thanks in advance...
|
|
|
|
|
This article might be of some help. Razor Framework.[^]
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I am trying to write a layered app in vb 2005 .NET
I think on a 2 physical levels/tiers: host with a DB, and client (desktop), both not interconnected (except for internet)
Host: will contain the DB (SQLServer) , the Data Access Layer DAL, and a Web Service layer, WS_CH
desktop, will contain the application (winforms), and Business Logic layer BLL. The BLL will call the (remote) WS_CH, this will call the DAL and this will attack the DB. OK.
I will use a Data Transfer Object DTO to pass data up and down all the stream, from the UI to the DB and back. This DTO can be an untyped dataset, in which case all the assemblies involved (in fact, all I mentioned) will contain a reference to System.Data.
But.... what if I want the DTO to be a custom class, living in a independent assembly, and possibly hosted in the client. How will the host receive and handle a reference to that (remote) object.
Have I to place the DTO in the host (because from the client I know the URL and then I can reference it)?. If not, i suspect I have to use remoting technology, or activator, or reflection, or the new WCF in 3.0,... but I cannot find my way to that.....
Any hint, please? thx
|
|
|
|
|
This thread might help to get you started:
Clickety[^]
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
thx, that thread deals on dataset versus other structures as Data Transfer Objects, and this is OK, but if the DAL in a remote host has to deal, say, with a typed dataset or a custom class or custom collection defined in the desktop (in an assembly who seats in a desktop, I mean), how can the DAL (in the host) get a reference to that????
|
|
|
|
|
Actually, the thread deals with defining the structure of the class in the datalayer (I know because I wrote that thread as well). Once the structure is defined in the DAL, then it can be made available across all the tiers. So, the DAL can populate the collection, and new entries can be added in the business layer and saved back via the DAL.
So, if you reverse your thinking, you start with the entity in the DAL and then this gets exposed to the business layer (and on into the presentation layer).
The beauty about this approach is that you remove the need to reference things such as System.Data in the front end, and as I stated in that thread you can expose this to other programming environments as well.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
thx, letting the DTO live in the host, together with the DAL "it gets exposed to the BL and presentation layer"... but, how, if DAL/DTO and BL/PL are in different computers, only visible through internet?
thx
|
|
|
|
|
If you are using a webservice, the definition of the class (well a proxy version), will be added to the business layer when you add in a web-reference. This means that you can pass this back and forwards without worrying about it.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hiya,
Not sure if you're still looking at this, but I came across a similiar problem where in the BLL and UI layers I had my own data objects that were hosted in the client or a webservice. Communication from the BLL to the DAL is remoting.
I didn't want the DAL to have any knowledge of these objects because these objects were "plugins" and the DAL could not possibly be able to reference the objects.
What I did was implement functionality to disassemble custom classes (in the BLL tier) into a generic object which was then passed into the DAL. All my custom classes inherit from a general object providing methods and properties to extract the data from the custom class, which helped disassemble the data.
Hope this helps
Cheers,
Ty
|
|
|
|
|
thanks, remoting is the answer I was looking for. Anyway, with framework 3.0 maybe the right way is to use WCF windows communication foundation that seems to combine webservices and remoting in a unified skeleton
thx
|
|
|
|
|
Hi All
Can someone share with me the architecture or Design for any large localization Web project which primarily publishes the content , I mean
something like MSDN help being localized to different languages.
Please suggest me how I can approach for localizing MSDN if I have all my resource files in XML format.
The guy in China should see in Chinese and in US in English , also
1)There are some security implications to be added like all content should not be seen in a particular page outside USA, only specific sections pertaining to that country should be seen in that localized language.
2)Can manifest of an assembly be useful in doing a dynamic way of localizing.
Any reference or suggestions with the pros and cons of the architecture is highly appreciated as this is a bit urgent need.
Rgds
Ind_Coder
|
|
|
|
|
Whenever I've done this in the past, I've tended to create a table (say Article), with a subtable (say Content). The table structure tends to look like this:
Article
Article Id
article attributes
Content
Content Id
Culture Info
Article Id
Content
Then, you can serve up the content to the user based on their localization settings. If there is no content in that particular locale, then I work back up the tree. For instance, if the users locale is FR-Fr (French France) but there is no content where the culture info is FR-Fr, then I go back to look for FR. If there is no content in that culture, then I fall back to the default content (in my case, usually English).
Now, in your case, you might want to have another table called something like AllowedLocale which would contain the Culture Info that you wanted to allow. Be aware though, that the Culture Info is not foolproof. It is entirely dependent on what the user has selected at their end, so a user will still get access to your content if they have the same Culture Info set up at their end as you have allowed at your end.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
i need help in open gl of c++..mostly into computer graphics(CG)..can i post my doublt here..
|
|
|
|
|
makaveli_07 wrote: can i post my doublt here..
If it is a design issue, yes. Whether to program it with one method or another, which is fastest, how to know what is fastest, etc.
If it is an issue specifically related to OpenGL, we don't really have a forum for it. Visual C++ might get you the answers you are looking for, or posting at another forum specific to OpenGL[^].
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Those interested, Microsoft Architecture Journal issue 10 is now available covering such subjects as Composite Applications.
www.architecturejournal.net[^]
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Richard A. Abbott wrote: Microsoft Architecture Journal issue 10 is now available
So why did you link to issue 9?
|
|
|
|
|
The link I gave was to the front page of this particular web site. Perhaps Microsoft have failed to update their front page to reflect the existence of this brand new issue which I received through the post today.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Richard A. Abbott wrote: Those interested, Microsoft Architecture Journal issue 10 is now available covering such subjects as Composite Applications.
It's a good issue. I just wish they wouldn't use so many big words. Makes my head hurt to read some of it.
|
|
|
|
|
Michael P Butler wrote: big words
Couldn't possibly be fun without them.
Regarding the article about data quality problems, do you accept the comment that it should be renamed as "Data Quality Deficiency Syndrome"? To me, it is starting to sound almost like some kind of medical diagnosis.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
According to an email, the 10 issue on line is just a preview offered to current subscribers, so maybe they have not updated to 10 on the site as they have not officially released it?
Our developers never release code. Rather, it tends to escape, pillaging the countryside all around.
The Enlightenment Project (paraphrased comment)
|
|
|
|
|
As stated above, Microsoft haven't updated their architecturejournal.net web site. The publication most definitely exists. How could I have made a reference (above message) regarding the content of the article on data quality without the actual publication being in front of me?
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Ok,
I havnt gotten mine yet, just recieved an email last week stating that you could get a peek at the online content before the mag got shipped.
AAron
Our developers never release code. Rather, it tends to escape, pillaging the countryside all around.
The Enlightenment Project (paraphrased comment)
|
|
|
|