Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Tags
Member Avatar for sudheer2250

Hi All, I am trying to convert the following C++ code to C#. pExportDir = (PIMAGE_EXPORT_DIRECTORY)GetPtrFromRVA(exportsStartRVA, pNTHeader, pImageBase); [CODE]template <class T> LPVOID GetPtrFromRVA( DWORD rva, T* pNTHeader, PBYTE imageBase ) // 'T' = PIMAGE_NT_HEADERS { PIMAGE_SECTION_HEADER pSectionHdr; INT delta; INT delta2; pSectionHdr = GetEnclosingSectionHeader( rva, pNTHeader ); if ( !pSectionHdr …

Member Avatar for sudheer2250
0
451
Member Avatar for sudheer2250

Hi All, My requirement is to form the PE structure from the physical dll (say for example user32.dll). I have to form a PE(Potalble Executable) object from a dll, which is available in some physical location. I am able to get the 'DOS' and 'NT' headers from the DLL using …

0
51
Member Avatar for sudheer2250

Hi all, I am trying to get the all the process modules from the Current process using "ProcessModuleCollection" Class. Please see the code i have used to do the above job. Before that I added a .net 2.0 my own dll to the project as reference. I am able to …

Member Avatar for sudheer2250
0
362
Member Avatar for sudheer2250

Hi, I have to compare specific methods inside a physical dll with the methods of same dll in the runtime. How can i achieve this. Thanks in Advance Sudheer

Member Avatar for Momerath
0
61
Member Avatar for sudheer2250

Hi Experts, I am getting an exception "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." This exception is occuring in VS2010 and method is [B]Marshal.Copy(address, code, 0, 32);[/B] Can you any one help in this regard. Thanks

Member Avatar for skatamatic
0
145
Member Avatar for sudheer2250

Hi Experts, I am working on mixed language web project. In App_Code folder, Created 2 folders with names "VBCode", "CSCode". I added one class in VBCode folder with name "Class1.vb" and implemented 2 methods. And, I added one Class in CSCode folder with the name "Class2.cs". My Requirements is, I …

0
61
Member Avatar for sudheer2250

[CODE]<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?mso-application progid="Word.Document"?> <w:wordDocument xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wsp="http://schemas.microsoft.com/office/word/2003/wordml/sp2" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve"><w:ignoreSubtree w:val="http://schemas.microsoft.com/office/word/2003/wordml/sp2"/><o:DocumentProperties><o:Title>OPERATIONAL CONTROL AND FLIGHT DISPATCH (DSP)</o:Title><o:Author>Bekhit Shoukry</o:Author><o:LastAuthor>Sudheer Kokirala</o:LastAuthor><o:Revision>2</o:Revision><o:TotalTime>0</o:TotalTime><o:Created>2011-10-29T04:58:00Z</o:Created><o:LastSaved>2011-10-29T04:58:00Z</o:LastSaved><o:Pages>4</o:Pages><o:Words>1101</o:Words><o:Characters>6279</o:Characters><o:Company>IATA</o:Company><o:Lines>52</o:Lines><o:Paragraphs>14</o:Paragraphs><o:CharactersWithSpaces>7366</o:CharactersWithSpaces><o:Version>14</o:Version></o:DocumentProperties><w:fonts><w:defaultFonts w:ascii="Calibri" w:fareast="Calibri" w:h-ansi="Calibri" w:cs="Times New Roman"/><w:font w:name="Times New Roman"><w:panose-1 w:val="02020603050405020304"/><w:charset w:val="00"/><w:family w:val="Roman"/><w:pitch w:val="variable"/><w:sig w:usb-0="E0002AFF" w:usb-1="C0007841" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="000001FF" w:csb-1="00000000"/></w:font><w:font …

0
95
Member Avatar for sudheer2250

Hi, I am using XSLT to generate XML nodes like this... <Note body="All – Applicable manuals include concise job descriptions and definitive lines of authority." type=" Note"> </Note> But i have to create the 'Self-Closing' like this.. <Note body="All – Applicable manuals include concise job descriptions and definitive lines of …

Member Avatar for tgreer
0
183
Member Avatar for sudheer2250

Hi, I am applying transform to a input xml file using the following code. [CODE]//Applying transform for the input word xml file. XslTransform myXslTransform; myXslTransform = new XslTransform(); myXslTransform.Load(openFileDialogz_Xslt.FileName); myXslTransform.Transform("C://Target.xml", targetpath);[/CODE] In the XSLT file, wrote for displaying attributes as [CODE]<xsl:attribute name="label"> <xsl:value-of select="$level"/> </xsl:attribute> <xsl:attribute name="externalid"> <xsl:value-of select="$externalid"/> </xsl:attribute> …

0
65
Member Avatar for sudheer2250

Hi, I am using the following codel. But it is always returning 'False'. Even though i gave correct values.. Plz help... [code] PrincipalContext adContext = new PrincipalContext(ContextType.Domain, "xxx.xxx.0.15", "Administrator", "Password"); using (adContext) { return adContext.ValidateCredentials(userName, passWord, ContextOptions.Signing); } [/code] I tried the this one also.. [code] DirectoryEntry de = new …

Member Avatar for sudheer2250
0
976
Member Avatar for sudheer2250

Hi, How can i convert this xml file into target xml using xslt. I tried everything, but i am not able to put the subquestions inside the corresponding questions. Please help even the logic. INPUT XML: [CODE]<?xml version="1.0" encoding="UTF-8"?> <tables> <table> <tr> <tc> <data> This is the title of the …

Member Avatar for xml_looser
0
341
Member Avatar for sudheer2250

Hi, I am trying to convert a word xml into another xml file format using XSLT. Here I need to check the all the following siblings with some condition. If that condition is satisfied, the control should exit from that loop. How can i achieve this, I am desperately need …

Member Avatar for sudheer2250
0
344