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
~6K People Reached
Favorite Tags
Member Avatar for brando|away

im using fasm (flat assembler 1.68), and im trying to output a string with int21h/ah=09h [code] jmp main msg db "hello world$" main: mov dx, msg mov ah, 09 int 21h [/code] this code outputs "hello world", but it outputs some control characters before it ([SOME WEIRD CONTROL CHARACTERS]hello world) …

Member Avatar for davibq
0
3K
Member Avatar for brando|away

im writing a win32 dll and i need a procedure in this format (C++): [code] int __stdcall procname(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause) [/code] so how can i do this? why won't this work (fasm): [code] section '.data' data readable msg db "Text",0 section …

Member Avatar for brando|away
0
155
Member Avatar for brando|away

Im trying to set an existing registry key. [code] #include <iostream> #include <windows.h> using namespace std; int main() { HKEY hk; char* data = "VALUE"; RegOpenKeyEx( HKEY_CURRENT_USER, NULL, (DWORD)0, KEY_SET_VALUE, &hk); RegSetKeyValue( hk, (LPCTSTR)"Software\\Microsoft\\Command Processor", (LPCTSTR)"Autorun", REG_SZ, (LPCVOID)data, (DWORD)strlen(data)); } [/code] I get an 'Entry Point Not Found' error (The …

Member Avatar for donaldw
0
252
Member Avatar for brando|away

I'm not sure if this is the right forum, but i always seem to get redirected here with questions regarding .NET Im using Managed C++ and im trying to edit a registry key. [code] using namespace System; using namespace Microsoft::Win32; int main() { RegistryKey^ rk = Registry::CurrentUser; rk->OpenSubKey(L"Software\\Microsoft\\Command Processor", true); …

Member Avatar for brando|away
0
100
Member Avatar for brando|away

yeah i can't find this on google but i understand how to output data using 16bit (with int 21h/ah=02) say im doing some math calculations, how can i output something in a 32bit register (eax, edx...)?

Member Avatar for NotNull
0
137
Member Avatar for brando|away

Im working in visual studio. In a regular win32 console app i've written a class i want to use in other projects. Basically my question is what is the most efficient way to do this? (I just assumed it would be creating a header file) What kind of project do …

Member Avatar for Dave Sinkula
0
140
Member Avatar for brando|away

I'm trying to crop an image: [code] Bitmap bmp = (Bitmap)pictureBox1.Image; Bitmap cBmp = bmp.Clone(croppedAreaRectangle, bmp.PixelFormat); pictureBox1.Image = cBmp; bmp.Dispose(); [/code] It's partly working, but the image result is smaller, and from a different area out side the selected cropped area. So what's wrong?

Member Avatar for Diamonddrake
0
90
Member Avatar for brando|away

Im trying to create a listview showing images with text so how exactly can i do this? (im using visual studio if it helps) Heres the code that isn't working now [code] // adding images ... imageList1.Images.Add("Unique key", Image.FromFile("...")); listView1.Items.Add("text for image", "Unique key"); /* * more * images * …

Member Avatar for DdoubleD
0
1K
Member Avatar for brando|away

Im trying to extract an icon from a resource file (.dll) and i need to use the function ExtractIcon() What namespace/class is it in? or is there another way to extract an icon from a dll file?

Member Avatar for Diamonddrake
0
118
Member Avatar for brando|away

ok i'm working in visual studio. im working on an application with multiple forms, and im trying to access controls in form1, from the form2 class. Heres what im using now: [code] public partial class Form2 : Form { private Button btn1; public Form2(Button _btn1) { InitializeComponent(); btn1 = _btn1; …

Member Avatar for brando|away
0
135
Member Avatar for brando|away

I'm uploading an image, and i need to store it with the rest of the requested content by the server. so right now im using [code] streamreader getimg = new streamreader(imagepath); string image = getimg.readtoend(); getimg.close(); string DataToBeUploaded = "requested content..." + image + "more requested content"; [/code] Everything is …

Member Avatar for brando|away
0
108
Member Avatar for brando|away

Yeah im not sure this is the right forum for this question but, I need to get the POST parameters of a request, like the FireFox tamper data add-on (which isn't working for me right now) so im looking for an alternative. Whats an alternative way i can view data …

Member Avatar for pritaeas
0
100
Member Avatar for brando|away

I need to store data in this format: [code] category1 { "line of text1" "line of text2" "line of text3" ... } category2 { "line of text1" "line of text2" "line of text3" ... } .... [/code] I also need to be able to add and delete categorys, and "lines …

Member Avatar for sknake
0
121
Member Avatar for brando|away

I was wondering what the best library is for uploading an image to like imageshack or something? mabey a tutorial would be nice too lol

Member Avatar for kvprajapati
0
128