Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help with olly Pdk

Featured Replies

Posted

Hi

I need help for my OllyPlugin i read in the Pdk from olly this

*****

Returns pointer to element with specified index in sorted data sorted by actual criterium, or NULL on error. If necessary, function actualizes associated index table, so preliminary call to Sortsorteddata is not necessary. Function is very useful for extraction of selected element in table windows.

void* Getsortedbyselection(t_sorted *sd,int selection);

Parameters:

sd - pointer to descriptor of sorted data;

selection - zero-based index in data sorted by selected sort criterium.

*****

I know it gives the bookmark example in masm32, i under stand this source not

I need a function for get the listview items of a olly window and add listview items.

Can any post a better example please?

Regards,

ragdog

Edited by ragdog

Olly's data functions are pretty confusing...

I once tried getting all the loaded modules but I got lost with all the different structs and data lists.

Found a different solution, so - no, I can't really help you there :(

Not sure if I understand the question correctly. Do you want to add an item to an existing Olly window or do you want to create a completely new window?

Have a look at Stollystruct, it contains code how to create a new window in masm.
/>http://www.tuts4you.com/download.php?view.1275

  • Author

Hi

I need a function to get text or add text from an existing Olly listview window

example patches window from olly

Thanks for you reply

greets

Hi,

This snippet should give you the currently selected line (patch) from the patches window.

Every Olly window is based on a t_table structure that describes the window (scrollbars, columns,...)

A member of that structure is a t_sorted stucture. It it this structure that you need to provide to the api's (Getsortedbyselection, Addsorteddata, Deletesorteddata,... ) to manipulate the items in the window.

	t_table* table = NULL;
table = (t_table*)Plugingetvalue(VAL_PATCHES);
if(table != NULL)
{
int selected = table->data.selected;
t_patch* patch = Getsortedbyselection(&table->data, selected);
if(patch != NULL)
{
// Your code here
}
}

Although I would not try to directly manipulate Olly's internal data structures if I was you...

  • Author

Thanks

I understand no c++ ;)

I have found and read a other source from LCB-Plugin (c++)

This source use only the Plugingetvalue(VAL_BREAKPOINTS) and Findname Api from olly

for get item from a olly listview

Can any this part convert in masm Please?

Regards,

ragdog

Edited by ragdog

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.